CVE-2025-24294: Ruby resolv · Vulnerability
Affects Ruby resolvSource CVE Database V5
Not known to be exploited · CVSS 7.5 High.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
RubyGemsresolvpkg:gem/resolvOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2025-24294, European organizations should take immediate and specific actions beyond generic advice: 1) Audit all Ruby applications and services to identify usage of the 'resolv' library versions 0.2, 0.3.0, or 0.6. 2) Where possible, upgrade to a patched or newer version of the 'resolv' library once available from the Ruby maintainers. 3) Implement network-level protections such as DNS packet inspection and rate limiting to detect and block suspicious DNS packets with abnormal compression or size characteristics. 4) Employ application-level timeouts and resource usage limits to prevent a single thread or process from becoming unresponsive due to excessive CPU consumption. 5) Monitor application logs and performance metrics for signs of resource exhaustion or unusual DNS processing delays. 6) Engage with Ruby community and security advisories to stay informed about patches or mitigations. 7) Consider isolating or sandboxing DNS resolution components to minimize impact on critical application components. These steps will help reduce the risk and impact of exploitation until official patches are released.
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.