
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-81928 is a denial-of-service vulnerability in the Net::DNS Perl module (versions before 1.57) caused by unbounded recursion in the sig_data function when re-encoding a DNS message containing a misplaced TSIG record. The vulnerability was published on September 2, 2026, and assigned by CPANSec. It affects all Net::DNS releases prior to 1.57; version 1.57 contains the fix. A CVSS score has not yet been formally assigned, though Feedly estimates the severity as Medium (GitHub Advisory).
The root cause is CWE-674 (Uncontrolled Recursion) in the sig_data function within Net/DNS/RR/TSIG.pm. When sig_data signs a message, it re-encodes it and strips TSIG records only from the additional section; a TSIG record decoded into the answer or authority section is not removed and is signed again, causing sig_data to call itself recursively with no termination condition. The recursion is only triggered when the misplaced TSIG carries an empty MAC — a MAC recovered from the wire short-circuits the signing step and is therefore safe. Additionally, the decoder does not reject such malformed messages: a misplaced TSIG raises a "misplaced or corrupt TSIG" warning but the record is retained in the packet, violating RFC 8945 section 5.2 which mandates the message be dropped. Because each recursive cycle re-encodes the entire message, a crafted packet of fewer than 100 bytes is sufficient to exhaust process memory (GitHub Advisory, RFC 8945).
Successful exploitation causes memory exhaustion and process termination in any application that decodes and then re-encodes DNS messages using the vulnerable Net::DNS module, such as DNS forwarders and proxies. An unauthenticated remote attacker can crash the affected service with a single crafted DNS message (query or response) of fewer than 100 bytes, resulting in a complete availability loss for the DNS forwarding or proxying function. Applications that only decode messages without re-encoding them are not affected (GitHub Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at the time of publication. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. The attack requires no authentication and no user interaction, but is limited to systems that re-encode decoded DNS messages (forwarders/proxies), reducing the exposed attack surface (GitHub Advisory).
sig_data recursively calls itself without termination, exhausting available memory./var/log/syslog, dmesg, or journalctl) referencing the DNS forwarder/proxy process.top, ps) for the Perl-based DNS service prior to crash.The primary remediation is to upgrade Net::DNS to version 1.57 or later, which fixes the unbounded recursion by properly handling misplaced TSIG records (Net-DNS 1.57 Changelog). As a network-level workaround, deploy firewall or IDS rules to drop DNS messages containing TSIG records outside the additional section before they reach vulnerable systems. Additionally, resource limits (e.g., ulimit or cgroup memory caps) on the DNS forwarder/proxy process can reduce the blast radius of a successful attack by preventing full system memory exhaustion (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."