VDB

CVE-2025-24294

CVE-2025-24294 PUBLISHED CVSS 8.699999809265137 HIGH

resolv vulnerable to DoS via insufficient DNS domain name length validation

Reported by hackerone · Published July 12, 2025

resolv is fixed in 0.6.2, 0.3.1 and 0.2.3 (RubyGems)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
resolvRubyGems0.6.2, 0.3.1, 0.2.3
rubygems-develAmazon Linux2.0.14.1-36.amzn2.0.16
ruby3.2-rubygem-io-consoleAmazon Linux0.6.0-184.amzn2023.0.3
rubygem-rdocAmazon Linux4.0.0-36.amzn2.0.16
ruby3.2-rubygem-irbAmazon Linux1.6.2-184.amzn2023.0.3
ruby-libsAmazon Linux2.0.0.648-36.amzn2.0.16
ruby-3.4Chainguard3.4.5-r0
ruby3.2-rubygems-develAmazon Linux3.4.19-184.amzn2023.0.3
ruby3.2-rubygem-power_assertAmazon Linux2.0.3-184.amzn2023.0.3
rubygem-bigdecimalAmazon Linux1.2.0-36.amzn2.0.16
rubygemsAmazon Linux2.0.14.1-36.amzn2.0.16
jruby-9.4Chainguard9.4.13.0-r1

35 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
8.699999809265137
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

Affected products

VendorProductVersions
Rubyresolv0.2, 0.3.0, 0.6
amazon:2rubygems-devel0
amazon:2023ruby3.2-rubygem-io-console0
amazon:2rubygem-rdoc0
amazon:2023ruby3.2-rubygem-irb0
amazon:2ruby-libs0
chainguardruby-3.40
amazon:2023ruby3.2-rubygems-devel0
amazon:2023ruby3.2-rubygem-power_assert0
amazon:2rubygem-bigdecimal0
amazon:2rubygems0
chainguardjruby-9.40
amazon:2023ruby3.2-doc0
amazon:2023ruby3.2-libs0
amazon:2023ruby3.2-rubygem-rdoc0
chainguardruby-3.20
wolfijruby-9.40
amazon:2rubygem-minitest0
wolfiruby-3.20
amazon:2023ruby3.2-rubygem-minitest0

…and 28 more

Timeline

  • Jul 7, 2025 CVE Published
  • Jul 12, 2025 EPSS Score (30 in total, the first dated here)
  • Jul 12, 2025 Coalition ESS Score (13 in total, the first dated here)
  • Jul 16, 2025 CVE Updated
  • Mar 17, 2026 Security Advisory (7 in total, the first dated here)
  • Oct 1, 2026 Distribution Patch (5 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-24294
vulnetix vdb fixes CVE-2025-24294

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-24294/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›