CVE-2026-64193: CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in NLNETLABS Net::DNS
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.
AI Analysis
Technical Summary
CVE-2026-64193 describes an improper neutralization of directives in dynamically evaluated code (eval injection) in the Net::DNS Perl module up to version 1.55. The vulnerability exists in the Net::DNS::RR::OPT::EXTENDED_ERROR::_decompose function, which parses the EXTRA-TEXT field of the EDNS EXTENDED-ERROR option (RFC 8914). It tokenizes raw bytes and passes them to Perl's eval function. While some escaping is done for $ and @ characters, backticks are not escaped, enabling an attacker to inject commands that get executed if the EXTENDED-ERROR option is called in array context with a crafted payload containing backticks.
Potential Impact
An attacker can exploit this vulnerability to execute arbitrary commands remotely on a system using the vulnerable Net::DNS Perl module. This can lead to full system compromise depending on the privileges of the process using Net::DNS. There are no known exploits in the wild as of the published date.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid calling $pkt->edns->option('EXTENDED-ERROR') in array context or processing untrusted EDNS EXTENDED-ERROR options. Monitor vendor communications for an official fix or update.
CVE-2026-64193: CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in NLNETLABS Net::DNS
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 software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-64193 describes an improper neutralization of directives in dynamically evaluated code (eval injection) in the Net::DNS Perl module up to version 1.55. The vulnerability exists in the Net::DNS::RR::OPT::EXTENDED_ERROR::_decompose function, which parses the EXTRA-TEXT field of the EDNS EXTENDED-ERROR option (RFC 8914). It tokenizes raw bytes and passes them to Perl's eval function. While some escaping is done for $ and @ characters, backticks are not escaped, enabling an attacker to inject commands that get executed if the EXTENDED-ERROR option is called in array context with a crafted payload containing backticks.
Potential Impact
An attacker can exploit this vulnerability to execute arbitrary commands remotely on a system using the vulnerable Net::DNS Perl module. This can lead to full system compromise depending on the privileges of the process using Net::DNS. There are no known exploits in the wild as of the published date.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid calling $pkt->edns->option('EXTENDED-ERROR') in array context or processing untrusted EDNS EXTENDED-ERROR options. Monitor vendor communications for an official fix or update.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-07-19T10:13:00.756Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5e6c132a4a8d59898880fc
Added to database: 07/20/2026, 18:42:27 UTC
Last enriched: 07/20/2026, 18:58:18 UTC
Last updated: 07/21/2026, 08:07:01 UTC
Views: 16
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.