Query ID predictable from a short sequence of observations
- CVE-2026-101340
- GHSA-fc2c-c7cj-qwpr
- EUVD-2026-131553
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.
Text from the CVE.org record.
Recommendation
NLnet Labs Net::DNS
- If you run a version from 1.00 to before 1.58update to 1.58 or laterMinor version change: check the release notes
Some affected versions have no stated fix.
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
NLnet Labs Net::DNS
Affected versions Fixed in from 1.00 to before 1.58 1.58 from 0.02 to before 0.* none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.