Fedora Account System
Red Hat Associate
Red Hat Customer
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.
Upstream patch: https://metacpan.org/release/NLNETLABS/Net-DNS-1.55_01/diff/NLNETLABS/Net-DNS-1.55/lib/Net/DNS/RR/OPT.pm It combines fixes for two upstream bug reports: https://rt.cpan.org/Public/Bug/Display.html?id=179945 (this issues) https://rt.cpan.org/Public/Bug/Display.html?id=179946 (CVE-2026-64194) The eval was first introduced to _decompose() in Net::DNS::RR::OPT::EXTENDED_ERROR in version 1.37, so earlier versions are unaffected: https://metacpan.org/release/NLNETLABS/Net-DNS-1.37/diff/NLNETLABS/Net-DNS-1.36/lib/Net/DNS/RR/OPT.pm