Bug 2529758 - CVE-2026-81928 perl-Net-DNS: Net::DNS: Denial of Service via unbounded recursion with misplaced TSIG records [fedora-all]
Summary: CVE-2026-81928 perl-Net-DNS: Net::DNS: Denial of Service via unbounded recurs...
Keywords:
Status: ON_QA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Net-DNS
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Paul Wouters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["9dcecf76-99ce-49c4-9bd6-7...
Depends On:
Blocks: CVE-2026-81928
TreeView+ depends on / blocked
 
Reported: 2026-09-08 12:43 UTC by Vladimir Vasilev
Modified: 2026-09-15 02:04 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.