High severity · published Jul 12, 2025
CVE-2025-24294
The attack vector is a potential Denial of Service (DoS)
7.5
CVSS
0.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 51% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RE
resolv · Ruby
0.2 through 0.2.2; 0.3.0 through 0.3.0; 0.6 through 0.6.1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-24294
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-24294
www.ruby-lang.org
https://www.ruby-lang.org/en/news/2025/07/08/dos-resolv-cve-2025-24294/
More from resolv
7.5
CVE-2026-80212
An issue was discovered in the resolv gem before 0.7.2 for Ruby
4.0
CVE-2026-80213
An issue was discovered in the resolv gem before 0.7.2 for Ruby
