Bug 2499583

Summary: CVE-2026-58471 wget1: GNU Wget: Heap buffer overflow via server-supplied filename leads to memory corruption [fedora-all]
Product: [Fedora] Fedora Reporter: Srikanth Balasubramanian <sbalasub>
Component: wget1Assignee: Michal Ruprich <mruprich>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: mruprich
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["442a868e-aa9b-4869-8aaa-9db397530578"]}
Fixed In Version: wget1-1.25.0-4.fc44 wget1-1.25.0-3.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-07-21 00:57:22 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: 2497850    

Description Srikanth Balasubramanian 2026-07-13 05:27:21 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.

GNU Wget through 1.25.0, fixed in commit c2640fe, contains a heap buffer overflow vulnerability in the convert_fname() function within src/url.c that allows remote attackers to trigger memory corruption through a server-supplied filename requiring character set conversion. When the output buffer is too small during iconv E2BIG reallocation, the reallocation logic miscalculates the remaining space, leading to a heap buffer overflow that can be exploited via a maliciously crafted server response.

Comment 1 Fedora Update System 2026-07-16 08:34:57 UTC
FEDORA-2026-1b91a2f126 (wget1-1.25.0-4.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-1b91a2f126

Comment 2 Fedora Update System 2026-07-16 08:35:06 UTC
FEDORA-2026-7bbb52b49d (wget1-1.25.0-3.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-7bbb52b49d

Comment 3 Fedora Update System 2026-07-17 01:36:26 UTC
FEDORA-2026-1b91a2f126 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-1b91a2f126`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-1b91a2f126

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

Comment 4 Fedora Update System 2026-07-17 01:52:35 UTC
FEDORA-2026-7bbb52b49d 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-7bbb52b49d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-7bbb52b49d

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

Comment 5 Fedora Update System 2026-07-21 00:57:22 UTC
FEDORA-2026-1b91a2f126 (wget1-1.25.0-4.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-07-25 01:17:49 UTC
FEDORA-2026-7bbb52b49d (wget1-1.25.0-3.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.