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
Check your servers for CVE-2026-81928
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-81928 affects net-dns, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.58%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 49.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 2 Sep 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-674 Uncontrolled Recursion
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
Net-DNS
package
Net-DNS |
affected before 1.57
Other versions: unaffected
|
Is my server affected?
Find the installed version of net-dns and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i net-dns
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-81928 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-81928RHEL, Rocky, Alma, Fedora
rpm -q net-dns
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-81928Alpine
apk list --installed | grep -i net-dnsWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-81928
trivy image --scanners vuln IMAGE | grep CVE-2026-81928
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Patches and release notes
- https://metacpan.org/release/NLNETLABS/Net-DNS-1.57/changes metacpan.org · release notes
Other references
- https://metacpan.org/release/NLNETLABS/Net-DNS-1.56/source/lib/Net/DNS/RR/TSIG.pm#L245-262 metacpan.org
- https://metacpan.org/release/NLNETLABS/Net-DNS-1.56/source/lib/Net/DNS/RR/TSIG.pm#L62-73 metacpan.org
- https://datatracker.ietf.org/doc/html/rfc8945#section-5.2 datatracker.ietf.org
- https://rt.cpan.org/Ticket/Display.html?id=181125 rt.cpan.org · issue tracking
- http://www.openwall.com/lists/oss-security/2026/09/02/1 openwall.com
Source: the record CVE-2026-81928 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse