Vulnerability · Published May 20, 2026 · Assigned by NLnet Labs
CVE-2026-42959Crash during DNSSEC validation of malicious content
High 7.5
In plain English
A high-severity security flaw in Unbound from NLnet Labs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | python3-unbound | 1.24.2-7.el10_2.1 | ALSA-2026:23231 |
| AlmaLinux:8 | python3-unbound | 1.16.2-5.11.el8_10 | ALSA-2026:24365 |
| AlmaLinux:9 | python3-unbound | 1.24.2-3.el9_8.1 | ALSA-2026:24369 |
| AlmaLinux:10 | unbound | 1.24.2-7.el10_2.1 | ALSA-2026:23231 |
| AlmaLinux:8 | unbound | 1.16.2-5.11.el8_10 | ALSA-2026:24365 |
| AlmaLinux:9 | unbound | 1.24.2-3.el9_8.1 | ALSA-2026:24369 |
| AlmaLinux:10 | unbound-anchor | 1.24.2-7.el10_2.1 | ALSA-2026:23231 |
| AlmaLinux:10 | unbound-devel | 1.24.2-7.el10_2.1 | ALSA-2026:23231 |
| AlmaLinux:8 | unbound-devel | 1.16.2-5.11.el8_10 | ALSA-2026:24365 |
| AlmaLinux:9 | unbound-devel | 1.24.2-3.el9_8.1 | ALSA-2026:24369 |
| AlmaLinux:10 | unbound-dracut | 1.24.2-7.el10_2.1 | ALSA-2026:23231 |
| AlmaLinux:9 | unbound-dracut | 1.24.2-3.el9_8.1 | ALSA-2026:24369 |
| AlmaLinux:10 | unbound-libs | 1.24.2-7.el10_2.1 | ALSA-2026:23231 |
| AlmaLinux:8 | unbound-libs | 1.16.2-5.11.el8_10 | ALSA-2026:24365 |
| AlmaLinux:9 | unbound-libs | 1.24.2-3.el9_8.1 | ALSA-2026:24369 |
| AlmaLinux:10 | unbound-utils | 1.24.2-7.el10_2.1 | ALSA-2026:23231 |
| Alpine:v3.22 | unbound | 1.25.2-r0 | ALPINE-CVE-2026-42959 |
| Alpine:v3.23 | unbound | 1.25.2-r0 | ALPINE-CVE-2026-42959 |
| Alpine:v3.24 | unbound | 1.25.1-r0 | ALPINE-CVE-2026-42959 |
| Debian:12 | unbound | no fix listed | DEBIAN-CVE-2026-42959 |
| Debian:13 | unbound | 1.22.0-2+deb13u3 | DEBIAN-CVE-2026-42959 |
| Debian:14 | unbound | 1.25.1-1 | DEBIAN-CVE-2026-42959 |
| Rocky Linux:10 | unbound | 0:1.24.2-7.el10_2.1 | RLSA-2026:23231 |
| Rocky Linux:8 | unbound | 0:1.16.2-5.11.el8_10 | RLSA-2026:24365 |
| Rocky Linux:9 | unbound | 0:1.24.2-3.el9_8.1 | RLSA-2026:24369 |
| Ubuntu:22.04:LTS | unbound | 1.13.1-1ubuntu5.15 | UBUNTU-CVE-2026-42959 |
| Ubuntu:24.04:LTS | unbound | 1.19.2-1ubuntu3.8 | UBUNTU-CVE-2026-42959 |
| Ubuntu:25.10 | unbound | 1.22.0-2ubuntu2.3 | UBUNTU-CVE-2026-42959 |
| Ubuntu:26.04:LTS | unbound | 1.24.2-1ubuntu2.1 | UBUNTU-CVE-2026-42959 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| NLnet Labs | Unbound | 0 – before 1.25.1 |
Weakness: CWE-824 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-42959.txt vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-42959 vdb-entry, x_refsource_REDHAT
- RHBZ#2479806 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42959.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:23231 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:24365 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:24369 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:19752 vendor-advisory, x_refsource_REDHAT