CVE-2026-78227Nlnetlabs Unbound use-after-free
CVSS score
6.5
Medium
CVSS 3.1 from nlnetlabs.nl
Exploit probability (EPSS)
0.34%
0.34% chance of exploitation in the next 30 days, higher than 28.0% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: sep@nlnetlabs.nl
How to fix it, step by step
Check whether you're affected
Find every system running nlnetlabs Unbound and compare its version with the affected versions.
Update to a fixed version
- Update Unbound to 1.26.1 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- Low
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L
Affected products
| Affected products | Versions |
|---|---|
| nlnetlabs Unbound | ≥ 1.22.0, < 1.26.1 |
| nlnetlabs Unbound | ≥ 1.22.0, < 1.26.1 |
Weakness
- CWE-416 use-after-free
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-78227 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-78227?
CVE-2026-78227 has a CVSS 3.1 base score of 6.5 (medium).
Which versions are affected?
Nlnetlabs Unbound (≥ 1.22.0, < 1.26.1), Nlnetlabs Unbound (≥ 1.22.0, < 1.26.1)
Is there a patch for CVE-2026-78227?
The official record links to vendor advisories or patches; see “What to do” above.
References
- www.nlnetlabs.nl/downloads/unbound/CVE-2026-78227.txt(Patch, Vendor Advisory)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.