Vulnerability details

CVE-2025-24294

ruby resolv
CVSS 3.1
7.5High

Official 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 scores

ScoreVersionSourceVector
7.5High 3.1 CISA ADP / Vulnrichment (CISA-ADP) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersionsSource
ruby resolv 0.2 ≤ v ≤ 0.2.2 CVEProject cvelistV5 (CNA)
ruby resolv 0.3.0 ≤ v ≤ 0.3.0 CVEProject cvelistV5 (CNA)
ruby resolv 0.6 ≤ v ≤ 0.6.1 CVEProject cvelistV5 (CNA)

References and advisories

1
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2025-07-12
Last updated
2025-07-16
State
Published
Assigner (CNA)
hackerone

Exploit prediction (EPSS)

0.65%
Probability of exploitation in 30 days
51.6%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
Yes
Exploitation
None
Technical impact
Partial

Weaknesses (CWE)

  • CWE-400
    Uncontrolled Resource Consumption