CVEfocus › CVE database › CVE-2026-78227

CVE-2026-78227Use-after-free in DoQ stream output buffer on reset re-transmission

CVSS 6.5 MediumEPSS 0.3% (higher than 20% of CVEs)Published 2026-09-16Updated 2026-09-16Assigner: NLnet Labs

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.

CWE-416

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
5Fix pending
3Under investigation
24Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10unboundFix pendingUBUNTU-CVE-2026-78227
Ubuntu 26.04unboundUnder investigationUBUNTU-CVE-2026-78227
Ubuntu 24.04unboundUnder investigationUBUNTU-CVE-2026-78227
Ubuntu 22.04unboundUnder investigationUBUNTU-CVE-2026-78227
Ubuntu 20.04unboundFix pendingUBUNTU-CVE-2026-78227
Ubuntu 18.04unboundFix pendingUBUNTU-CVE-2026-78227
Ubuntu 16.04unboundFix pendingUBUNTU-CVE-2026-78227
Ubuntu 14.04unboundFix pendingUBUNTU-CVE-2026-78227
Debian 14unboundFixed1.26.1-1DEBIAN-CVE-2026-78227
Debian 13unboundFixed1.26.1-0+deb13u1DEBIAN-CVE-2026-78227
Red Hat Enterprise Linux 10python3-unboundNot affected
Red Hat Enterprise Linux 10unboundNot affected
Red Hat Enterprise Linux 10unbound-anchorNot affected
Red Hat Enterprise Linux 10unbound-develNot affected
Red Hat Enterprise Linux 10unbound-dracutNot affected
Red Hat Enterprise Linux 10unbound-libsNot affected
Red Hat Enterprise Linux 10unbound-utilsNot affected
Red Hat Enterprise Linux 9python3-unboundNot affected
Red Hat Enterprise Linux 9unboundNot affected
Red Hat Enterprise Linux 9unbound-develNot affected
Red Hat Enterprise Linux 9unbound-dracutNot affected
Red Hat Enterprise Linux 9unbound-libsNot affected
Red Hat Enterprise Linux 8python3-unboundNot affected
Red Hat Enterprise Linux 8unboundNot affected
Red Hat Enterprise Linux 8unbound-develNot affected
Red Hat Enterprise Linux 8unbound-libsNot affected
Red Hat Enterprise Linux 7unboundNot affected
Red Hat Enterprise Linux 7unbound-develNot affected
Red Hat Enterprise Linux 7unbound-libsNot affected
Red Hat Enterprise Linux 7unbound-pythonNot affected
Red Hat Enterprise Linux 6unboundNot affected
Red Hat Enterprise Linux 6unbound-develNot affected
Red Hat Enterprise Linux 6unbound-libsNot affected
Red Hat Enterprise Linux 6unbound-pythonNot affected

What the vendor says

As published in the CVE record by NLnet Labs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: This issue is fixed starting with version 1.26.1

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.