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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libnet-dns-perl | 1.56-1 | — |
| Debian 13 | libnet-dns-perl | 1.56-0+deb13u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | perl-Net-DNS +2 | 1.56-1.amzn2023.0.1 | ALAS2023-2026-2046 |
Advisories 6
- WID-SEC-2026-4090 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2026
- NCSC-2026-0444 Kwetsbaarheden verholpen in Oracle Communications NCSC-NL (Netherlands) · Oct 21, 2026
- openSUSE-SU-2026:21859-1 Security update for perl-Net-DNS SUSE / openSUSE Security Updates · Sep 17, 2026
- ALAS2023-2026-2046 Important: perl-Net-DNS security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 17, 2026
- openSUSE-SU-2026:11396-1 perl-Net-DNS-1.560.0-1.1 on GA media SUSE / openSUSE Security Updates · Jul 29, 2026
- openSUSE-SU-2026:21437-1 Security update for perl-Net-DNS SUSE / openSUSE Security Updates · Jul 24, 2026