# CVE-2026-101340: Query ID predictable from a short sequence of observations

- Severity: Critical 9.1 (CVSS:4.0, scored by NLnet Labs) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2026-11-20T12:38:22.541Z
- Modified: 2026-11-23T16:06:05.540Z
- Weaknesses: CWE-338
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: NLnet Labs

## Description

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.

(As written by CVE List.)

## Affected

- NLnet Labs Net::DNS: from 0.02 before 0.*; from 1.00 before 1.58

## References

- <https://www.net-dns.org/downloads/CVE-2026-101340.txt> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-101340](https://www.cve.org/CVERecord?id=CVE-2026-101340), CVE Terms of Use, modified 2026-11-20
- NVD: [CVE-2026-101340](https://nvd.nist.gov/vuln/detail/CVE-2026-101340), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-101340 · Whole record: https://cve.day/CVE-2026-101340.json · Rebuilt by cve.day 2026-11-25T22:59:52.410Z
