CPANSA-Net-DNS-2026-101340: Net-DNS vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-11-20T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-11-20T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | Severity | ||
| Original language | Language | en | |
| Also referred to | |||
Vulnerability 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.
Vulnerabilities
CVE-2026-101340
Vulnerability DescriptionNet::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.
| Weakness | CWE-338 : Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) |
|---|
Product status
Known affected
| Product | Score | ||||
|---|---|---|---|---|---|
| Net-DNS less than 1.58 |
|
Fixed
- Net-DNS greater than or equal 1.58
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Net-DNS-2026-101340 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-net-dns-2026-101340.json - https://www.net-dns.org/downloads/CVE-2026-101340.txt external
https://www.net-dns.org/downloads/CVE-2026-101340.txt - CVE-2026-101340 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-101340
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Fri Nov 20 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/