Skip to main content

Net::DNS EUVDEUVD-2026-131553

| CVE-2026-101340 CRITICAL
Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) (CWE-338)
2026-11-20 NLnet Labs GHSA-fc2c-c7cj-qwpr
9.1
CVSS 4.0 · Vendor: NLnet Labs
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Observe victim's outgoing DNS query IDs
  2. Delivery
    Recover Perl rand() PRNG internal state
  3. Exploit
    Predict upcoming 16-bit query ID
  4. Execution
    Inject forged DNS response with predicted ID
  5. Impact
    Redirect victim to attacker-controlled resolution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Cryptographic PRNG selection
Exploitation Conditions

The attacker must be able to observe the sequence of outgoing query IDs from the victim Net::DNS instance (on-path or otherwise able to see the queries) in order to recover the rand() PRNG state and predict future IDs - this observation capability is the attack requirement (AT:P) and the primary limiting factor. The flaw affects all Net::DNS versions up to and including 1.57, and the advisory explicitly states the 1.57 deduplication cache does not reduce feasibility. No authentication (PR:N) and no user interaction (UI:N) are required; the limiting factor is the need to observe query IDs, not any special victim configuration, so this is not fully blind off-path spoofing against a default deployment.

Impact

This is a genuine high-priority issue, not a CVSS-inflated one. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H) describes a network-reachable, unauthenticated integrity-and-confidentiality compromise, and the vuln.today decision label is act_now, consistent with a reporter (NLnet Labs) who is a credible DNS authority. The weakness is architectural: query IDs come from Perl's non-cryptographic rand(), so CWE-338 (weak PRNG) directly enables DNS response forgery against any resolver/client using Net::DNS up to and including 1.57. The one tempering factor is AT:P - the attacker needs the ability to observe the query-ID sequence to recover PRNG state, so this is not blind off-path spoofing; it is a conditional-but-strong attack. No EPSS score, no CISA KEV entry, and no public exploit were provided in the input, so exploitation probability signals are absent rather than reassuring; treat the absence of EPSS/KEV as missing data, not as evidence of low risk. Net worth: prioritize patching/upgrading, because the flaw is systemic to the library and the vendor-equivalent reporter rates it act_now.

Exploit ScenarioDerived

An attacker positioned to observe the outgoing query IDs of a victim Net::DNS instance records several IDs, recovers the internal state of Perl's rand() generator, and predicts the ID of the next DNS query. Before the legitimate response arrives, the attacker injects a forged response carrying the predicted ID, causing the victim to accept attacker-controlled DNS data (e.g., redirecting a hostname to an attacker host). No authentication or user interaction is required, but the attacker must be able to see the query-ID sequence; no public exploit code was identified in the provided data.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 20, 2026

Response forgery against Net::DNS releases up to and including 1.57: because the 16-bit DNS transaction ID is generated with Perl's built-in rand(), an attacker who can observe the sequence of outgoing query IDs can recover the PRNG's internal state and predict IDs before they are sent, then inject forged responses that the victim resolver accepts as legitimate. The assessed CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/C:H/I:H/A:N) reflects the prerequisite that the attacker must be on-path or otherwise able to observe query IDs (AT:P in the CVSS 4.0 vector), not any authentication or user-interaction requirement; no public exploit is identified at time of analysis and no CISA KEV entry applies. The reporting and assessment both treat this as a genuine high-priority issue requiring action rather than a CVSS-inflated score, and the advisory explicitly notes that the 1.57 deduplication cache does not reduce feasibility.

RemediationAI

No vendor-released patch or fixed version is identified in the supplied data, so the Net::DNS advisory at https://www.net-dns.org/downloads/CVE-2026-101340.txt must be consulted for the version that addresses this issue before scheduling an upgrade; upgrading to 1.57 alone is not a fix, since the advisory states the 1.57 deduplication cache does not affect the feasibility of the attack. The supplied sources document no workarounds or compensating controls, so none can be recommended from this data. Triage should account for the assessed precondition: exploitation requires the attacker to observe the victim's outgoing query IDs, so the practical exposure of a given Net::DNS deployment depends on whether such an observer is in the threat model, and no authentication or user interaction is needed once that visibility exists.

Affected VersionsENISA

Net::DNS 1.00 <1.58
Net::DNS 0.02 <0.*

Affected Packages

euvd net_dns fix: 1.58

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Net::DNS is a Perl library used to build resolvers and DNS-speaking clients and servers; like most DNS implementations it relies on the 16-bit transaction ID in the DNS header, combined with source-port randomness, to bind a response to its query. CWE-338 (use of a cryptographically weak PRNG) is the root cause here: versions through 1.57 derive that ID from Perl's rand(), a non-cryptographic generator whose internal state can be reconstructed from observed outputs. Each emitted query exposes a sample of that stream, so an observer collecting enough query IDs can predict the IDs of future queries and pre-emptively forge matching responses. The CPE cpe:2.3:a:nlnet_labs:net::dns:*:*:*:*:*:*:*:* covers the affected package across all versions up to and including 1.57; the exact response-parsing path where the forged answer is accepted and the quantity of observed IDs needed for state recovery are not described in the available sources. The advisory notes that the deduplication cache introduced in 1.57 offers no protection, so that release should not be treated as mitigated.

Know when Net gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (NLnet Labs) PRIMARY 9.1 CRITICAL
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
vuln.today AI 7.4 HIGH

Unauthenticated network forgery (PR:N/AV:N), but requires observing the query-ID sequence to derive PRNG state, so AC:H; forged responses break resolution integrity and confidentiality (C:H/I:H), no availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 7.4 HIGH

Primary rating from Vendor (NLnet Labs).

CVSS VectorVendor: NLnet Labs

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 20, 2026 - 14:02 EUVD
CVE Published
Nov 20, 2026 - 12:38 cve.org
CRITICAL 9.1

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A critical vulnerability in the widely used Perl Net::DNS library (versions up to 1.57) allows attackers who can observe network traffic to predict DNS transaction IDs and inject forged responses, potentially redirecting users to malicious sites or enabling service disruption. Organizations relying on Perl-based DNS resolvers or clients are at risk, and leadership should prioritize remediation due to the potential for data theft and operational impact.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: restricting DNS traffic to trusted networks, enabling DNSSEC validation, using DNS over HTTPS/TLS, monitoring for unusual DNS query patterns, and segmenting critical systems.

Threat Intelligence Overview

EPSS Score
0.6%
Top 49% exploitable
Prevalence
Medium
de facto DNS library for Perl, embedded in many tools and scripts
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

More in Net

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2026-111497 CRITICAL POC
9.2 Oct 21

Remote code execution is possible in Node.js releases that bundle a vulnerable Brotli decoder: a malformed brotli-compre

CVE-2023-38180 HIGH
7.5 Aug 08

.NET and Visual Studio Denial of Service Vulnerability. Rated high severity (CVSS 7.5), this vulnerability is remotely e

CVE-2026-69439 HIGH POC
8.8 Sep 08

Heap-based buffer overflow (CWE-122) in Microsoft .NET and Visual Studio allows a network-based unauthenticated attacker

CVE-2026-71328 HIGH POC
8.8 Sep 08

Heap-based buffer overflow in Microsoft Visual Studio 2022 and 2026 enables network-delivered remote code execution when

CVE-2026-62886 HIGH POC
7.8 Aug 11

Privilege escalation in Microsoft .NET runtimes (8.0, 9.0, and 10.0) and Microsoft Visual Studio 2022 and 2026 results f

CVE-2026-62871 HIGH POC
7.8 Aug 11

Heap-based buffer overflow (CWE-122) in Microsoft .NET enables local code execution across all actively supported .NET r

CVE-2026-70354 HIGH POC
7.8 Aug 11

Local code execution via out-of-bounds write in Microsoft .NET allows an unauthenticated local attacker to achieve full

CVE-2026-62909 HIGH POC
7.8 Aug 11

Local privilege escalation in Microsoft .NET (versions 8.0, 9.0, and 10.0) and Microsoft Visual Studio 2022/2026 allows

CVE-2026-62901 HIGH POC
7.5 Aug 11

Denial-of-service in Microsoft .NET runtimes and Visual Studio allows unauthenticated remote attackers to crash or hang

CVE-2023-36049 CRITICAL
9.8 Nov 14

.NET, .NET Framework, and Visual Studio Elevation of Privilege Vulnerability. Rated critical severity (CVSS 9.8), this v

CVE-2026-62897 HIGH POC
7.0 Aug 11

Integer overflow in Microsoft .NET Framework and modern .NET runtimes enables local code execution with full process com

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy