PoC Monitor
← All CVEs
CVE-2025-24294published 12 Jul 2025 03:30 UTCData: JSON · API

Ruby resolv

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CISA ADP · CWE-400
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

Ruby resolv
  • >= 0.2, <= 0.2.2
  • >= 0.3.0, <= 0.3.0
  • >= 0.6, <= 0.6.1
resolv (RubyGems)
  • < 0.2.3

Fixed in 0.2.3

from GitHub Security Advisory GHSA-xh69-987w-hrp8

resolv (RubyGems)
  • >= 0.4.0, < 0.6.2

Fixed in 0.6.2

from GitHub Security Advisory GHSA-xh69-987w-hrp8

resolv (RubyGems)
  • >= 0.3.0, < 0.3.1

Fixed in 0.3.1

from GitHub Security Advisory GHSA-xh69-987w-hrp8

Mitigation

Upgrade resolv to 0.2.3 or later.

Upgrade resolv to 0.6.2 or later.

Upgrade resolv to 0.3.1 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published12 Jul 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.