Skip to content
OpenAdvisories
High · 8.7 CVE-2026-42944 EUVD-2026-31085GHSA-7mmq-q3m9-jrv7

Heap overflow with multiple NSID, COOKIE, PADDING EDNS options

Published May 20, 2026 · Updated Aug 26, 2026 · Assigned by NLnet Labs

Description

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.

Affected products

VendorProductAffectedFixed
NLnet Labs Unbound 1.14.0 – < 1.25.1 1.25.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 unbound 1.25.1-1 —
Debian 13 unbound 1.22.0-2+deb13u3 —
Debian 12 unbound No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS unbound 1.24.2-1ubuntu2.1 —
Ubuntu 25.10 unbound 1.22.0-2ubuntu2.3 —
Ubuntu 24.04 LTS unbound 1.19.2-1ubuntu3.8 —
ReleasePackageFixed inAdvisory
RHEL 10 unbound +6 1.24.2-7.el10_2.1 RHSA-2026:23231
RHEL 9 unbound +4 1.24.2-3.el9_8.1 RHSA-2026:24369
RHEL 8 unbound +3 1.16.2-5.11.el8_10 RHSA-2026:24365
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 unbound +7 1.25.1-0.1.hum1 RHSA-2026:19752

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 unbound +6 1.24.2-7.el10_2.1 ALSA-2026:23231
AlmaLinux 9 unbound +4 1.24.2-3.el9_8.1 ALSA-2026:24369
AlmaLinux 8 unbound +3 1.16.2-5.11.el8_10 ALSA-2026:24365

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 unbound 1.24.2-7.el10_2.1 RLSA-2026:23231
Rocky Linux 9 unbound 1.24.2-3.el9_8.1 RLSA-2026:24369
Rocky Linux 8 unbound 1.16.2-5.11.el8_10 RLSA-2026:24365
ReleasePackageFixed inAdvisory
SLES 15 SP5 unbound 1.20.0-150100.10.25.1 SUSE-SU-2026:2369-1
SLES 15 SP4 unbound 1.20.0-150100.10.25.1 SUSE-SU-2026:2369-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 unbound 1.24.1-160000.2.1 SUSE-SU-2026:22160-1
SLES for SAP 15 SP5 unbound 1.20.0-150100.10.25.1 SUSE-SU-2026:2369-1
SLES for SAP 15 SP4 unbound 1.20.0-150100.10.25.1 SUSE-SU-2026:2369-1
SLES 16.0 unbound 1.24.1-160000.2.1 SUSE-SU-2026:22160-1
SLE Micro 6.2 unbound 1.24.1-160000.2.1 SUSE-SU-2026:22213-1
SLE Micro 5.5 unbound 1.20.0-150100.10.25.1 SUSE-SU-2026:2369-1
SLE HPC 15 SP5 unbound 1.20.0-150100.10.25.1 SUSE-SU-2026:2369-1
SLE HPC 15 SP4 unbound 1.20.0-150100.10.25.1 SUSE-SU-2026:2369-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed unbound 1.25.1-1.1 openSUSE-SU-2026:10903-1
openSUSE Leap 16.0 unbound 1.24.1-160000.2.1 openSUSE-SU-2026:21083-1
ReleasePackageFixed inAdvisory
Alpine v3.24 unbound 1.25.1-r0 —
Alpine v3.23 unbound 1.25.2-r0 —
Alpine v3.22 unbound 1.25.2-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 unbound +5 1.17.1-1.amzn2023.0.12 ALAS2023-2026-1756

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 unbound 1.25.1-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 unbound +6 1.24.2-7.el10_2.2 ELSA-2026-23231
Oracle Linux 9 unbound +4 1.24.2-3.el9_8.1 ELSA-2026-24369
Oracle Linux 8 unbound +3 1.16.2-5.11.el8_10 ELSA-2026-24365

Advisories 21

References