Bug 2498498 - CVE-2026-58471 wget2: GNU Wget: Heap buffer overflow via server-supplied filename leads to memory corruption [fedora-all]
Summary: CVE-2026-58471 wget2: GNU Wget: Heap buffer overflow via server-supplied file...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: wget2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact:
URL:
Whiteboard: {"flaws": ["442a868e-aa9b-4869-8aaa-9...
Depends On:
Blocks: CVE-2026-58471
TreeView+ depends on / blocked
 
Reported: 2026-07-09 13:18 UTC by Srikanth Balasubramanian
Modified: 2026-07-16 07:48 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-07-16 07:48:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-07-09 13:18:50 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 Michal Ruprich 2026-07-16 07:48:51 UTC
This CVE is not applicable for wget2, only for the original GNU Wget. wget2 is a complete re-write and does not share any code with wget. Closing.


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