Home / NLnet Labs / Net::DNS / CVE-2026-101340
CVE-2026-101340: is it exploited, and which versions of NLnet Labs Net::DNS are affected and fixed?
CVE-2026-101340 is a weak random number generator vulnerability in NLnet Labs Net::DNS. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: Net::DNS every 0 version and Net::DNS from 1.00 before 1.58 (CVE record by NLnet Labs). Fixed in 1.58 (CVE record by NLnet Labs). Severity: Critical (9.1, CVSS 4.0, from NLnet Labs).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 28, 2026, 20:58 UTC and NVD November 23, 2026, 16:08 UTC.
What is CVE-2026-101340?
Query ID predictable from a short sequence of observations
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.
From the CVE record by NLnet Labs, last updated November 20, 2026, 18:40 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| NLnet Labs | Net::DNS | every 0 version from 1.00 before 1.58 | 1.58 |
As the CVE record by NLnet Labs states it, last updated November 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-101340?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 4.0 | 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 | NLnet Labs |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-101340 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, November 20, 2026)
- EPSS
- 0.63% probability of exploitation activity in the next 30 days, percentile 51.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
How do I fix it? (from the CVE record)
This issue is fixed in 1.58 and all later versions.
Where are the vendor advisories and references?
- https://www.net-dns.org/downloads/CVE-2026-101340.txt vendor-advisory
Who found and reported it?
- Xiang Li, Aichun Huang, Zheli Liu (AOSP Lab @Nankai University) (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 28, 2026
- Published
- November 20, 2026, 12:38 UTC
- CVE record updated
- November 20, 2026, 18:40 UTC by NLnet Labs
- NVD
- Awaiting Analysis, last modified November 23, 2026, 16:06 UTC
- Last checked
- CVE list November 28, 2026, 20:58 UTC; NVD November 23, 2026, 16:08 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Net::DNS?
- Jun 25, 2007CVE-2007-3377 Nlnet Labs Net Dns: n/a
Questions about CVE-2026-101340
Is CVE-2026-101340 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 0.63% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of NLnet Labs Net::DNS are affected by CVE-2026-101340?
Net::DNS every 0 version and Net::DNS from 1.00 before 1.58, per the CVE record by NLnet Labs. The tables above give every range the sources list.
Which version fixes CVE-2026-101340?
1.58, per the CVE record by NLnet Labs. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-101340?
Critical (9.1, CVSS 4.0, from NLnet Labs). The severity table above shows each score with its source.
Where is the official record of CVE-2026-101340?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.