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.
Published: 2026-06-10
Score: 8.2 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

Vendor Solution

This issue is fixed starting with version 1.9.1.


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

No advisories yet.

History

Wed, 10 Jun 2026 06:45:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: NLnet Labs

Published:

Updated: 2026-06-10T06:37:59.538Z

Reserved: 2026-06-04T12:06:54.996Z

Link: CVE-2026-10846

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-10T07:16:24.443

Modified: 2026-06-10T07:16:24.443

Link: CVE-2026-10846

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-10T07:30:25Z

Weaknesses