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.
Weaknesses
- CWE-95 — CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| NLNETLABS | Net::DNS | 0 to <=1.55 |
References
Generated from the official CVE List on 21 Jul 2026 07:01 UTC.