cve.bz

CVE-2026-64194 nlnetlabs net dns: Uncontrolled Recursion

7.5 highEPSS 0.7%

High (7.5) in nlnetlabs net dns. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 53rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-07-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-674 Uncontrolled Recursion
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-64194 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-64194?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-64194?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-64194 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
NLNETLABS Net::DNSthrough 1.55

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libnet-dns-perl1.29-1+deb11u1DLA-4761-1
Debian12libnet-dns-perl1.36-1+deb12u1DEBIAN-CVE-2026-64194 DLA-4761-1
Debian13libnet-dns-perl1.56-0+deb13u1DEBIAN-CVE-2026-64194 DSA-6459-1
Debian14libnet-dns-perl1.56-1DEBIAN-CVE-2026-64194
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTS and 5 morelibnet-dns-perlno fix listedUBUNTU-CVE-2026-64194
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moreperl-Net-DNS1.14-150000.3.3.1SUSE-SU-2026:3456-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5perl-Net-DNS0.73-5.3.1SUSE-SU-2026:3431-1
openSUSELeap 16.0perl-Net-DNS1.460.0-bp160.2.1openSUSE-SU-2026:21437-1
openSUSELeap 16.0perl-Net-DNS1.570.0-bp160.1.1openSUSE-SU-2026:21859-1
openSUSETumbleweedperl-Net-DNS1.560.0-1.1openSUSE-SU-2026:11396-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Contrary to the CVE description, this issue does not easily trigger an application crash via stack memory exhaustion, as the Perl interpreter handles this recursion without doing recursive function calls and by saving recursion state on the heap. It is possible to trigger a crash via out-of-(heap)-memory condition. Due to the input size being restricted via DNS protocol packet limits, such condition is only triggerable for processes with low heap memory limits. For processes with higher or no heap memory limit, this issue triggers transient limit memory usage spike.

Based on the impact described above, Red Hat has rated this issue as having Moderate security impact.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6perl-Net-DNSNot affected
Red Hat Enterprise Linux 7perl-Net-DNSOut of support scope
Red Hat Enterprise Linux 8perl-Net-DNSFix deferred
Red Hat Enterprise Linux 9perl-Net-DNSFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-64194.

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON