Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

Net::DNS Predictable Query IDs (CVE-2026-101340)

CVE-2026-101340 is a predictable query ID flaw in Net::DNS.

Reviewed by
Brandefense Analyst Team
Published
Reading Time
3 min read
CVE ID
CVE-2026-101340
Vendor
NLnet Labs
Affected Product
Net::DNS
Exploitation
Not confirmed
Published
2026-11-20

NLnet Labs says versions through 1.57 derive the 16-bit DNS query ID from Perl's built-in rand() function. An attacker who observes a sequence of IDs can predict later IDs before transmission and inject forged responses.NLnet Labs published the CVE record on 20 November 2026 and released the fix in Net::DNS 1.58. The record classifies the weakness as use of a cryptographically weak pseudo-random number generator, CWE-338.

What it allows

How Does CVE-2026-101340 Affect DNS Responses?

Net::DNS uses a 16-bit query ID to match a response with its request. In affected releases, Perl's rand() supplies that ID. NLnet Labs says an observer of several IDs can expose the generator's internal state and predict IDs before Net::DNS sends the corresponding queries.

The attacker can then inject forged responses toward a victim Net::DNS instance. The record does not describe a particular application outcome or say that every Net::DNS deployment is reachable to such an observer. The relevant exposure is a deployment in which an attacker can observe the query ID sequence and deliver forged responses.

NLnet Labs explicitly says the deduplication cache introduced in 1.57 does not change the attack's feasibility. Do not treat that cache as a substitute for the 1.58 fix. This flaw can inform a review of DNS response manipulation risks in applications using the library.

Brandefense Blackhole counted three dark-chat posts mentioning CVE-2026-101340 from 24 August through 22 November 2026. The measured unit is a post mentioning the CVE, not an affected installation or confirmed intrusion. This discussion signal does not establish exploitation.

Who is affected

Which Net::DNS Versions Are Affected by CVE-2026-101340?

NLnet Labs describes Net::DNS versions up to and including 1.57 as affected and says 1.58 and later are fixed. Its structured record separately lists 1.00 up to, but not including, 1.58. It also lists a 0.02 line with an unusual 0.* upper bound.

Because 0.* is not a precise comparable release number, check older 0.x installations manually against the NLnet Labs record. Record the installed Net::DNS version in each application or image, including any copies supplied by distribution packages. Use a patch management process to track the upgrade and verify the loaded version after deployment.

For product context, see the vulnerability intelligence platform. The vendor's 1.58 release remains the source for the fix threshold.

Timeline

  1. 2026-11-08

    NLnet Labs says Xiang Li reported the issue.

  2. 2026-11-17

    NLnet Labs says it shared a patch.

  3. 2026-11-19

    NLnet Labs says the researcher verified the patch.

  4. 2026-11-20

    NLnet Labs released Net::DNS 1.58 and published the CVE record.

What to do

  1. Inventory Net::DNS installations

    Identify applications, containers and distribution packages that load Net::DNS. Record the actual module version used at runtime, including copies embedded in an application.

  2. Upgrade affected releases

    Move installations running Net::DNS through 1.57 to version 1.58 or later. For older 0.x packages, compare the package's upstream version and patches with the NLnet Labs record manually.

  3. Verify the running version

    After deployment, check the Net::DNS version loaded by each application process. Confirm it is 1.58 or later, or document a distribution maintainer's backport evidence.

  4. Review DNS response anomalies

    As defensive guidance, review available resolver and network logs for unexpected DNS response changes affecting applications that use Net::DNS. Investigate anomalies in context; this is not a vendor detection signature.

What Brandefense can do

Frequently Asked Questions

What does CVE-2026-101340 let an attacker predict?

NLnet Labs says an attacker who observes a sequence of Net::DNS query IDs can predict IDs before later queries are transmitted. That can expose the instance to forged responses.

Does the Net::DNS 1.57 deduplication cache prevent the attack?

No. NLnet Labs explicitly says the 1.57 deduplication cache does not affect this attack's feasibility. Version 1.58 contains the fix.

Which Net::DNS version fixes the issue?

NLnet Labs says the fix is in Net::DNS 1.58 and all later versions. Verify the version loaded by each application after upgrading.

Is CVE-2026-101340 in CISA's KEV catalog?

The CISA KEV catalog snapshot released on 20 November 2026 did not list this CVE. Catalog status does not decide whether a particular installation is vulnerable.

Sources

  1. CVE-2026-101340 RecordNLnet Labs CNA via CVE Program
  2. Known Exploited Vulnerabilities CatalogCISA
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →