# 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

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-09-01 · Modified: 2026-09-02
- Aliases: SUSE-SU-2026:4065-1, SUSE-SU-2026:4086-1, RHSA-2026:68786, RHSA-2026:68787, UBUNTU-CVE-2026-81928, DEBIAN-CVE-2026-81928, openSUSE-SU-2026:11708-1, SUSE-SU-2026:4065-2, ALPINE-CVE-2026-81928
- Record: https://cvemate.com/vulnerability/CVE-2026-81928 · JSON: https://cvemate.com/vulnerability/CVE-2026-81928/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.585%, percentile 49.378%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine perl-net-dns (Alpine Linux): \< 1.57-r0
- debian libnet-dns-perl (Debian): All versions (No fix recorded) \| \< 1.57-0+deb13u1 \| \< 1.57-1
- ubuntu libnet-dns-perl (Ubuntu): All versions (No fix recorded)
- opensuse perl-Net-DNS&distro=openSUSE Tumbleweed (openSUSE): \< 1.570.0-1.1
- redhat perl-Net-DNS (Red Hat): \< 0:1.29-6.el9\_8.1 \| \< 0:1.15-2.el8\_10
- redhat perl-Net-DNS-Nameserver (Red Hat): \< 0:1.29-6.el9\_8.1
- suse perl-Net-DNS&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7 (SUSE Linux Enterprise): \< 1.14-150000.3.6.1
- suse perl-Net-DNS&distro=SUSE Linux Enterprise Server 12 SP5-LTSS (SUSE Linux Enterprise): \< 0.73-5.6.1
- suse perl-Net-DNS&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 (SUSE Linux Enterprise): \< 0.73-5.6.1

## References (first 20 of 25)

- <https://metacpan.org/release/NLNETLABS/Net-DNS-1.56/source/lib/Net/DNS/RR/TSIG.pm#L245-262>
- <https://metacpan.org/release/NLNETLABS/Net-DNS-1.56/source/lib/Net/DNS/RR/TSIG.pm#L62-73>
- <https://datatracker.ietf.org/doc/html/rfc8945#section-5.2>
- <https://rt.cpan.org/Ticket/Display.html?id=181125>
- <https://metacpan.org/release/NLNETLABS/Net-DNS-1.57/changes>
- <http://www.openwall.com/lists/oss-security/2026/09/02/1>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20264065-1/>
- <https://bugzilla.suse.com/1278084>
- <https://www.suse.com/security/cve/CVE-2026-81928>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20264086-1/>
- <https://access.redhat.com/errata/RHSA-2026:68786>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2527155>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_68786.json>
- <https://access.redhat.com/security/cve/CVE-2026-81928>
- <https://www.cve.org/CVERecord?id=CVE-2026-81928>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-81928>
- <https://access.redhat.com/errata/RHSA-2026:68787>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_68787.json>
- <https://ubuntu.com/security/CVE-2026-81928>

---

Data as of 2026-12-05T09:59:50.138Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
