CVE-2026-81928 Details
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.
A denial-of-service vulnerability has been identified in Net::DNS versions prior to 1.57 for Perl. The issue arises from unbounded recursion in the TSIG (Transaction Signature) handling when a DNS message is re-encoded with misplaced TSIG records. This misplacement can occur if the TSIG is not in the expected position, such as being included in the answer or authority sections instead of the additional section. The recursion leads to memory exhaustion, causing the process to terminate.
Users can upgrade to Net::DNS version 1.57 or later, where this vulnerability has been fixed. For those unable to upgrade, a workaround is to reject decoded messages that contain TSIG records in any position other than the last one in the additional section.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 2, 2026CISA-ADP
Assessed Sep 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://datatracker.ietf.org/doc/html/rfc8945#section-5.2 | CPANSec | Content Wall |
| https://metacpan.org/release/NLNETLABS/Net-DNS-1.56/source/lib/Net/DNS/RR/TSIG.pm#L245-262 | CPANSec | Source CodeVendor |
| https://metacpan.org/release/NLNETLABS/Net-DNS-1.56/source/lib/Net/DNS/RR/TSIG.pm#L62-73 | CPANSec | Source CodeVendor |
| https://metacpan.org/release/NLNETLABS/Net-DNS-1.57/changes | CPANSec | Release NotesVendor |
| https://rt.cpan.org/Ticket/Display.html?id=181125 | CPANSec | ExploitIssue TrackingTechnical DescriptionVendor |
| http://www.openwall.com/lists/oss-security/2026/09/02/1 | CVE | AdvisoryMailing ListRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-674 | Uncontrolled Recursion | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| Net::DNS | < 1.57 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 2, 2026 | CVE Modified | CISA-ADP |
| Sep 2, 2026 | CVE Modified | CVE |
| Sep 2, 2026 | New CVE Received | CPANSec |
Volerion