CVE-2026-101340NLnet Labs Net::DNS
Weak DNS Query ID Prediction in Net::DNS
Critical 9.1 No auth needed
Follow: this CVE · NLnet Labs · NLnet Labs Net::DNS We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 4.0
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Nov 20, 2026
- Updated
- Nov 23, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-338
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Net::DNS version 1.57 and earlier use Perl's rand() function to generate 16-bit DNS query IDs, allowing an attacker who observes the ID sequence to expose the internal PRNG state and predict future queries. A remote attacker can inject forged DNS responses without authentication, compromising DNS resolution integrity.
Show the original NVD text
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.
What to do
No patch data
Update Net::DNS to a version after 1.57 when available. In the meantime, consider using a cryptographically secure random number generator or implementing additional DNS response validation.
- Apply the vendor's security update for Net::DNS.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- NLnet Labs · Net::DNS
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: perl-Net-DNS security update · Red Hat · RHSA-2026:104757 · Dec 1, 2026 High
- Red Hat Security Advisory: perl-Net-DNS security update · Red Hat · RHSA-2026:104758 · Dec 1, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.