1. Home
  2. Vulnerabilities
  3. CVE-2026-101340

CVE-2026-101340

Query ID predictable from a short sequence of observations

Published 20 Nov 2026 · modified 23 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 43/100

Summary

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.

Affected products and versions

NLnet Labs (2 line(s))
NLnet Labs
ProductVersionsFixed inSource
Net::DNS 0.02 — CNA (vendor or assigner)
Net::DNS from 1.00 (included) to 1.58 (excluded) — CNA (vendor or assigner)

Fix

Patchofficial source

This issue is fixed in 1.58 and all later versions.

Source : CNA (vendor or assigner)

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
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 (CVSS 4.0, CNA:NLnet Labs)
Weakness
CWE-338 · Autre (CWE-338)

How this data is obtained and calculated