CVE-2025-24294: Ruby Resolv

High severity, CVSS 7.5. EPSS: 0.6% chance of exploitation in the next 30 days.

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.

Affected products

  • Ruby Resolv: from 0.2, up to and including 0.2.2; from 0.3.0, up to and including 0.3.0; from 0.6, up to and including 0.6.1

Published 2025-07-12. Last modified 2026-06-17.