CVE Database›CVE-2025-24294

CVE-2025-24294

resolv: Denial of Service in resolv gem

Loading…

Severity

Moderate

Red Hat Product Security

5.3

CVSS 3.1

Review impact separately from score.

Published · July 12, 2025

Updated · October 14, 2026

Description

A denial of service flaw was found in resolv ruby gem. This flaw allows an attacker to craft a malicious DNS packet containing a highly compressed domain name. When the resolv library parses this packet, the name decompression process consumes a large amount of CPU resources, as the library does not limit the resulting length of the name.

Statement

Moderate impact affects Red Hat Insights compliance-backend and Red Hat Enterprise Linux Ruby packages in the affected RHEL streams. A remote attacker without privileges can send a crafted DNS packet containing a highly compressed domain name to a process using the resolv gem; excessive decompression CPU consumption can make the application thread unresponsive, resulting in denial of service. Red Hat's CVSS is 5.3 (Moderate), lower than CISA's 7.5 (Important) because Red Hat assesses the availability impact as Low rather than High. Remediation for the affected entries is deferred in the current record, which does not document a more specific reason; the residual risk is continued CPU exhaustion and denial of service when attacker-supplied DNS packets are parsed. Ruby 4.0 entries in RHEL 9 and RHEL 10 are not affected because the vulnerable code is not present, while the RHEL 6 and RHEL 7 entries are marked out of support.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

CVSS 3.1 · 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CWE-400 · Uncontrolled Resource Consumption