Vulnerability · Published Jul 20, 2026 · Assigned by CPANSec

CVE-2026-64193Net::DNS versions through 1.55 for Perl allow remote execution injection via EDNS EXTENDED ERROR

Critical 9.8

In plain English

A critical-severity security flaw in Net::DNS from NLNETLABS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.4%top 26.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Net::DNS versions through 1.55 for Perl allow remote execution injection via EDNS EXTENDED ERROR. Net::DNS::RR::OPT::EXTENDED_ERROR::_decompose parses the EXTRA-TEXT field of an EDNS EXTENDED-ERROR option (RFC 8914) by tokenising the raw bytes and passing the result to Perl's eval. There is some escaping done for $ and @, but not for backticks. This can be exploited for command execution if $pkt->edns->option('EXTENDED-ERROR') is called in array context, for example with a payload of {0:`"<command>"`} in EXTRA-TEXT.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13libnet-dns-perl1.56-0+deb13u1DEBIAN-CVE-2026-64193
Debian:14libnet-dns-perl1.56-1DEBIAN-CVE-2026-64193
Ubuntu:22.04:LTSlibnet-dns-perlno fix listedUBUNTU-CVE-2026-64193
Ubuntu:24.04:LTSlibnet-dns-perlno fix listedUBUNTU-CVE-2026-64193
Ubuntu:26.04:LTSlibnet-dns-perlno fix listedUBUNTU-CVE-2026-64193
Ubuntu:26.10libnet-dns-perlno fix listedUBUNTU-CVE-2026-64193

Affected products (as reported)

VendorProductVersions
NLNETLABS Net::DNS 0 – through 1.55

Weakness: CWE-95 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References