← Vulnerability feed

Vulnerability record · CVE-2026-58471 · published 7 July 2026

CVE-2026-58471: Gnu wget heap-based buffer overflow vulnerability

Gnu · Wget

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.

6.0 CVSS 4.0 Medium EPSS 0.39% · top 66.1% CWE-122 · Heap-based buffer overflow
6.0CVSS 4.0 base score
0.39%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References
25 Oct 2026Last modified by NVD

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.

CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-58471 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2019-5953Gnu wget out-of-bounds write vulnerabilityBuffer overflow in GNU Wget 1.20.1 and earlier allows remote attackers to cause a denial-of-service (DoS) or may execute an arbitrary code via unspec…EPSS 5.9%9.3CVE-2014-4877Gnu wget path traversal vulnerabilityAbsolute path traversal vulnerability in GNU Wget before 1.16, when recursion is enabled, allows remote FTP servers to write to arbitrary files, and …EPSS 40%9.1CVE-2024-38428Gnu wget interpretation conflict vulnerabilityurl.c in GNU Wget through 1.24.5 mishandles semicolons in the userinfo subcomponent of a URI, and thus there may be insecure behavior in which data t…EPSS 0.67%8.8CVE-2017-13090Gnu wget heap-based buffer overflow vulnerabilityThe retr.c:fd_read_body() function is called when processing OK responses. When the response is sent chunked in wget before 1.19.2, the chunk parser …EPSS 37%8.8CVE-2017-13089GNU Wget chunked transfer parser stack buffer overflowWget before 1.19.2 fails to validate that a chunk length in a chunked HTTP response is non-negative. A negative length is passed through MIN() to fd_…EPSS 80%analysed8.8CVE-2016-4971GNU wget HTTP-to-FTP redirect arbitrary file writeGNU wget before 1.18 follows a server-supplied redirect from HTTP to a crafted FTP resource and writes the retrieved content to an attacker-chosen pa…EPSS 46%analysed8.7CVE-2026-58469Gnu wget out-of-bounds read vulnerabilityGNU Wget through 1.25.0, fixed in commit 37a40fc, contains a heap buffer underread vulnerability in the clean_metalink_string() function within src/m…EPSS 0.49%8.1CVE-2016-7098Gnu wget race condition vulnerabilityRace condition in wget 1.17 and earlier, when used in recursive or mirroring mode to download a single file, might allow remote servers to bypass int…EPSS 7.5%

Source: NIST National Vulnerability Database (record CVE-2026-58471), CISA KEV, FIRST EPSS (scores of 2026-11-20). This page is refreshed as NVD updates the record.