Home / Ruby / resolv / CVE-2025-24294
CVE-2025-24294: is it exploited, and which versions of Ruby resolv are affected and fixed?
CVE-2025-24294 is a denial of service (uncontrolled resource consumption) vulnerability in Ruby resolv. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: resolv before 0.2.3, resolv from 0.4.0 before 0.6.2 and resolv from 0.3.0 before 0.3.1 (GitHub advisory GHSA-xh69-987w-hrp8). Fixed in 0.2.3, 0.6.2 and 0.3.1 (GitHub advisory GHSA-xh69-987w-hrp8). Severity: High (7.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:19 UTC.
What is CVE-2025-24294?
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.
From the CVE record by hackerone, last updated July 16, 2025, 13:37 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Ruby | resolv | from 0.2 through 0.2.2 from 0.3.0 through 0.3.0 from 0.6 through 0.6.1 |
As the CVE record by hackerone states it, last updated July 16, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | resolv | < 0.2.3 | 0.2.3 | GHSA-xh69-987w-hrp8 |
| RubyGems | resolv | >= 0.4.0, < 0.6.2 | 0.6.2 | GHSA-xh69-987w-hrp8 |
| RubyGems | resolv | >= 0.3.0, < 0.3.1 | 0.3.1 | GHSA-xh69-987w-hrp8 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 15, 2025. Summary: resolv vulnerable to DoS via insufficient DNS domain name length validation.
How severe is CVE-2025-24294?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-24294 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, July 15, 2025)
- EPSS
- 0.66% probability of exploitation activity in the next 30 days, percentile 52.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-400 Uncontrolled Resource Consumption
- CWE-1284 Improper Validation of Specified Quantity in Input
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- January 17, 2025
- Published
- July 12, 2025, 03:30 UTC
- CVE record updated
- July 16, 2025, 13:37 UTC by hackerone
- NVD
- Deferred, last modified June 17, 2026, 08:58 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect resolv?
- Aug 27, 2026CVE-2026-80213 Ruby resolv: numeric Truncation Error
- Aug 27, 2026CVE-2026-80212 Ruby resolv: denial of service (resources allocated without limits)
Questions about CVE-2025-24294
Is CVE-2025-24294 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.66% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Ruby resolv are affected by CVE-2025-24294?
resolv before 0.2.3, resolv from 0.4.0 before 0.6.2 and resolv from 0.3.0 before 0.3.1, per the GitHub advisory GHSA-xh69-987w-hrp8. The tables above give every range the sources list.
Which version fixes CVE-2025-24294?
0.2.3, 0.6.2 and 0.3.1, per the GitHub advisory GHSA-xh69-987w-hrp8. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-24294?
High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2025-24294?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.