Bug 2529758

Summary: CVE-2026-81928 perl-Net-DNS: Net::DNS: Denial of Service via unbounded recursion with misplaced TSIG records [fedora-all]
Product: [Fedora] Fedora Reporter: Vladimir Vasilev <vvasilev>
Component: perl-Net-DNSAssignee: Paul Wouters <paul.wouters>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: mspacek, paul.wouters, perl-devel, rstrode
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["9dcecf76-99ce-49c4-9bd6-74f8aa357d45"]}
Fixed In Version: perl-Net-DNS-1.57-1.fc43 perl-Net-DNS-1.57-1.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-09-23 00:58:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2527155    

Description Vladimir Vasilev 2026-09-08 12:43:28 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-09-14 10:00:21 UTC
FEDORA-2026-57f107ed83 (perl-Net-DNS-1.57-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-57f107ed83

Comment 2 Fedora Update System 2026-09-14 10:00:22 UTC
FEDORA-2026-48a4531e02 (perl-Net-DNS-1.57-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-48a4531e02

Comment 3 Fedora Update System 2026-09-15 01:42:16 UTC
FEDORA-2026-57f107ed83 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-57f107ed83`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-57f107ed83

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-09-15 02:04:27 UTC
FEDORA-2026-48a4531e02 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-48a4531e02`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-48a4531e02

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-09-23 00:58:20 UTC
FEDORA-2026-48a4531e02 (perl-Net-DNS-1.57-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-09-23 01:09:53 UTC
FEDORA-2026-57f107ed83 (perl-Net-DNS-1.57-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.