CVEfocus › CVE database › CVE-2026-64194

CVE-2026-64194Net::DNS versions through 1.55 for Perl allow Denial of Service via deep DNS compression…

CVSS 7.5 HighEPSS 0.7% (higher than 48% of CVEs)Published 2026-07-20Updated 2026-08-30Assigner: CPANSec

Net::DNS versions through 1.55 for Perl allow Denial of Service via deep DNS compression pointer chains. Net::DNS::DomainName::decode follows RFC 1035 compression pointers by recursing into itself with no depth limit. It is possible to construct a name which saturates the call stack (at least with larger TCP responses), leading to a potential Denial of Service. The guard `$link < $offset` prevents forward and circular chains, but still allows arbitrarily long backward chains. The per-offset cache (`$cache`) is populated at the start of each call and short-circuits only re-traverses of the same offset - the initial descent through a fresh chain still recurses at full depth. A crafted packet can chain two-byte compression pointers so that each one points two bytes earlier than the previous, producing a chain length of `offset / 2`. For the 14-bit pointer field (max offset 16383) this gives up to ~8191 recursive frames. For a TCP DNS message the limit is the 16-bit length field (~32767 frames). Perl's default C stack handles only a few thousand frames; beyond that the process receives SIGSEGV or similar, which is a denial-of-service for any application parsing untrusted DNS data. The vulnerability is triggered by `Net::DNS::Packet->new(\$wire)` i.e. any point where the library decodes a DNS message from the network.

CWE-674

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

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

3Fixed
8Fix pending
3Under investigation
2Will not fix
2Not affected

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-64194
Ubuntu 26.04libnet-dns-perlUnder investigationUBUNTU-CVE-2026-64194
Ubuntu 24.04libnet-dns-perlUnder investigationUBUNTU-CVE-2026-64194
Ubuntu 22.04libnet-dns-perlUnder investigationUBUNTU-CVE-2026-64194
Ubuntu 20.04libnet-dns-perlFix pendingUBUNTU-CVE-2026-64194
Ubuntu 18.04libnet-dns-perlFix pendingUBUNTU-CVE-2026-64194
Ubuntu 16.04libnet-dns-perlFix pendingUBUNTU-CVE-2026-64194
Ubuntu 14.04libnet-dns-perlFix pendingUBUNTU-CVE-2026-64194
Debian 14libnet-dns-perlFixed1.56-1DEBIAN-CVE-2026-64194
Debian 13libnet-dns-perlFixed1.56-0+deb13u1DEBIAN-CVE-2026-64194
Debian 12libnet-dns-perlFixed1.36-1+deb12u1DEBIAN-CVE-2026-64194
Red Hat Enterprise Linux 9perl-Net-DNSFix pending
Fix deferred
Red Hat Enterprise Linux 9perl-Net-DNS-NameserverFix pending
Fix deferred
Red Hat Enterprise Linux 8perl-Net-DNSFix pending
Fix deferred
Red Hat Enterprise Linux 7perl-Net-DNSWill not fix
Out of support scope
Red Hat Enterprise Linux 7perl-Net-DNS-NameserverWill not fix
Out of support scope
Red Hat Enterprise Linux 6perl-Net-DNSNot affected
Red Hat Enterprise Linux 6perl-Net-DNS-NameserverNot affected

What the vendor says

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

Solution: Upgrade to version 1.56 or later.

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.