All vulnerabilities

Servers and applications

CVE-2026-78227

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…

Severity
Medium 6.5
Published
16 Sept 2026
Last changed
23 Sept 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.26.1
Exploit chance
0.3% in the next 30 daysHigher than 27% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Use after free (CWE-416)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L
Sources
NVD

Description

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.

From NVD.

Affected software

SoftwareAffected versions
UnboundServers and applications · cpe:a:nlnetlabs:unbound
  • From 1.22.0 before 1.26.1

About Unbound

DNS server

From Wikidata, CC0 1.0.
GitHub stars
5,067GitHub, 15 Nov 2026
Forks
473GitHub, 15 Nov 2026
Latest release
release-1.26.2GitHub, 15 Nov 2026
Released
21 Oct 2026GitHub
Developer
NLnet LabsWikidata
License
3-clause BSD LicenseWikidata
Written in
CWikidata
First released
19 Feb 2007Wikidata
First published on GitHub
13 Jun 2017GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-78227
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-78227