CVE-2024-8508Unbounded name compression could lead to Denial of Service
NLnet Labs Unbound up to and including version 1.21.0 contains a vulnerability when handling replies with very large RRsets that it needs to perform name compression for. Malicious upstreams responses with very large RRsets can cause Unbound to spend a considerable time applying name compression to downstream replies. This can lead to degraded performance and eventually denial of service in well orchestrated attacks. The vulnerability can be exploited by a malicious actor querying Unbound for the specially crafted contents of a malicious zone with very large RRsets. Before Unbound replies to the query it will try to apply name compression which was an unbounded operation that could lock the CPU until the whole packet was complete. Unbound version 1.21.1 introduces a hard limit on the number of name compression calculations it is willing to do per packet. Packets that need more compression will result in semi-compressed packets or truncated packets, even on TCP for huge messages, to avoid locking the CPU for long. This change should not affect normal DNS traffic.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu, crates.io: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | unbound | Fixed | 1.19.2-1ubuntu3.3 | UBUNTU-CVE-2024-8508 |
| Ubuntu 22.04 | unbound | Fixed | 1.13.1-1ubuntu5.8 | UBUNTU-CVE-2024-8508 |
| Ubuntu 20.04 | unbound | Fixed | 1.9.4-2ubuntu1.9 | UBUNTU-CVE-2024-8508 |
| Ubuntu 18.04 | unbound | Fix pending | 1.6.7-1ubuntu2.6+esm3 (Ubuntu Pro) | UBUNTU-CVE-2024-8508 |
| Ubuntu 16.04 | unbound | Fix pending | 1.5.8-1ubuntu1.1+esm2 (Ubuntu Pro) | UBUNTU-CVE-2024-8508 |
| Ubuntu 14.04 | unbound | Fix pending | 1.4.22-1ubuntu4.14.04.3+esm2 (Ubuntu Pro) | UBUNTU-CVE-2024-8508 |
| Debian 14 | unbound | Fixed | 1.21.1-1 | DEBIAN-CVE-2024-8508 |
| Debian 13 | unbound | Fixed | 1.21.1-1 | DEBIAN-CVE-2024-8508 |
| Debian 12 | unbound | Fixed | 1.17.1-2+deb12u3 | DEBIAN-CVE-2024-8508 |
| Red Hat Enterprise Linux 10 | python3-unbound | Fixed | 0:1.20.0-10.el10_0 | RHSA-2025:8047 |
| Red Hat Enterprise Linux 10 | unbound | Fixed | 0:1.20.0-10.el10_0 | RHSA-2025:8047 |
| Red Hat Enterprise Linux 10 | unbound-anchor | Fixed | 0:1.20.0-10.el10_0 | RHSA-2025:8047 |
| Red Hat Enterprise Linux 10 | unbound-devel | Fixed | 0:1.20.0-10.el10_0 | RHSA-2025:8047 |
| Red Hat Enterprise Linux 10 | unbound-dracut | Fixed | 0:1.20.0-10.el10_0 | RHSA-2025:8047 |
| Red Hat Enterprise Linux 10 | unbound-libs | Fixed | 0:1.20.0-10.el10_0 | RHSA-2025:8047 |
| Red Hat Enterprise Linux 9 | python3-unbound | Fixed | 0:1.16.2-8.el9_5.1 | RHSA-2025:8197 |
| Red Hat Enterprise Linux 9 | unbound | Fixed | 0:1.16.2-18.el9_6 | RHSA-2024:11232 |
| Red Hat Enterprise Linux 9 | unbound-devel | Fixed | 0:1.16.2-18.el9_6 | RHSA-2024:11232 |
| Red Hat Enterprise Linux 9 | unbound-dracut | Fixed | 0:1.16.2-18.el9_6 | RHSA-2025:8197 |
| Red Hat Enterprise Linux 9 | unbound-libs | Fixed | 0:1.16.2-18.el9_6 | RHSA-2024:11232 |
| Red Hat Enterprise Linux 8 | python3-unbound | Fixed | 0:1.16.2-5.8.el8_10 | RHSA-2025:0837 |
| Red Hat Enterprise Linux 8 | unbound | Fixed | 0:1.16.2-5.8.el8_10 | RHSA-2025:0837 |
| Red Hat Enterprise Linux 8 | unbound-devel | Fixed | 0:1.16.2-5.8.el8_10 | RHSA-2025:0837 |
| Red Hat Enterprise Linux 8 | unbound-libs | Fixed | 0:1.16.2-5.8.el8_10 | RHSA-2025:0837 |
| Red Hat Enterprise Linux 7 | unbound | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | unbound-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | unbound-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | unbound-python | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | unbound | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | unbound-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | unbound-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | unbound-python | Will not fix Out of support scope | ||
| AlmaLinux 10 | python3-unbound | Fixed | 1.20.0-10.el10_0 | ALSA-2025:8047 |
| AlmaLinux 10 | unbound | Fixed | 1.20.0-10.el10_0 | ALSA-2025:8047 |
| AlmaLinux 10 | unbound-anchor | Fixed | 1.20.0-10.el10_0 | ALSA-2025:8047 |
| AlmaLinux 10 | unbound-devel | Fixed | 1.20.0-10.el10_0 | ALSA-2025:8047 |
| AlmaLinux 10 | unbound-dracut | Fixed | 1.20.0-10.el10_0 | ALSA-2025:8047 |
| AlmaLinux 10 | unbound-libs | Fixed | 1.20.0-10.el10_0 | ALSA-2025:8047 |
| AlmaLinux 9 | python3-unbound | Fixed | 1.16.2-8.el9_5.1 | ALSA-2024:11232 |
| AlmaLinux 9 | unbound | Fixed | 1.16.2-8.el9_5.1 | ALSA-2024:11232 |
| AlmaLinux 9 | unbound-devel | Fixed | 1.16.2-8.el9_5.1 | ALSA-2024:11232 |
| AlmaLinux 9 | unbound-libs | Fixed | 1.16.2-8.el9_5.1 | ALSA-2024:11232 |
| AlmaLinux 8 | python3-unbound | Fixed | 1.16.2-5.8.el8_10 | ALSA-2025:0837 |
| AlmaLinux 8 | unbound | Fixed | 1.16.2-5.8.el8_10 | ALSA-2025:0837 |
| AlmaLinux 8 | unbound-devel | Fixed | 1.16.2-5.8.el8_10 | ALSA-2025:0837 |
| AlmaLinux 8 | unbound-libs | Fixed | 1.16.2-5.8.el8_10 | ALSA-2025:0837 |
| Rocky Linux 10 | unbound | Fixed | 0:1.20.0-10.el10_0 | RLSA-2025:8047 |
| Rocky Linux 9 | unbound | Fixed | 0:1.16.2-18.el9_6 | RLSA-2024:11232 |
| Rocky Linux 8 | unbound | Fixed | 0:1.16.2-5.8.el8_10 | RLSA-2025:0837 |
| Alpine Linux 3.24 | unbound | Fixed | 1.21.1-r0 | ALPINE-CVE-2024-8508 |
| Alpine Linux 3.23 | unbound | Fixed | 1.21.1-r0 | ALPINE-CVE-2024-8508 |
| Alpine Linux 3.22 | unbound | Fixed | 1.21.1-r0 | ALPINE-CVE-2024-8508 |
| Alpine Linux 3.21 | unbound | Fixed | 1.21.1-r0 | ALPINE-CVE-2024-8508 |
| Alpine Linux 3.20 | unbound | Fixed | 1.20.0-r1 | ALPINE-CVE-2024-8508 |
| Alpine Linux 3.19 | unbound | Fixed | 1.20.0-r1 | ALPINE-CVE-2024-8508 |
| Alpine Linux 3.18 | unbound | Fixed | 1.20.0-r1 | ALPINE-CVE-2024-8508 |
| Alpine Linux 3.17 | unbound | Fixed | 1.20.0-r1 | ALPINE-CVE-2024-8508 |
| crates.io library | hickory-proto | Fixed | 0.26.1 | RUSTSEC-2026-0119 |
What the vendor says
As published in the CVE record by NLnet Labs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- NLnet Labs Unbound: affected: up to 1.21.0
Solution: This issue is fixed in 1.21.1 and all later versions.
Vendor advisories:
- https://www.nlnetlabs.nl/downloads/unbound/CVE-2024-8508.txt (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.