CVE-2025-24294
The attack vector is a potential Denial of Service (DoS). The …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.ruby-lang.org/en/news/2025/07/08/dos-resolv-cve-2025-24294/
- nvd.nist.gov/vuln/detail/CVE-2025-24294
- github.com/ruby/resolv/commit/4c2f71b5e80826506f78417d85b38481c058fb25
- github.com/rubysec/ruby-advisory-db/blob/master/gems/resolv/CVE-2025-24294.yml
- www.ruby-lang.org/en/news/2025/07/08/dos-resolv-cve-2025-24294
- github.com/advisories/GHSA-xh69-987w-hrp8
- nvd.nist.gov/vuln/detail/CVE-2025-24294
- cve.org/CVERecord?id=CVE-2025-24294
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.