CVE-2025-24294

High

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.

SeverityHigh
CVSS7.5
Exploit probability52. percentile0.7%
ProductRuby Resolv
PublishedJul 12, 2025
First seenJul 12, 2025

How to fix

Affected products

ProductAffected versionsFixed in
Ruby resolv0.2 ≤ v ≤ 0.2.2, 0.3.0, 0.6 ≤ v ≤ 0.6.1—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.