Predictable Query ID Vulnerability in Net::DNS Affects Perl Applications
CVE-2026-101340
9.1CRITICAL
What is CVE-2026-101340?
The Net::DNS library in Perl utilizes a 16-bit query ID drawn from Perl's rand() function, which can be monitored by attackers. This allows them to anticipate query IDs and manipulate responses, leading to successful injection of forged DNS responses. Users of affected versions are urged to review the security implications, as the internal state of the Pseudo-Random Number Generator (PRNG) can be compromised, increasing the vulnerability to attacks despite the deduplication cache present in version 1.57.
Affected Version(s)
Net::DNS 0.02 < 0.*
Net::DNS 1.00 < 1.58
References
CVSS V4
Score:
9.1
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Xiang Li, Aichun Huang, Zheli Liu (AOSP Lab @Nankai University)
