Bug 2497850 (CVE-2026-58471) - CVE-2026-58471 wget: GNU Wget: Heap buffer overflow via server-supplied filename leads to memory corruption
Summary: CVE-2026-58471 wget: GNU Wget: Heap buffer overflow via server-supplied filen...
Keywords:
Status: NEW
Alias: CVE-2026-58471
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2498498 2498499 2499583
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-07 21:02 UTC by OSIDB Bzimport
Modified: 2026-07-13 05:27 UTC (History)
6 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-07 21:02:28 UTC
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.


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