CVE-2026-81928 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
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
11 packages: 4 fixed, 1 partially fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libnet-dns-perl(Debian 12) | = 1.36-1; = 1.36-1+deb12u1; = 1.39-1; = 1.39-2 +17 more | No fix listed | No fix yet |
| redhat/perl-Net-DNS(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| ubuntu/libnet-dns-perl(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libnet-dns-perl(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/libnet-dns-perl(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/libnet-dns-perl(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/libnet-dns-perl(Debian 13) | < 1.57-0+deb13u1; = 1.50-1; = 1.53-1; = 1.54-1 +4 more | 1.57-0+deb13u1 | Partially fixed |
| cpan Net-DNS | < 1.57 | 1.57 | Fixed |
| debian/libnet-dns-perl(Debian 14) | < 1.57-1; = 1.50-1; = 1.53-1; = 1.54-1 +2 more | 1.57-1 | Fixed |
| redhat/perl-Net-DNS(Red Hat enterprise_linux 8) | < 1.15-2.el8_10 | 1.15-2.el8_10 | Fixed |
| redhat/perl-Net-DNS(Red Hat enterprise_linux 9) | < 1.29-6.el9_8.1 | 1.29-6.el9_8.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cpan Net-DNS | < 1.57 | 1.57 |
| redhat/perl-Net-DNS(Red Hat:enterprise_linux:8) | < 1.15-2.el8_10 | 1.15-2.el8_10 |
| redhat/perl-Net-DNS(Red Hat:enterprise_linux:9) | < 1.29-6.el9_8.1 | 1.29-6.el9_8.1 |
| redhat/perl-Net-DNS(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/perl-Net-DNS(Red Hat:rhel_els:7) | All versions | No fix listed |
| ubuntu/libnet-dns-perl(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/libnet-dns-perl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libnet-dns-perl(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libnet-dns-perl(Ubuntu:26.10) | All versions | No fix listed |
| debian/libnet-dns-perl(Debian:12) | All versions | No fix listed |
| debian/libnet-dns-perl(Debian:14) | < 1.57-1 | 1.57-1 |
| debian/libnet-dns-perl(Debian:13) | All versions | No fix listed |
| debian/libnet-dns-perl(Debian:12) | = 1.36-1 | No fix listed |
| debian/libnet-dns-perl(Debian:12) | = 1.36-1+deb12u1 | No fix listed |
| debian/libnet-dns-perl(Debian:12) | = 1.39-1 | No fix listed |
| debian/libnet-dns-perl(Debian:12) | = 1.39-2 | No fix listed |
| debian/libnet-dns-perl(Debian:12) | = 1.40-1 | No fix listed |
| debian/libnet-dns-perl(Debian:12) | = 1.41-1 | No fix listed |
| debian/libnet-dns-perl(Debian:12) | = 1.42-1 | No fix listed |
| debian/libnet-dns-perl(Debian:12) | = 1.43-1 | No fix listed |
| debian/libnet-dns-perl(Debian:12) | = 1.44-1 | No fix listed |
| debian/libnet-dns-perl(Debian:12) | = 1.45-1 | No fix listed |
| debian/libnet-dns-perl(Debian:12) | = 1.46-1 | No fix listed |
| debian/libnet-dns-perl(Debian:12) | = 1.47-1 | No fix listed |
| debian/libnet-dns-perl(Debian:12) | = 1.48-1 | No fix listed |
Show 19 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libnet-dns-perl(Debian:12) | = 1.49-1 | No fix listed |
| debian/libnet-dns-perl(Debian:12) | = 1.50-1 | No fix listed |
| debian/libnet-dns-perl(Debian:12) | = 1.53-1 | No fix listed |
| debian/libnet-dns-perl(Debian:12) | = 1.54-1 | No fix listed |
| debian/libnet-dns-perl(Debian:12) | = 1.55-1 | No fix listed |
| debian/libnet-dns-perl(Debian:12) | = 1.56-1 | No fix listed |
| debian/libnet-dns-perl(Debian:12) | = 1.57-1 | No fix listed |
| debian/libnet-dns-perl(Debian:13) | < 1.57-0+deb13u1 | 1.57-0+deb13u1 |
| debian/libnet-dns-perl(Debian:13) | = 1.50-1 | No fix listed |
| debian/libnet-dns-perl(Debian:13) | = 1.53-1 | No fix listed |
| debian/libnet-dns-perl(Debian:13) | = 1.54-1 | No fix listed |
| debian/libnet-dns-perl(Debian:13) | = 1.55-1 | No fix listed |
| debian/libnet-dns-perl(Debian:13) | = 1.56-0+deb13u1 | No fix listed |
| debian/libnet-dns-perl(Debian:13) | = 1.56-1 | No fix listed |
| debian/libnet-dns-perl(Debian:14) | = 1.50-1 | No fix listed |
| debian/libnet-dns-perl(Debian:14) | = 1.53-1 | No fix listed |
| debian/libnet-dns-perl(Debian:14) | = 1.54-1 | No fix listed |
| debian/libnet-dns-perl(Debian:14) | = 1.55-1 | No fix listed |
| debian/libnet-dns-perl(Debian:14) | = 1.56-1 | No fix listed |
References
- metacpan.org
- datatracker.ietf.org
- rt.cpan.org issue-tracking
- metacpan.org release-notes
- www.openwall.com
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:68787 patch vendor-advisory
- RHSA-2026:68786 patch vendor-advisory
- Red Hat Bugzilla 2527155 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-81928 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-69727 third-party-advisory