CVE-2026-101340
Query ID predictable from a short sequence of observations
Critical · 9.1Fix available
- CVSS
- 9.1
- EPSS
- 0.43% (p29)
- Published
- 2026-11-20
- Age
- 11d old
- Modified
- 2026-11-23
- Product
- NLnet Labs Net::DNS
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
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.
Fixed in
0.* · 1.58
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Net::DNS | >=0.02, <0.* | 0.* |
| vendor | Net::DNS | >=1.00, <1.58 | 1.58 |
Sources
References
- https://www.net-dns.org/downloads/CVE-2026-101340.txt vendor-advisory