CVE-2026-10846

Insufficient verification that responses belong to a query

Published Jun 10, 2026 CVSS 4.0 · 8.2 High EPSS < 1% KEV · Not listed
Description
NLnet Labs ldns 1.2.0 up to and including versions 1.9.0, when used in applications as (stub) resolver over UDP, lacks matching the query destination address and port with the response source address and port. Furthermore not the query ID, neither the question of the query is matched with that of the response. This makes applications, that use ldns for (stub) resolver functionality over UDP, vulnerable for off-path poisoning attacks. The drill tool, which is shipped with ldns, suffers from this vulnerability.

Analysis

AI-generated

Technical impact

NLnet Labs ldns versions 1.2.0 through 1.9.0 omit critical checks on responses to UDP stub resolver queries. They do not verify that the source of a response matches the destination of the request, nor do they check the query ID and the question section. This flaw permits an off‑path attacker to craft forged DNS responses that the resolver will accept, effectively poisoning the resolver’s cache. The consequence is that legitimate domain name queries can be redirected to malicious IP addresses, enabling a range of attacks such as phishing, data exfiltration, or denial of service without needing direct access to the target system.

Affected Systems

All installations of NLnet Labs ldns between version 1.2.0 and 1.9.0, inclusive, are affected when used as a stub resolver over UDP. The bundled drill utility is also vulnerable. Any application that links against these library versions and performs UDP DNS queries, such as custom resolvers or local services relying on ldns, is at risk.

Risk and Exploitability

The CVSS score of 8.2 classifies this as a high‑severity issue. EPSS data is not available, but the lack of validation makes the exploit likely on networks where UDP DNS traffic is allowed. The attack vector is off‑path: an attacker can send malicious responses to any resolver that uses the vulnerable ldns library, without needing to intercept existing traffic. Because the vulnerability involves only DNS responses, no key modification is required. As the vulnerability is not listed in KEV, it has not yet been noted as a known exploit, but the theoretical impact remains substantial.

Remediation

Vendor Solution

This issue is fixed starting with version 1.9.2.


OpenCVE Recommended Actions

  • Upgrade the ldns library to version 1.9.1 or later, which implements proper response verification.
  • If an upgrade is not immediately possible, restrict the resolver to trusted DNS servers and block unsolicited UDP traffic on port 53 to reduce the surface for off‑path responses.
  • Consider disabling or replacing the stub resolver functionality with a more secure DNS resolution method, such as DNS over TLS or a hardened DNS client that performs its own verification.

Generated by OpenCVE AI on June 10, 2026 at 07:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8449-1 ldns vulnerability
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Nlnetlabs
Nlnetlabs ldns
Vendors & Products Nlnetlabs
Nlnetlabs ldns
Type Values Removed Values Added
Description NLnet Labs ldns 1.2.0 up to and including versions 1.9.0, when used in applications as (stub) resolver over UDP, lacks matching the query destination address and port with the response source address and port. Furthermore not the query ID, neither the question of the query is matched with that of the response. This makes applications, that use ldns for (stub) resolver functionality over UDP, vulnerable for off-path poisoning attacks. The drill tool, which is shipped with ldns, suffers from this vulnerability.
Title Insufficient verification that responses belong to a query
Weaknesses CWE-346
References
Metrics cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
NLnet Labs
Published
Updated
Jun 10, 2026, 2:45 PM
Reserved
Jun 4, 2026, 12:06 PM
Status
Analyzed
Published
Jun 10, 2026, 7:16 AM
Modified
Jul 23, 2026, 9:10 AM