VDB

CVE-2026-42944

CVE-2026-42944 PUBLISHED CVSS 8.7 HIGH

Heap overflow with multiple NSID, COOKIE, PADDING EDNS options

Reported by nlnet labs · Published May 20, 2026

NLnet Labs Unbound 1.14.0 up to and including version 1.25.0 has a vulnerability that results in heap overflow when encoding multiple NSID and/or DNS Cookie EDNS and/or EDNS Padding options in the reply packet. The relevant options ('nsid', 'answer-cookie', 'pad-responses' (default)) need to be enabled for the vulnerability to be exploited. An adversary who can query Unbound can exploit the vulnerability by attaching multiple NSID and/or DNS Cookie EDNS and/or EDNS Padding options to the query. A flaw in the size calculation of the EDNS field truncates the correct value which allows the encoder to overflow the available space when writing. Those two combined lead to a heap overflow write of Unbound controlled data and eventually a crash. Unbound 1.25.1 contains a patch with a fix to de-duplicate the EDNS options and a fix to prevent truncation of the EDNS field size calculation.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-unbound-debuginfoerrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8
unbounderrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8
unbound-debuginfoerrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8
unbound-dracuterrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9
unbound-anchor-debuginfoerrata.rockylinux.org1.24.2-7.el10
unbound-debugsourceerrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8
unbound-utilserrata.rockylinux.org1.24.2-7.el10
unbound-utilsAmazon Linux1.17.1-1.amzn2023.0.12
unboundAmazon Linux1.17.1-1.amzn2023.0.12
unbound-libs-debuginfoerrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8
unbound-libserrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8
python3-unbounderrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8

9 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
8.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Red

Affected products

VendorProductVersions
NLnet LabsUnbound1.14.0
Red HatRed Hat Enterprise Linux AppStream (v. 10)
Red HatRed Hat Enterprise Linux CodeReady Linux Builder (v. 10)
Red HatRed Hat Enterprise Linux AppStream (v. 9)
Red HatRed Hat Enterprise Linux 6
amazon:2023unbound-utils0
amazon:2023unbound0
Red HatRed Hat Enterprise Linux AppStream (v. 8)
NLnet LabsUnbound1.14.0
Red HatRed Hat Enterprise Linux 100:1.24.2-7.el10_2.1
Red HatRed Hat Enterprise Linux 90:1.24.2-3.el9_8.1
amazon:2023unbound-devel0
Red HatRed Hat Enterprise Linux 7
alpineunbound0, 0
amazon:2023unbound-libs0
Red HatRed Hat Enterprise Linux 7
amazon:2023unbound-anchor0
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat Hardened Images1.25.1-0.1.hum1
Red HatRed Hat Enterprise Linux 80:1.16.2-5.11.el8_10

…and 5 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)
  • Sep 16, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-42944
vulnetix vdb fixes CVE-2026-42944

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-42944/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›