CVE-2026-64193
JSON

9.8critical

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

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.79% (higher than 57% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CPANSec

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

Product or packageVersionsReported by
Net-DNSup to 1.55CVE List

Classification

CWE-95

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Las versiones de Net::DNS hasta la 1.55 para Perl permiten la inyección de ejecución remota a través de EDNS EXTENDED ERROR. Net::DNS::RR::OPT::EXTENDED_ERROR::_decompose analiza el campo EXTRA-TEXT de una opción EDNS EXTENDED-ERROR (RFC 8914) tokenizando los bytes sin procesar y pasando el resultado a la función eval de Perl. Se realiza cierto escape para $ y @, pero no para las comillas invertidas. Esto puede explotarse para la ejecución de comandos si se llama a $pkt -> edns -> option(’EXTENDED-ERROR’) en un contexto de array, por ejemplo, con una carga útil de {0:““[command]””} en EXTRA-TEXT.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-64193 changed 2026-07-21CVE Terms of Use
NVDCVE-2026-64193 changed 2026-10-24Public domain