- Home
- Vulnerabilities
- CVE-2026-101340
CVE-2026-101340
Query ID predictable from a short sequence of observations
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
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
- — CVE published (cve)
References
- https://www.net-dns.org/downloads/CVE-2026-101340.txtvendor-advisory
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)