CVE-2026-64194Net::DNS versions through 1.55 for Perl allow Denial of Service via deep DNS compression…
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libnet-dns-perl | Fix pending | UBUNTU-CVE-2026-64194 | |
| Ubuntu 26.04 | libnet-dns-perl | Under investigation | UBUNTU-CVE-2026-64194 | |
| Ubuntu 24.04 | libnet-dns-perl | Under investigation | UBUNTU-CVE-2026-64194 | |
| Ubuntu 22.04 | libnet-dns-perl | Under investigation | UBUNTU-CVE-2026-64194 | |
| Ubuntu 20.04 | libnet-dns-perl | Fix pending | UBUNTU-CVE-2026-64194 | |
| Ubuntu 18.04 | libnet-dns-perl | Fix pending | UBUNTU-CVE-2026-64194 | |
| Ubuntu 16.04 | libnet-dns-perl | Fix pending | UBUNTU-CVE-2026-64194 | |
| Ubuntu 14.04 | libnet-dns-perl | Fix pending | UBUNTU-CVE-2026-64194 | |
| Debian 14 | libnet-dns-perl | Fixed | 1.56-1 | DEBIAN-CVE-2026-64194 |
| Debian 13 | libnet-dns-perl | Fixed | 1.56-0+deb13u1 | DEBIAN-CVE-2026-64194 |
| Debian 12 | libnet-dns-perl | Fixed | 1.36-1+deb12u1 | DEBIAN-CVE-2026-64194 |
| Red Hat Enterprise Linux 9 | perl-Net-DNS | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | perl-Net-DNS-Nameserver | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | perl-Net-DNS | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | perl-Net-DNS | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | perl-Net-DNS-Nameserver | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | perl-Net-DNS | Not affected | ||
| Red Hat Enterprise Linux 6 | perl-Net-DNS-Nameserver | Not 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.
- NLNETLABS Net::DNS: affected: up to 1.55
Solution: Upgrade to version 1.56 or later.
Vendor advisories:
- https://metacpan.org/release/NLNETLABS/Net-DNS-1.55_01/changes (release-notes)
References
- https://www.net-dns.org/blog/#release-candidate-for-netdns-1.56
- https://rt.cpan.org/Ticket/Display.html?id=179946
- https://metacpan.org/release/NLNETLABS/Net-DNS-1.55_01/changes
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.