🛡️ CVE-2025-24294 on Debian — ruby2.7
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.
Distribution advisory
This page covers CVE-2025-24294 as tracked by Debian, for the package ruby2.7. The fix is available in version 2.7.4-1+deb11u6; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.
Weakness class
DEBIAN-CVE-2025-24294 is classified as CWE-1284: Improper Validation of Specified Quantity in Input. The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.
Affected software
DEBIAN-CVE-2025-24294 is recorded against 3 packages.
- ruby2.7 (fixed in 2.7.4-1+deb11u6)
- ruby3.1
- ruby3.3
Timeline and source
Published on 12 July 2025 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2025-24294 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| ruby2.7 | — | 2.7.4-1+deb11u6 |
| ruby3.1 | — | — |
| ruby3.3 | — | — |
References
Similar Threats
- Unknown DEBIAN-CVE-2025-24294
- Unknown DEBIAN-CVE-2025-27219
- Unknown DEBIAN-CVE-2025-0306
- Unknown DEBIAN-CVE-2024-49761
- Unknown DEBIAN-CVE-2024-43398
Site Security Check
Is ruby2.7 part of your stack?
DEBIAN-CVE-2025-24294 is rated CVSS 7.5 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.