CVEfocus › CVE database › CVE-2026-101340

CVE-2026-101340Query ID predictable from a short sequence of observations

CVSS 9.1 CriticalEPSS 0.6% (higher than 51% of CVEs)Published 2026-11-20Updated 2026-11-20Assigner: NLnet Labs

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.

CWE-338

What to do

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

13Fix pending
3Under investigation
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libnet-dns-perlFix pendingUBUNTU-CVE-2026-101340
Ubuntu 26.04libnet-dns-perlUnder investigationUBUNTU-CVE-2026-101340
Ubuntu 24.04libnet-dns-perlUnder investigationUBUNTU-CVE-2026-101340
Ubuntu 22.04libnet-dns-perlUnder investigationUBUNTU-CVE-2026-101340
Ubuntu 20.04libnet-dns-perlFix pendingUBUNTU-CVE-2026-101340
Ubuntu 18.04libnet-dns-perlFix pendingUBUNTU-CVE-2026-101340
Ubuntu 16.04libnet-dns-perlFix pendingUBUNTU-CVE-2026-101340
Ubuntu 14.04libnet-dns-perlFix pendingUBUNTU-CVE-2026-101340
Debian 14libnet-dns-perlFix pendingDEBIAN-CVE-2026-101340
Debian 13libnet-dns-perlFix pendingDEBIAN-CVE-2026-101340
Debian 12libnet-dns-perlFix pendingDEBIAN-CVE-2026-101340
Red Hat Enterprise Linux 9perl-Net-DNSFix pending
Affected
Red Hat Enterprise Linux 9perl-Net-DNS-NameserverFix pending
Affected
Red Hat Enterprise Linux 8perl-Net-DNSFix pending
Affected
Red Hat Enterprise Linux 7perl-Net-DNSFix pending
Affected
Red Hat Enterprise Linux 7perl-Net-DNS-NameserverFix pending
Affected
Red Hat Enterprise Linux 6perl-Net-DNSWill not fix
Out of support scope
Red Hat Enterprise Linux 6perl-Net-DNS-NameserverWill not fix
Out of support scope

What the vendor says

As published in the CVE record by NLnet Labs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: This issue is fixed in 1.58 and all later versions.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.