Description
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.
Published: 2026-09-16
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

Unbound 1.12.0 through 1.26.0, when compiled with the DNS-over-HTTPS flag, contains a use‑after‑free in the DoH stream cleanup. The flaw is triggered during failure paths such as RPZ drops or high traffic churn, causing a dropped stream to corrupt the session and free memory that may still be referenced. The read access is not user‑controllable and the immediate effect is an early return, but with a hardened allocator the use‑after‑free can be caught and the process can terminate. Thus the primary impact is a denial of service to the DNS service rather than confidentiality or integrity leakage.

Affected Systems

NLnet Labs Unbound v1.12.0 up to v1.26.0 compiled with '--with-libnghttp2' for DNS-over-HTTPS support are affected. Versions newer than 1.26.0, including 1.26.1, contain the fix.

Risk and Exploitability

The CVSS score is 5.9, indicating moderate severity, and the EPSS score is not available, so the precise likelihood of exploitation is unclear. The vulnerability is not listed in the CISA KEV catalog. The attack would require malicious DoH traffic that triggers a failure condition such as an RPZ drop or traffic overload. Exploitation would result in the unbound process terminating, causing a denial of service to all clients using that resolver. More advanced configurations using hardened allocators may detect the memory error and abort the process, amplifying the impact. No public exploit has been reported, but the conditions for triggering the flaw are realistic in high‑traffic or misconfigured environments.

Generated by OpenCVE AI on September 16, 2026 at 13:59 UTC.

Remediation

Vendor Solution

This issue is fixed starting with version 1.26.1


OpenCVE Recommended Actions

  • Upgrade Unbound to version 1.26.1 or later to apply the official patch.
  • If DNS-over-HTTPS is not required for your environment, disable the '--with-libnghttp2' build option or switch to an alternate resolver that does not use the affected code path.
  • As a temporary measure, enable a hardened memory allocator or kernel hardening features to reduce the likelihood that a use‑after‑free leads to service termination, and monitor DoH sessions for crashes.

Generated by OpenCVE AI on September 16, 2026 at 13:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 16 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 16 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 16 Sep 2026 08:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Use-after-free in DoH stream cleanup code path
Weaknesses CWE-416
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: NLnet Labs

Published:

Updated: 2026-09-16T14:14:25.720Z

Reserved: 2026-09-07T14:06:21.960Z

Link: CVE-2026-82720

cve-icon Vulnrichment

Updated: 2026-09-16T14:13:12.445Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-16T09:17:06.677

Modified: 2026-09-16T19:41:10.423

Link: CVE-2026-82720

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-16T08:32:10Z

Links: CVE-2026-82720 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-16T14:00:11Z

Weaknesses