CVE-2026-82720Use-after-free in DoH stream cleanup code path
NLnet Labs Unbound 1.12.0 up to and including 1.26.0 has a use-after-free vulnerability when compiled for DNS-over-HTTPs support with '--with-libnghttp2'. During failure code paths (i.e., RPZ drop query, jostle due to heavy traffic), a dropped DoH stream brings down the whole DoH session and does not account properly for other DoH streams in the same session. This leads to use-after-free in those code paths. If the prerequisites are satisfied (possible RPZ drop or heavy client traffic), a malicious actor can trigger the vulnerability with a single DoH connection and the appropriate traffic. Impact is limited as the reads are not user controlled and the use-after-free leads to early returns. However, a hardened allocator can catch the use-after-free and controllably terminate the process resulting to denial of service.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have 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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | unbound | Fix pending | UBUNTU-CVE-2026-82720 | |
| Ubuntu 26.04 | unbound | Under investigation | UBUNTU-CVE-2026-82720 | |
| Ubuntu 24.04 | unbound | Under investigation | UBUNTU-CVE-2026-82720 | |
| Ubuntu 22.04 | unbound | Under investigation | UBUNTU-CVE-2026-82720 | |
| Ubuntu 20.04 | unbound | Fix pending | UBUNTU-CVE-2026-82720 | |
| Ubuntu 18.04 | unbound | Fix pending | UBUNTU-CVE-2026-82720 | |
| Ubuntu 16.04 | unbound | Fix pending | UBUNTU-CVE-2026-82720 | |
| Ubuntu 14.04 | unbound | Fix pending | UBUNTU-CVE-2026-82720 | |
| Debian 14 | unbound | Fixed | 1.26.1-1 | DEBIAN-CVE-2026-82720 |
| Debian 13 | unbound | Fixed | 1.26.1-0+deb13u1 | DEBIAN-CVE-2026-82720 |
| Debian 12 | unbound | Fix pending | DEBIAN-CVE-2026-82720 | |
| Red Hat Enterprise Linux 10 | python3-unbound | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | unbound | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | unbound-anchor | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | unbound-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | unbound-dracut | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | unbound-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | unbound-utils | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | python3-unbound | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | unbound | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | unbound-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | unbound-dracut | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | unbound-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | python3-unbound | Not affected | ||
| Red Hat Enterprise Linux 8 | unbound | Not affected | ||
| Red Hat Enterprise Linux 8 | unbound-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | unbound-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | unbound | Not affected | ||
| Red Hat Enterprise Linux 7 | unbound-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | unbound-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | unbound-python | Not affected | ||
| Red Hat Enterprise Linux 6 | unbound | Not affected | ||
| Red Hat Enterprise Linux 6 | unbound-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | unbound-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | unbound-python | Not 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.
- NLnet Labs Unbound: affected: 1.12.0 to before 1.26.1; fixed in
1.26.1
Solution: This issue is fixed starting with version 1.26.1
Vendor advisories:
- https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-82720.txt (vendor-advisory)
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.