{"id":"CVE-2026-64193","state":"PUBLISHED","title":"Net::DNS versions through 1.55 for Perl allow remote execution injection via EDNS EXTENDED ERROR","description":"Net::DNS versions through 1.55 for Perl allow remote execution injection via EDNS EXTENDED ERROR.\n\nNet::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.","publishedAt":"2026-07-20T17:54:42.087Z","updatedAt":"2026-07-21T18:55:09.291Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"CPANSec","products":["NLNETLABS Net::DNS"],"affected":[{"vendor":"NLNETLABS","product":"Net::DNS","packageName":"Net-DNS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.55","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/Net/DNS/RR/OPT.pm"],"programRoutines":[{"name":"Net::DNS::RR::OPT::EXTENDED_ERROR::_decompose"}],"repo":"https://www.net-dns.org/svn/net-dns/"}],"references":["https://www.net-dns.org/blog/#release-candidate-for-netdns-1.56","https://rt.cpan.org/Ticket/Display.html?id=179945","https://metacpan.org/release/NLNETLABS/Net-DNS-1.55_01/changes","http://www.openwall.com/lists/oss-security/2026/07/20/12"],"weaknesses":["CWE-95"],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/64xxx/CVE-2026-64193.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64193","state":"PUBLISHED","datePublished":"2026-07-20T17:54:42.087Z","dateUpdated":"2026-07-21T18:55:09.291Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-07-19T10:13:00.756Z"},"containers":{"cna":{"title":"Net::DNS versions through 1.55 for Perl allow remote execution injection via EDNS EXTENDED ERROR","descriptions":[{"lang":"en","value":"Net::DNS versions through 1.55 for Perl allow remote execution injection via EDNS EXTENDED ERROR.\n\nNet::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":[{"vendor":"NLNETLABS","product":"Net::DNS","packageName":"Net-DNS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.55","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/Net/DNS/RR/OPT.pm"],"programRoutines":[{"name":"Net::DNS::RR::OPT::EXTENDED_ERROR::_decompose"}],"repo":"https://www.net-dns.org/svn/net-dns/"}],"references":[{"url":"https://www.net-dns.org/blog/#release-candidate-for-netdns-1.56"},{"url":"https://rt.cpan.org/Ticket/Display.html?id=179945","tags":["issue-tracking"]},{"url":"https://metacpan.org/release/NLNETLABS/Net-DNS-1.55_01/changes","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-95","description":"CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-07-20T17:54:42.087Z"},"credits":[{"lang":"en","type":"reporter","value":"Steffen Ullrich"}],"solutions":[{"lang":"en","value":"Upgrade to version 1.56 or later."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-07-10T00:00:00.000Z","value":"Issue reported publicly via RT."},{"lang":"en","time":"2026-07-10T00:00:00.000Z","value":"Version 1.55_01 (release candidate for version 1.56) published on CPAN."},{"lang":"en","time":"2026-07-18T00:00:00.000Z","value":"Version 1.56 published on CPAN."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/07/20/12"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-07-20T20:30:04.101Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-07-21T18:54:48.456598Z","id":"CVE-2026-64193","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-21T18:55:09.291Z"}}]}}}