{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-101340","assignerOrgId":"206fc3a0-e175-490b-9eaa-a5738056c9f6","state":"PUBLISHED","assignerShortName":"NLnet Labs","dateReserved":"2026-09-28T14:39:03.778Z","datePublished":"2026-11-20T12:38:22.541Z","dateUpdated":"2026-11-20T18:40:44.447Z"},"containers":{"cna":{"title":"Query ID predictable from a short sequence of observations","references":[{"url":"https://www.net-dns.org/downloads/CVE-2026-101340.txt","tags":["vendor-advisory"]}],"solutions":[{"lang":"en","value":"This issue is fixed in 1.58 and all later versions."}],"affected":[{"vendor":"NLnet Labs","product":"Net::DNS","defaultStatus":"unaffected","versions":[{"version":"0.02","status":"affected","lessThan":"0.*","versionType":"maven"},{"version":"1.00","status":"affected","lessThan":"1.58","versionType":"maven"}]}],"credits":[{"lang":"en","type":"finder","value":"Xiang Li, Aichun Huang, Zheli Liu (AOSP Lab @Nankai University)"}],"timeline":[{"time":"2026-11-08T10:25:00.000Z","lang":"en","value":"Issue reported by Xiang Li"},{"time":"2026-11-17T13:00:00.000Z","lang":"en","value":"NLnet Labs shares patch"},{"time":"2026-11-19T12:00:00.000Z","lang":"en","value":"Xiang Li verifies patch"},{"time":"2026-11-20T12:00:00.000Z","lang":"en","value":"Fix released with version 1.58"}],"datePublic":"2026-11-20T12:00:00.000Z","descriptions":[{"lang":"en","value":"Net::DNS uses a 16-bit query ID to match responses to the corresponding requests.  In versions up to and including 1.57, the ID is obtained from Perl's built-in rand() function.  An attacker that can observe the sequence of query IDs is able to expose the internal state of the PNRG and hence predict query IDs before they are transmitted.  The victim Net::DNS instance is then exposed to forged responses injected by the attacker.  Note that the deduplication cache in 1.57 has no impact on the feasibility of this attack."}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"version":"4.0","baseScore":9.1,"baseSeverity":"CRITICAL","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}}],"problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-338","description":"CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)","type":"CWE"}]}],"providerMetadata":{"orgId":"206fc3a0-e175-490b-9eaa-a5738056c9f6","shortName":"NLnet Labs","dateUpdated":"2026-11-20T12:38:22.541Z"},"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-20T18:40:34.720556Z","id":"CVE-2026-101340","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-11-20T18:40:44.447Z"}}]}}