GNU Wget 1.25.0 Heap Buffer Overflow via convert_fname() in url.c
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · High
- Fix status
- Partial Red Hat: 3 fixed, 2 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Red Hat 3 advisories
- RHSA-2026:62144 Released 2026-09-01 · Red Hat rating Moderatewget security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) wget-1.19.5-16.el8_10
- RHSA-2026:62143 Released 2026-09-01 · Red Hat rating Moderatewget security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) wget-1.21.1-11.el9_8
- RHSA-2026:62142 Released 2026-09-01 · Red Hat rating Moderatewget security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 10) wget-1.24.5-8.el10_2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix yet |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:62142 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2026:62144 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:62143 |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-58471
- 2026-10-03 Alias added: GHSA-vv88-699v-w5rh
References
Patch 1
More GNU Wget vulnerabilities
- TI-2017-09727 GNU Wget: stack overflow in HTTP protocol handling CVSS 3.0HIGH 8.8
- TI-2016-04293 GNU wget before 1.18 allows remote servers to write to arbitrary files by redirecting a… CVSS 3.1HIGH 8.8
- TI-2014-04014 Absolute path traversal vulnerability in GNU Wget before 1.16, when recursion is enabled… CVSS 2.0HIGH 9.3
- TI-2017-09728 GNU Wget: heap overflow in HTTP protocol handling CVSS 3.0HIGH 8.8
- TI-2019-04244 Out-of-bounds write in GNU Wget CVSS 3.0CRITICAL 9.8
- TI-2016-06103 Race condition in wget 1.17 and earlier, when used in recursive or mirroring mode to… CVSS 3.0HIGH 8.1
Sources
- CVE-2026-58471 · CVE Program
- CVE-2026-58471 · NVD
- FIRST EPSS
- GHSA-vv88-699v-w5rh · GitHub Advisory Database · CC BY 4.0
- CVE-2026-58471 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences