CVE-2026-58471 Details
Description
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.
A heap buffer overflow vulnerability has been identified in GNU Wget versions through 1.25.0, within the convert_fname() function in src/url.c. This vulnerability allows remote attackers to cause memory corruption by sending a server-supplied filename that requires character set conversion. The issue arises when the output buffer is insufficient during the iconv E2BIG reallocation. The reallocation logic incorrectly calculates the remaining space, leading to a heap buffer overflow that can be exploited via a maliciously crafted server response.
Users can upgrade to GNU Wget version 1.25.0 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gnu wget | <= 1.25.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jul 9, 2026 | Initial Analysis | [email protected] |
| Jul 7, 2026 | New CVE Received | [email protected] |
| Jul 7, 2026 | CVE Modified | CISA-ADP |