What’s Vulnerable › Vulnerabilities
CVE-2025-24294
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-12 · updated 2026-06-17
- Weakness: CWE-400
Description
The attack vector is a potential Denial of Service (DoS). The vulnerability is caused by an insufficient check on the length of a decompressed domain name within a DNS packet. An attacker can craft a malicious DNS packet containing a highly compressed domain name. When the resolv library parses such a packet, the name decompression process consumes a large amount of CPU resources, as the library does not limit the resulting length of the name. This resource consumption can cause the application thread to become unresponsive, resulting in a Denial of Service condition.
Affected products
- Ruby resolv: from 0.2 through 0.2.2; from 0.3.0 through 0.3.0; from 0.6 through 0.6.1
References
- https://www.ruby-lang.org/en/news/2025/07/08/dos-resolv-cve-2025-24294/
- https://www.ruby-lang.org/en/news/2025/07/08/dos-resolv-cve-2025-24294/
Get alerted when CVE-2025-24294 or the next vulnerability affects your stack