CVE-2025-24294: ruby resolv Uncontrolled Resource Consumption
Vulnerability summary
CVE-2025-24294 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in ruby resolv. EPSS estimates a 0.66% chance of exploitation in the next 30 days, higher than 50.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 8 · Related 5Timeline
- 12-07-2025PublishedVulnerability first disclosed.
- 16-07-2025Last modifiedVulnerability information updated.
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 metrics
10 scores · 7 sources · 2 versions- OSV · ChainguardEcosystem advisory · calculated8.7HighCVSS: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
- OSV · RubygemsEcosystem advisory · calculated8.7HighCVSS: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
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · RubygemsEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.66%
Chance of exploitation in the next 30 days
Percentile
50%
Versus all other CVEs
30-day change
+0.09 pp
From 0.56% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard14 products
- graalvm-24-trufflerubyAll versions (No fix recorded)
- jruby-9.4< 9.4.13.0-r1
- jruby-9.4-default-ruby< 9.4.13.0-r1
- ruby-3.1All versions (No fix recorded)
- ruby-3.1-devAll versions (No fix recorded)
Wolfi12 products
- jruby-9.4< 9.4.13.0-r1
- jruby-9.4-default-ruby< 9.4.13.0-r1
- ruby-3.1All versions (No fix recorded)
- ruby-3.1-devAll versions (No fix recorded)
- ruby-3.2< 3.2.8-r3
Ubuntu8 products
- jrubyAll versions (No fix recorded)
- ruby2.3All versions (No fix recorded)
- ruby2.5< 2.5.1-1ubuntu1.16+esm5
- ruby2.7< 2.7.0-5ubuntu1.18+esm1
- ruby3.0< 3.0.2-7ubuntu2.11
Debian2 products
- ruby3.1All versions (No fix recorded)
- ruby3.3All versions (No fix recorded)
Opensuse1 product
- ruby2.5&distro=openSUSE Leap 15.6< 2.5.9-150000.4.54.1
Ruby1 product
- resolv≥ 0.2, ≤ 0.2.2 | 0.3.0 | ≥ 0.6, ≤ 0.6.1
RubyGems1 product
- resolv< 0.2.3 | ≥ 0.4.0, < 0.6.2 | ≥ 0.3.0, < 0.3.1
Suse1 product
- ruby2.5&distro=SUSE Linux Enterprise Module for Basesystem 15 SP6< 2.5.9-150000.4.54.1
8 vendors · 40 products