oss-sec mailing list archives
ldns insufficiently verifies that responses belong to a query
From: Willem Toorop <willem () nlnetlabs nl>
Date: Wed, 10 Jun 2026 09:27:34 +0200
The CVE number for this vulnerability will be CVE-2026-10846 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 Score: 8.2, Severity: High == SummaryWhen ldns is used by applications for (stub) resolving, it does not sufficiently verify that received responses belong to a sent query.
== Affected products ldns 1.2.0 up to and including 1.9.0 == DescriptionNLnet 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, vulnerable for off-path poisoning attacks.
The drill tool, which is shipped with ldns and uses ldns for stub resolving, inherently suffers from this vulnerability.
== SolutionUse the patched version of ldns 1.9.1 that has been releases Wednesday the 10th of June 2026
Or apply the patch manually. For ldns 1.9.0 the patch is attached as patch_cve_2026-10846.diff Apply the patch on ldns source directory with: 'patch -p0 < patch_cve_2026-10846.diff' then run 'make install' to install ldns. == AcknowledgmentsWe would like to thank Pablo Ruiz from 'codecome.ai' for finding and reporting this vulnerability.
Attachment:
patch_cve_2026-10846.diff
Description:
Current thread:
- ldns insufficiently verifies that responses belong to a query Willem Toorop (Jun 10)
