CVE-2026-101340
Received Received - Intake

Predictable Query ID in Net::DNS Leading to DNS Spoofing

Vulnerability report for CVE-2026-101340, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-20

Last updated on: 2026-11-20

Assigner: NLnet Labs

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-20
Last Modified
2026-11-20
Generated
2026-11-20
AI Q&A
2026-11-20
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
nlnetlabs net_dns to 1.57 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-338 The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Net::DNS versions up to 1.57 use a 16-bit query ID generated by Perl's rand() function for matching DNS responses to requests. This ID can be predicted by attackers who observe the sequence, allowing them to inject forged DNS responses before the legitimate ones are received.

Detection Guidance

Detection involves monitoring DNS query ID sequences for predictability. Use tools like Wireshark to capture DNS traffic and analyze query ID patterns. Check if Net::DNS versions are below 1.58, as this vulnerability affects versions up to and including 1.57.

Impact Analysis

An attacker could intercept or manipulate DNS responses, redirecting users to malicious servers without their knowledge. This could lead to data theft, phishing attacks, or unauthorized access to sensitive information.

Compliance Impact

This vulnerability could violate data integrity and confidentiality requirements in GDPR and HIPAA. Unauthorized DNS manipulation may expose personal or health data to attackers, leading to compliance breaches and potential legal consequences.

Mitigation Strategies

Upgrade Net::DNS to version 1.58 or later, which addresses the predictable query ID issue. Monitor network traffic for unexpected DNS responses and implement DNSSEC to validate responses.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-101340. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...