CVE-2026-64194 Details
Description
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.
A denial-of-service vulnerability has been identified in Net::DNS versions through 1.55 for Perl. The issue arises from the 'Net::DNS::DomainName::decode' method, which follows DNS compression pointers without a depth limit. This flaw allows the creation of a name that can saturate the call stack, particularly with larger TCP responses, leading to a crash. The vulnerability exploits the two-byte compression pointers by chaining them in a way that creates a long backward chain, causing excessive recursion. The problem was triggered when the library decoded a DNS message from the network.
Users are advised to upgrade to Net::DNS version 1.56 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 20, 2026CISA-ADP
Assessed Jul 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://metacpan.org/release/NLNETLABS/Net-DNS-1.55_01/changes | CPANSec | Release NotesVendor |
| https://rt.cpan.org/Ticket/Display.html?id=179946 | CPANSec | ExploitIssue TrackingTechnical DescriptionVendor |
| https://www.net-dns.org/blog/#release-candidate-for-netdns-1.56 | CPANSec | Release NotesVendor |
| https://lists.debian.org/debian-lts-announce/2026/08/msg00052.html | CVE | |
| http://www.openwall.com/lists/oss-security/2026/07/20/13 | CVE | AdvisoryMailing List |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-674 | Uncontrolled Recursion | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| Net::DNS | <= 1.55 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 30, 2026 | CVE Modified | CPANSec |
| Aug 30, 2026 | CVE Modified | CVE |
| Jul 21, 2026 | CVE Modified | CISA-ADP |
| Jul 20, 2026 | CVE Modified | CVE |
| Jul 20, 2026 | New CVE Received | CPANSec |
Volerion