Skip to content
OpenAdvisories
High · 7.5 CVE-2026-81928 EUVD-2026-69727GHSA-x88w-xx7m-3m5f

Net::DNS versions before 1.57 for Perl allow memory exhaustion via unbounded recursion in sig_data when re-encoding a message with a misplaced TSIG record

Published Sep 1, 2026 · Updated Sep 2, 2026 · Assigned by CPANSec

Description

Net::DNS versions before 1.57 for Perl allow memory exhaustion via unbounded recursion in sig_data when re-encoding a message with a misplaced TSIG record.

sig_data signs a message by re-encoding it, and removes TSIG records only from the additional section. A TSIG decoded into the answer or authority section survives that step and is signed again, so encoding re-enters sig_data with no termination condition. Decoding does not reject such a message: a TSIG that is not the last record on the wire raises "misplaced or corrupt TSIG", but the error is caught, reported as a warning, and the record is left in the packet. RFC 8945 section 5.2 requires the message to be dropped.

The recursion is reached only when the decoded TSIG carries an empty MAC, since a MAC recovered from the wire short-circuits the signing step. It is reached only from code that re-encodes a message it decoded, such as a forwarder or a proxy. A decoded message that is never re-encoded is unaffected. Message direction does not matter: a query reaches the same path as a response.

Each cycle re-encodes the whole message, so fewer than 100 bytes on the wire exhaust available memory and terminate the process.

Affected products

VendorProductAffectedFixed
— Net-DNS < 1.57 1.57

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.57-1 —
Debian 13 libnet-dns-perl No fix yet —
Debian 12 libnet-dns-perl No fix yet —
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
RHEL 9 perl-Net-DNS +1 1.29-6.el9_8.1 RHSA-2026:68786
RHEL 8 perl-Net-DNS 1.15-2.el8_10 RHSA-2026:68787

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 perl-Net-DNS +1 1.29-6.el9_8.1 ALSA-2026:68786
AlmaLinux 8 perl-Net-DNS 1.15-2.el8_10 ALSA-2026:68787

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 perl-Net-DNS 1.29-6.el9_8.1 RLSA-2026:68786
Rocky Linux 8 perl-Net-DNS 1.15-2.el8_10 RLSA-2026:68787
ReleasePackageFixed inAdvisory
SLES 15 SP7 perl-Net-DNS 1.14-150000.3.6.1 SUSE-SU-2026:4086-1
SLES 12 SP5 perl-Net-DNS 0.73-5.6.1 SUSE-SU-2026:4065-2, SUSE-SU-2026:4065-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-Net-DNS 1.570.0-1.1 openSUSE-SU-2026:11708-1
openSUSE Leap 16.0 perl-Net-DNS 1.570.0-bp160.1.1 openSUSE-SU-2026:21859-1

Amazon Linux

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

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 perl-Net-DNS +1 1.29-6.el9_8.1 ELSA-2026-68786
Oracle Linux 8 perl-Net-DNS 1.15-2.el8_10 ELSA-2026-68787

Advisories 15

References