CVE-2026-42959
Crash during DNSSEC validation of malicious content
Reported by nlnet labs · Published May 20, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-unbound | Amazon Linux | 1.17.1-1.amzn2023.0.12, 1.7.3-15.amzn2.0.14 |
| unbound-libs | Amazon Linux | 1.17.1-1.amzn2023.0.12 |
| unbound | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8 |
| unbound-debugsource | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8 |
| unbound-libs | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8 |
| unbound-utils-debuginfo | errata.rockylinux.org | 1.24.2-7.el10 |
| python3-unbound | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8 |
| unbound-debuginfo | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8 |
| unbound-devel | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8 |
| unbound-anchor-debuginfo | errata.rockylinux.org | 1.24.2-7.el10 |
| unbound-utils | errata.rockylinux.org | 1.24.2-7.el10 |
| unbound-libs-debuginfo | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8 |
10 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| NLnet Labs | Unbound | 0 |
| amazon:2 | python3-unbound | 0 |
| Red Hat | Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | |
| amazon:2023 | unbound-libs | 0 |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat Enterprise Linux 10 | 0:1.24.2-7.el10_2.1 |
| amazon:2023 | unbound-utils | 0 |
| amazon:2023 | unbound-anchor | 0 |
| Red Hat | Red Hat Enterprise Linux 6 | |
| amazon:2 | unbound-devel | 0 |
| amazon:2023 | python3-unbound | 0 |
| Red Hat | Red Hat Enterprise Linux 7 | |
| amazon:2 | unbound | 0 |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat Enterprise Linux 9 | 0:1.24.2-3.el9_8.1 |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat Enterprise Linux AppStream (v. 10) | |
| amazon:2023 | unbound | 0 |
| alpine | unbound | 0, 0 |
…and 11 more
Timeline
- May 19, 2026 CVE Published
- May 20, 2026 EPSS Score (30 in total, the first dated here)
- May 20, 2026 PoC Published (2 in total, the first dated here)
- May 21, 2026 Coalition ESS Score
- May 21, 2026 Security Advisory (15 in total, the first dated here)
- Jun 4, 2026 Distribution Patch (15 in total, the first dated here)
- Aug 10, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-42959
vulnetix vdb fixes CVE-2026-42959
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-42959/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-42959 vdb
- RHBZ#2479806 issue
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42959.json url
- https://access.redhat.com/errata/RHSA-2026:23231 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:24365 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:24369 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:19752 vendor-advisory