Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-64193 EUVD-2026-46051GHSA-hwpr-jc4f-7ww3

Net::DNS versions through 1.55 for Perl allow remote execution injection via EDNS EXTENDED ERROR

Published Jul 20, 2026 · Updated Jul 21, 2026 · Assigned by CPANSec

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 products

VendorProductAffectedFixed
NLNETLABS Net::DNS ≤ 1.55 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libnet-dns-perl 1.56-1 —
Debian 13 libnet-dns-perl 1.56-0+deb13u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libnet-dns-perl No fix yet —
Ubuntu 26.04 LTS libnet-dns-perl No fix yet —
Ubuntu 24.04 LTS libnet-dns-perl No fix yet —
Ubuntu 22.04 LTS libnet-dns-perl No fix yet —
Ubuntu 20.04 LTS libnet-dns-perl No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libnet-dns-perl No fix yet —
Ubuntu 16.04 LTS libnet-dns-perl No fix yet —
Ubuntu 14.04 LTS libnet-dns-perl No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-Net-DNS 1.560.0-1.1 openSUSE-SU-2026:11396-1
openSUSE Leap 16.0 perl-Net-DNS 1.460.0-bp160.2.1 openSUSE-SU-2026:21859-1, openSUSE-SU-2026:21437-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 perl-Net-DNS +2 1.56-1.amzn2023.0.1 ALAS2023-2026-2046

Advisories 6

References