CVE-2025-24294
HIGH 7.5CVSS 3.1resolv vulnerable to DoS via insufficient DNS domain name length validation
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.
- Published
- 12 Jul 2025
- Last modified
- 10 Sep 2026
- Assigned by
- support@hackerone.com
- NVD status
- Deferred
- Weakness
- CWE-1284CWE-400
- Also known as
- GHSA-xh69-987w-hrp8
- Sources
- NVDJSONOSV GHSA-xh69-987w-hrp8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | RubyGems | resolv | < 0.2.3 | 0.2.3 |
| OSV | RubyGems | resolv | >= 0.4.0, < 0.6.2 | 0.6.2 |
| OSV | RubyGems | resolv | >= 0.3.0, < 0.3.1 | 0.3.1 |
References
- https://www.ruby-lang.org/en/news/2025/07/08/dos-resolv-cve-2025-24294/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-24294 · ADVISORY
- https://github.com/ruby/resolv/commit/4c2f71b5e80826506f78417d85b38481c058fb25 · WEB
- https://github.com/ruby/resolv · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/resolv/CVE-2025-24294.yml · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 12 Jul 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Jul 2025)