Ubuntu CVE Tracker
UBUNTU-CVE-2025-24294
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | ruby2.3 | All versions, no fix listed |
| Ubuntu:16.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | ruby2.5 | All versions before 2.5.1-1ubuntu1.16+esm5 (fixed in 2.5.1-1ubuntu1.16+esm5) |
| Ubuntu:18.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | ruby2.7 | All versions before 2.7.0-5ubuntu1.18+esm1 (fixed in 2.7.0-5ubuntu1.18+esm1) |
| Ubuntu:20.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:22.04:LTS | ruby3.0 | All versions before 3.0.2-7ubuntu2.11 (fixed in 3.0.2-7ubuntu2.11) |
| Ubuntu:24.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:24.04:LTS | ruby3.2 | All versions before 3.2.3-1ubuntu0.24.04.6 (fixed in 3.2.3-1ubuntu0.24.04.6) |
| Ubuntu:25.10 | jruby | All versions, no fix listed |
| Ubuntu:25.10 | ruby3.3 | All versions before 3.3.8-2ubuntu2 (fixed in 3.3.8-2ubuntu2) |
| Ubuntu:25.10 | rubygems | All versions before 3.6.7-2ubuntu1 (fixed in 3.6.7-2ubuntu1) |
| Ubuntu:26.10 | jruby | All versions, no fix listed |
| Ubuntu:26.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:26.04:LTS | ruby3.3 | All versions before 3.3.8-2ubuntu2 (fixed in 3.3.8-2ubuntu2) |
| Ubuntu:26.04:LTS | rubygems | All versions before 3.6.7-2ubuntu1 (fixed in 3.6.7-2ubuntu1) |