| Name | CVE-2026-64193 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6459-1 |
| Debian Bugs | 1142503 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libnet-dns-perl (PTS) | bullseye | 1.29-1 | fixed |
| bullseye (security) | 1.29-1+deb11u1 | fixed | |
| bookworm | 1.36-1 | fixed | |
| bookworm (security) | 1.36-1+deb12u1 | fixed | |
| trixie | 1.50-1 | vulnerable | |
| trixie (security) | 1.56-0+deb13u1 | fixed | |
| forky, sid | 1.56-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libnet-dns-perl | source | bullseye | (not affected) | |||
| libnet-dns-perl | source | bookworm | (not affected) | |||
| libnet-dns-perl | source | trixie | 1.56-0+deb13u1 | DSA-6459-1 | ||
| libnet-dns-perl | source | (unstable) | 1.56-1 | 1142503 |
[bookworm] - libnet-dns-perl <not-affected> (Vulnerable code introduced later)
[bullseye] - libnet-dns-perl <not-affected> (Vulnerable code introduced later)
https://lists.security.metacpan.org/cve-announce/msg/41989543/
https://rt.cpan.org/Ticket/Display.html?id=179945
https://metacpan.org/release/NLNETLABS/Net-DNS-1.55_01/diff/NLNETLABS/Net-DNS-1.55