Bug 2509247

Summary: CVE-2026-64193 perl-Net-DNS: Net::DNS: Arbitrary code execution via EDNS EXTENDED ERROR handling [fedora-all]
Product: [Fedora] Fedora Reporter: Tomas Hoger <thoger>
Component: perl-Net-DNSAssignee: Paul Wouters <paul.wouters>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 45CC: jplesnik, mspacek, paul.wouters, perl-devel, rstrode
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["bc9a89c5-ade0-417b-8267-8c5b26db5153"]}
Fixed In Version: perl-Net-DNS-1.56-1.fc45 perl-Net-DNS-1.56-1.fc44 perl-Net-DNS-1.56-1.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-09-10 00:59:14 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: 2502954    

Description Tomas Hoger 2026-07-30 10:56:15 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 through 1.55 for Perl allow remote execution injection via EDNS EXTENDED ERROR.

Net::DNS::RR::OPT::EXTENDED_ERROR::_decompose parses the EXTRA-TEXT field of an EDNS EXTENDED-ERROR option (RFC 8914) by tokenising the raw bytes and passing the result to Perl's eval. There is some escaping done for $ and @, but not for backticks. This can be exploited for command execution if $pkt->edns->option('EXTENDED-ERROR') is called in array context, for example with a payload of {0:`"<command>"`} in EXTRA-TEXT.

Comment 1 Aoife Moloney 2026-08-17 15:41:17 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.

Comment 2 Fedora Update System 2026-09-01 08:13:55 UTC
FEDORA-2026-1237afef8a (perl-Net-DNS-1.56-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-1237afef8a

Comment 3 Fedora Update System 2026-09-01 08:13:55 UTC
FEDORA-2026-a0607111e6 (perl-Net-DNS-1.56-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-a0607111e6

Comment 4 Fedora Update System 2026-09-02 01:12:42 UTC
FEDORA-2026-a0607111e6 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-a0607111e6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-a0607111e6

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

Comment 5 Fedora Update System 2026-09-02 02:02:02 UTC
FEDORA-2026-1237afef8a 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-1237afef8a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-1237afef8a

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

Comment 6 Fedora Update System 2026-09-10 00:59:14 UTC
FEDORA-2026-a0607111e6 (perl-Net-DNS-1.56-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2026-09-10 01:13:09 UTC
FEDORA-2026-1237afef8a (perl-Net-DNS-1.56-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.