Net::DNS versions through 1.55 for Perl allow remote execution injection via EDNS EXTENDED ERROR
Summary
| CVE | CVE-2026-64193 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-20 19:17:30 UTC |
| Updated | 2026-07-20 21:16:50 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-95 | CWE-95 CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.openwall.com/lists/oss-security/2026/07/20/12 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| www.net-dns.org/blog | 9b29abf9-4ab0-4765-b253-1875cd9b441e | www.net-dns.org | |
| metacpan.org/release/NLNETLABS/Net-DNS-1.55_01/changes | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | |
| rt.cpan.org/Ticket/Display.html | 9b29abf9-4ab0-4765-b253-1875cd9b441e | rt.cpan.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Steffen Ullrich (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-07-10T00:00:00.000Z | Issue reported publicly via RT. |
| CNA | 2026-07-10T00:00:00.000Z | Version 1.55_01 (release candidate for version 1.56) published on CPAN. |
| CNA | 2026-07-18T00:00:00.000Z | Version 1.56 published on CPAN. |
Solutions
CNA: Upgrade to version 1.56 or later.
There are currently no legacy QID mappings associated with this CVE.