CVE-2026-64193: CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in NLNETLABS Net::DNS
Net::DNS for Perl versions up to 1.55 contain a critical vulnerability (CVE-2026-64193) involving improper neutralization of directives in dynamically evaluated code, specifically in the handling of the EDNS EXTENDED-ERROR option. The vulnerability arises because the EXTRA-TEXT field is parsed and passed to Perl's eval with insufficient escaping, allowing remote attackers to execute arbitrary commands. This can lead to full system compromise without requiring authentication.
AI Analysis
Technical Summary
CVE-2026-64193 is a critical code injection vulnerability in NLNETLABS Net::DNS versions up to 1.55 for Perl. The vulnerability occurs in the Net::DNS::RR::OPT::EXTENDED_ERROR::_decompose function, which parses the EXTRA-TEXT field of the EDNS EXTENDED-ERROR option (RFC 8914). This function tokenizes raw bytes and passes them to Perl's eval function. Although some escaping is done for the $ and @ characters, backticks are not escaped, enabling an attacker to inject and execute arbitrary commands remotely if the vulnerable code calls $pkt->edns->option('EXTENDED-ERROR') in array context with a crafted payload. The CVSS v3.1 score is 9.8, reflecting high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary code on the affected system without authentication, leading to complete compromise of confidentiality, integrity, and availability of the system running Net::DNS. This can result in unauthorized command execution and potential full system takeover.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Until a patch is available, avoid processing untrusted EDNS EXTENDED-ERROR options or calling $pkt->edns->option('EXTENDED-ERROR') in array context. Monitor vendor communications for updates and apply official fixes once released.
CVE-2026-64193: CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in NLNETLABS Net::DNS
Description
Net::DNS for Perl versions up to 1.55 contain a critical vulnerability (CVE-2026-64193) involving improper neutralization of directives in dynamically evaluated code, specifically in the handling of the EDNS EXTENDED-ERROR option. The vulnerability arises because the EXTRA-TEXT field is parsed and passed to Perl's eval with insufficient escaping, allowing remote attackers to execute arbitrary commands. This can lead to full system compromise without requiring authentication.
CVSS v3.1
Score 9.8critical
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-64193 is a critical code injection vulnerability in NLNETLABS Net::DNS versions up to 1.55 for Perl. The vulnerability occurs in the Net::DNS::RR::OPT::EXTENDED_ERROR::_decompose function, which parses the EXTRA-TEXT field of the EDNS EXTENDED-ERROR option (RFC 8914). This function tokenizes raw bytes and passes them to Perl's eval function. Although some escaping is done for the $ and @ characters, backticks are not escaped, enabling an attacker to inject and execute arbitrary commands remotely if the vulnerable code calls $pkt->edns->option('EXTENDED-ERROR') in array context with a crafted payload. The CVSS v3.1 score is 9.8, reflecting high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary code on the affected system without authentication, leading to complete compromise of confidentiality, integrity, and availability of the system running Net::DNS. This can result in unauthorized command execution and potential full system takeover.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Until a patch is available, avoid processing untrusted EDNS EXTENDED-ERROR options or calling $pkt->edns->option('EXTENDED-ERROR') in array context. Monitor vendor communications for updates and apply official fixes once released.
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/30/2026, 12:38:01 UTC
Last updated: 09/04/2026, 03:20:37 UTC
Views: 129
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.