CVE-2026-64193

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

Published Jul 20, 2026 CVSS 3.1 · 9.8 Critical EPSS 1.4% KEV · Not listed
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.

Remediation

Vendor Solution

Upgrade to version 1.56 or later.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6459-1 libnet-dns-perl security update
History
Type Values Removed Values Added
First Time appeared Nlnet Labs
Nlnet Labs net Dns
Vendors & Products Nlnet Labs
Nlnet Labs net Dns
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Net::DNS versions through 1.55 for Perl allow remote execution injection via EDNS EXTENDED ERROR
Weaknesses CWE-95
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Jul 21, 2026, 6:55 PM
Reserved
Jul 19, 2026, 10:13 AM
Status
Deferred
Published
Jul 20, 2026, 7:17 PM
Modified
Oct 24, 2026, 8:10 PM
Severity
Critical
Public date
Jul 20, 2026, 5:54 PM