CVE-2026-42959Crash during DNSSEC validation of malicious content
NLnet Labs Unbound up to and including version 1.25.0 has a denial of service vulnerability in the DNSSEC validator that can lead to a crash given malicious upstream replies. When Unbound constructs chase-reply messages for validation, the code uses the wrong counter to calculate write offsets for ADDITIONAL section rrsets. DNAME duplication could increase the ANSWER section count and authority filtering could decrease the AUTHORITY section count and create an uninitialized array slot. Combining these two, the validator later dereferences this uninitialized pointer, causing an immediate process crash. An adversary controlling a DNSSEC-signed domain can trigger this bug with a single query by configuring a DNAME chain with unsigned CNAMEs and a response containing unsigned AUTHORITY records alongside signed ADDITIONAL glue records. Unbound 1.25.1 contains a patch with a fix to use the proper counters to calculate the write offsets.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have 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 26.04 | unbound | Fixed | 1.24.2-1ubuntu2.1 | UBUNTU-CVE-2026-42959 |
| Ubuntu 25.10 | unbound | Fixed | 1.22.0-2ubuntu2.3 | UBUNTU-CVE-2026-42959 |
| Ubuntu 24.04 | unbound | Fixed | 1.19.2-1ubuntu3.8 | UBUNTU-CVE-2026-42959 |
| Ubuntu 22.04 | unbound | Fixed | 1.13.1-1ubuntu5.15 | UBUNTU-CVE-2026-42959 |
| Ubuntu 20.04 | unbound | Fix pending | 1.9.4-2ubuntu1.11+esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-42959 |
| Ubuntu 18.04 | unbound | Fix pending | 1.6.7-1ubuntu2.6+esm4 (Ubuntu Pro) | UBUNTU-CVE-2026-42959 |
| Ubuntu 16.04 | unbound | Fix pending | 1.5.8-1ubuntu1.1+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-42959 |
| Ubuntu 14.04 | unbound | Fix pending | 1.4.22-1ubuntu4.14.04.3+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-42959 |
| Debian 14 | unbound | Fixed | 1.25.1-1 | DEBIAN-CVE-2026-42959 |
| Debian 13 | unbound | Fixed | 1.22.0-2+deb13u3 | DEBIAN-CVE-2026-42959 |
| Debian 12 | unbound | Fix pending | DEBIAN-CVE-2026-42959 | |
| Red Hat Enterprise Linux 10 | python3-unbound | Fixed | 0:1.24.2-7.el10_2.1 | RHSA-2026:23231 |
| Red Hat Enterprise Linux 10 | unbound | Fixed | 0:1.24.2-7.el10_2.1 | RHSA-2026:23231 |
| Red Hat Enterprise Linux 10 | unbound-anchor | Fixed | 0:1.24.2-7.el10_2.1 | RHSA-2026:23231 |
| Red Hat Enterprise Linux 10 | unbound-devel | Fixed | 0:1.24.2-7.el10_2.1 | RHSA-2026:23231 |
| Red Hat Enterprise Linux 10 | unbound-dracut | Fixed | 0:1.24.2-7.el10_2.1 | RHSA-2026:23231 |
| Red Hat Enterprise Linux 10 | unbound-libs | Fixed | 0:1.24.2-7.el10_2.1 | RHSA-2026:23231 |
| Red Hat Enterprise Linux 10 | unbound-utils | Fixed | 0:1.24.2-7.el10_2.1 | RHSA-2026:23231 |
| Red Hat Enterprise Linux 9 | python3-unbound | Fixed | 0:1.24.2-3.el9_8.1 | RHSA-2026:24369 |
| Red Hat Enterprise Linux 9 | unbound | Fixed | 0:1.24.2-3.el9_8.1 | RHSA-2026:24369 |
| Red Hat Enterprise Linux 9 | unbound-devel | Fixed | 0:1.24.2-3.el9_8.1 | RHSA-2026:24369 |
| Red Hat Enterprise Linux 9 | unbound-dracut | Fixed | 0:1.24.2-3.el9_8.1 | RHSA-2026:24369 |
| Red Hat Enterprise Linux 9 | unbound-libs | Fixed | 0:1.24.2-3.el9_8.1 | RHSA-2026:24369 |
| Red Hat Enterprise Linux 8 | python3-unbound | Fixed | 0:1.16.2-5.11.el8_10 | RHSA-2026:24365 |
| Red Hat Enterprise Linux 8 | unbound | Fixed | 0:1.16.2-5.11.el8_10 | RHSA-2026:24365 |
| Red Hat Enterprise Linux 8 | unbound-devel | Fixed | 0:1.16.2-5.11.el8_10 | RHSA-2026:24365 |
| Red Hat Enterprise Linux 8 | unbound-libs | Fixed | 0:1.16.2-5.11.el8_10 | RHSA-2026:24365 |
| Red Hat Enterprise Linux 7 | unbound | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | unbound-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | unbound-libs | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | unbound-python | Fix pending Affected | ||
| 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.24.2-7.el10_2.1 | ALSA-2026:23231 |
| AlmaLinux 10 | unbound | Fixed | 1.24.2-7.el10_2.1 | ALSA-2026:23231 |
| AlmaLinux 10 | unbound-anchor | Fixed | 1.24.2-7.el10_2.1 | ALSA-2026:23231 |
| AlmaLinux 10 | unbound-devel | Fixed | 1.24.2-7.el10_2.1 | ALSA-2026:23231 |
| AlmaLinux 10 | unbound-dracut | Fixed | 1.24.2-7.el10_2.1 | ALSA-2026:23231 |
| AlmaLinux 10 | unbound-libs | Fixed | 1.24.2-7.el10_2.1 | ALSA-2026:23231 |
| AlmaLinux 10 | unbound-utils | Fixed | 1.24.2-7.el10_2.1 | ALSA-2026:23231 |
| AlmaLinux 9 | python3-unbound | Fixed | 1.24.2-3.el9_8.1 | ALSA-2026:24369 |
| AlmaLinux 9 | unbound | Fixed | 1.24.2-3.el9_8.1 | ALSA-2026:24369 |
| AlmaLinux 9 | unbound-devel | Fixed | 1.24.2-3.el9_8.1 | ALSA-2026:24369 |
| AlmaLinux 9 | unbound-dracut | Fixed | 1.24.2-3.el9_8.1 | ALSA-2026:24369 |
| AlmaLinux 9 | unbound-libs | Fixed | 1.24.2-3.el9_8.1 | ALSA-2026:24369 |
| AlmaLinux 8 | python3-unbound | Fixed | 1.16.2-5.11.el8_10 | ALSA-2026:24365 |
| AlmaLinux 8 | unbound | Fixed | 1.16.2-5.11.el8_10 | ALSA-2026:24365 |
| AlmaLinux 8 | unbound-devel | Fixed | 1.16.2-5.11.el8_10 | ALSA-2026:24365 |
| AlmaLinux 8 | unbound-libs | Fixed | 1.16.2-5.11.el8_10 | ALSA-2026:24365 |
| Rocky Linux 10 | unbound | Fixed | 0:1.24.2-7.el10_2.1 | RLSA-2026:23231 |
| Rocky Linux 9 | unbound | Fixed | 0:1.24.2-3.el9_8.1 | RLSA-2026:24369 |
| Rocky Linux 8 | unbound | Fixed | 0:1.16.2-5.11.el8_10 | RLSA-2026:24365 |
| Alpine Linux 3.24 | unbound | Fixed | 1.25.1-r0 | ALPINE-CVE-2026-42959 |
| Alpine Linux 3.23 | unbound | Fixed | 1.25.2-r0 | ALPINE-CVE-2026-42959 |
| Alpine Linux 3.22 | unbound | Fixed | 1.25.2-r0 | ALPINE-CVE-2026-42959 |
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: before 1.25.1; fixed in
1.25.1
Solution: This issue is fixed starting with version 1.25.1
Vendor advisories:
- https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-42959.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.