Impact
A heap use‑after‑free occurs when a DoT forwarded query is jostled out of the server while the TLS handshake is still in progress. The affected string is freed in one structure but still referenced in another, and a subsequent error causes the TLS stream to dereference the freed pointer. Because the dereference is read‑only, the immediate consequence is a daemon crash rather than arbitrary code execution. The crash leads to a denial‑of‑service for the affected Unbound instance. This is a classic case of CWE‑416.
Affected Systems
The vulnerability affects NLnet Labs Unbound versions 1.15.0 through 1.25.1. A configuration that includes a stub or forward zone directed to a DoT server, together with a #authname suffix on the server identifier, is required to expose the flaw.
Risk and Exploitability
The CVSS score of 5.9 places the flaw in the medium severity range. The EPSS score of < 1% reflects a very low probability of exploitation, and the issue is not listed in CISA KEV, indicating no widespread exploitation is currently documented. Exploitation would require a malicious actor to send queries to an appropriate zone while the Unbound process is under load and a transient TLS failure occurs at just the right moment, making successful attacks difficult but still theoretically possible. These constraints suggest the risk is low to moderate, but patching removes the vulnerability entirely.
OpenCVE Enrichment