Skip to main content
No exploitation reportedFix available

CVE-2026-64194

No exploitation reported by the sources we read.

  • Published2026-07-20
  • WeaknessCWE-674

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-07-2019:17CVE publishedNVD

Versions per branch

Products declared by the CNA1 product

As CPANSec, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • NLNETLABS Net::DNSother versions: not affected

    package Net-DNShttps://cpan.org/modules

    Affected
    • ≤ 1.55no fix statedcustom

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-07-20

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • libnet-dns-perlUbuntu:26.10all versions · no fixed version listed
  • libnet-dns-perlUbuntu:26.04:LTSall versions · no fixed version listed
  • libnet-dns-perlUbuntu:24.04:LTSall versions · no fixed version listed
  • libnet-dns-perlUbuntu:22.04:LTSall versions · no fixed version listed
  • libnet-dns-perlUbuntu:20.04:LTSall versions · no fixed version listed
  • libnet-dns-perlUbuntu:18.04:LTSall versions · no fixed version listed
  • libnet-dns-perlUbuntu:16.04:LTSall versions · no fixed version listed
  • libnet-dns-perlUbuntu:14.04:LTSall versions · no fixed version listed

21 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-64194 Red Hat Product Security7 known affected

    Net::DNS: Net::DNS: Denial of Service via crafted DNS compression pointers

    perl-Net-DNS-Nameserver as a component of Red Hat Enterprise Linux 7 · perl-Net-DNS.src as a component of Red Hat Enterprise Linux 7 · perl-Net-DNS as a component of Red Hat Enterprise Linux 8 · +4 more

Full record on NVD

Fix

  1. No fix available, says the vendor Red Hat Product Security CVE-2026-64194 · 5 productsFix deferred
  2. No fix planned, says the vendor Red Hat Product Security CVE-2026-64194 · 2 productsOut of support scope

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2026-07-20
Last Modified
2026-10-24
NVD status
Deferred
GitHub Advisory
GHSA-m3gj-74x3-vc94

Frequently asked questions

What is CVE-2026-64194?

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.

Is CVE-2026-64194 actively exploited?

Active exploitation of CVE-2026-64194 has not been confirmed. Its EPSS score was 0.7% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-64194?

CVE-2026-64194 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running Net::DNS? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record