CVE-2026-64193 Net::DNS versions through 1.55 for Perl allow remote execution injection via EDNS EXTENDED ERROR
Remote attackers can execute arbitrary commands via crafted EDNS EXTENDED ERROR packets in the Net::DNS Perl library due to unsafe eval usage.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-64193?
CVE-2026-64193 is a critical code injection vulnerability in NLNETLABS Net::DNS, published on 20 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-95
Which versions are affected by CVE-2026-64193?
How do I fix CVE-2026-64193?
Upgrade to a fixed version.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-64193 being exploited?
There is no known exploitation of CVE-2026-64193 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-64193, GHSA-hwpr-jc4f-7ww3, OESA-2026-3626, OESA-2026-3627, OESA-2026-3871, UBUNTU-CVE-2026-64193.