CPANSA-Net-DNS-2026-64193: Net-DNS vulnerability

Publisher giterlizzi Document category csaf_security_advisory
Initial release date 2026-07-20T00:00:00 Engine CSAF Perl Toolkit 0.26
Current release date 2026-07-20T00:00:00 Build Date
Current version 1 Status final
CVSS v3.1 Base Score 9.8 Severity Critical
Original language Language en
Also referred to

Vulnerability 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:`""`} in EXTRA-TEXT.

Vulnerabilities

CVE-2026-64193

Vulnerability 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:`""`} in EXTRA-TEXT.

Weakness CWE-95 : Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Product status

Known affected
Product Score
Net-DNS less than 1.56
CVSS Version CVSS Vector CVSS Base Score CVSS Base Severity
3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 9.8 Critical
Fixed

giterlizzi

Namespace: https://github.com/giterlizzi/

gdt@cpan.org

References

Revision history

Version Date of the revision Summary of the revision
1 Mon Jul 20 00:00:00 2026 First release

Sharing rules

TLP:WHITE
For the TLP version see: https://www.first.org/tlp/