cve.bz

CVE-2026-78227 nlnetlabs unbound: Use After Free

6.5 mediumEPSS 0.3%Fix available

Medium (6.5) in nlnetlabs unbound. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
NLnet Labs Unbound 1.22.0 up to and including 1.26.1, has a use-after-free vulnerability when compiled for DNS-over-QUIC support with '--with-libngtcp2'. Each DoQ stream owns an output buffer that holds the DNS response. ngtcp2's retransmission buffer keeps a shallow pointer into the output buffer for as long as a STREAM frame may be resent. On a client RESET_STREAM, the output buffer is freed but ngtcp2 still holds the matching retransmission entries. The next PTO timeout makes ngtcp2 re-encode the STREAM frame and copy from the freed buffer. A malicious actor that can query Unbound over DoQ and that withholds ACKs, sends RESET_STREAM, and waits for PTO, reaches this use-after-free with no privilege. This leads to retransmissions against freed memory and eventually an abnormal server exit under a 20-query spray.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 28th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-09-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-78227 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-78227?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-78227?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-78227 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
NLnet Labs Unboundfrom 1.22.0 before 1.26.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13unbound1.26.1-0+deb13u1DEBIAN-CVE-2026-78227 DSA-6507-1
Debian14unbound1.26.1-1DEBIAN-CVE-2026-78227
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 5 moreunboundno fix listedUBUNTU-CVE-2026-78227
Red Hathummingbird:1unbound, unbound-libs, unbound-devel and 5 more0:1.26.1-1.hum1RHSA-2026:68590
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 6 moreunbound1.26.1-150100.10.31.1SUSE-SU-2026:4624-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Server 15 SP6-LTSS and 1 moreunbound1.26.1-150600.23.24.1SUSE-SU-2026:4620-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0unbound1.26.1-160000.1.1SUSE-SU-2026:24226-1
SUSELinux Micro 6.0unbound1.26.1-159998.1.1SUSE-SU-2026:24135-1
SUSELinux Micro 6.1unbound1.26.1-slfo.1.1_1.1SUSE-SU-2026:24376-1
SUSELinux Micro 6.2unbound1.26.1-160000.1.1SUSE-SU-2026:24128-1
openSUSELeap 16.0unbound1.26.1-160000.1.1openSUSE-SU-2026:22082-1
openSUSETumbleweedunbound1.26.1-1.1openSUSE-SU-2026:11930-1
Azure Linux3unbound1.26.1-1AZL-101703

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate impact use-after-free vulnerability in Unbound affects configurations compiled with DNS-over-QUIC (DoQ) support. Most Red Hat Enterprise Linux products are not impacted as their Unbound packages do not include the vulnerable DoQ functionality. This only affects Red Hat hardened images.

Red Hat's mitigation

To mitigate this do not set quic-port unless DNS-over-QUIC is required. If it is enabled, allow it only from trusted clients.

ProductPackageStateAdvisory
Red Hat Hardened Imagesunbound-main-1.26.1-1.hum1Fixed 2026-09-17RHSA-2026:68590
Red Hat Enterprise Linux 10unboundNot affected
Red Hat Enterprise Linux 6unboundNot affected
Red Hat Enterprise Linux 7unboundNot affected
Red Hat Enterprise Linux 8unboundNot affected
Red Hat Enterprise Linux 9unboundNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Not affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Not affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-78227.

References

Check your stackJSON