Vulnerabilities / CVE-2026-64193

critical

CVE-2026-64193

Net::DNS: Net::DNS: Arbitrary code execution via EDNS EXTENDED ERROR handling

Published Modified CWE 95
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by Red Hat. Rated lower by Amazon (high).

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 packages and fixed versions

SourcePackageFixed in
alpine edgeperl-net-dns1.57-r0
amazon linux 2023perl-Net-DNS, perl-Net-DNS-Nameserver, perl-Net-DNS-tests1.56-1.amzn2023.0.1
debian 13libnet-dns-perl1.56-0+deb13u1
debian 14libnet-dns-perl1.56-1
rapidfort amazon linux 2023perl-Net-DNS, perl-Net-DNS-Nameserver, perl-Net-DNS-tests1.56-1.amzn2023.0.1
rapidfort debian 12libnet-dns-perl0:1.56-0+deb13u1, 0:1.56-1
rapidfort debian 13libnet-dns-perl0:1.56-0+deb13u1, 0:1.56-1
rapidfort fedora 43perl-Net-DNS, perl-Net-DNS-Nameserver, perl-Net-DNS-tests1.56-1.fc43
rapidfort Oracle Linux 10perl-Net-DNS, perl-Net-DNS-Nameserver, perl-Net-DNS-tests1.56-1.el10_3
Show all 17 entries from 9 sources
SourcePackageFixed in
alpine edgeperl-net-dns1.57-r0
amazon linux 2023perl-Net-DNS1.56-1.amzn2023.0.1
amazon linux 2023perl-Net-DNS-Nameserver1.56-1.amzn2023.0.1
amazon linux 2023perl-Net-DNS-tests1.56-1.amzn2023.0.1
debian 13libnet-dns-perl1.56-0+deb13u1
debian 14libnet-dns-perl1.56-1
rapidfort amazon linux 2023perl-Net-DNS1.56-1.amzn2023.0.1
rapidfort amazon linux 2023perl-Net-DNS-Nameserver1.56-1.amzn2023.0.1
rapidfort amazon linux 2023perl-Net-DNS-tests1.56-1.amzn2023.0.1
rapidfort debian 12libnet-dns-perl0:1.56-0+deb13u1, 0:1.56-1
rapidfort debian 13libnet-dns-perl0:1.56-0+deb13u1, 0:1.56-1
rapidfort fedora 43perl-Net-DNS1.56-1.fc43
rapidfort fedora 43perl-Net-DNS-Nameserver1.56-1.fc43
rapidfort fedora 43perl-Net-DNS-tests1.56-1.fc43
rapidfort Oracle Linux 10perl-Net-DNS1.56-1.el10_3
rapidfort Oracle Linux 10perl-Net-DNS-Nameserver1.56-1.el10_3
rapidfort Oracle Linux 10perl-Net-DNS-tests1.56-1.el10_3

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.