{"id":"CVE-2026-78227","aliases":["CVE-2026-78227"],"related":[],"kind":"vulnerability","state":"published","title":"Use-after-free in DoQ stream output buffer on reset re-transmission","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-16T08:29:52.342Z","modified":"2026-09-23T20:09:01.923Z","severity":{"scorer":"NLnet Labs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"NLnet Labs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"semver","introduced":"1.22.0","fixed":"1.26.1","status":"affected"}],"vendor":"NLnet Labs","product":"Unbound","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"1.22.0","fixed":"1.26.1"}],"vendor":"nlnetlabs","product":"unbound","cpe":"cpe:2.3:a:nlnetlabs:unbound:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-78227.txt","tags":["patch","vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Yuqi Qiu (Nankai University, AOSP Lab)","Xiang Li (Nankai University, AOSP Lab)"],"assigner":"NLnet Labs","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-16T15:33:40.171Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-78227","url":"https://www.cve.org/CVERecord?id=CVE-2026-78227","licence":"CVE Terms of Use","modified":"2026-09-16T15:33:54.267Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-78227","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78227","licence":"Public domain","modified":"2026-09-23T20:09:01.923Z"}],"updatedAt":"2026-11-25T22:59:38.916Z","epss":{"score":0.0034,"percentile":0.29427,"date":"2026-12-01T12:00:22.000Z"}}