CVE-2026-58471 json
GNU Wget 1.25.0 Heap Buffer Overflow via convert_fname() in url.c
published 2026-07-07 4 mo ago modified 2026-10-25 14 d ago also EUVD-2026-42083 , GHSA-vv88-699v-w5rh , JLSEC-2026-1160
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
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.
Patch / fix
- wget Ubuntu 22.04 LTS 1.21.2-2ubuntu1.3
- wget Ubuntu 24.04 LTS 1.21.4-1ubuntu4.3
- wget Ubuntu 26.04 LTS 1.25.0-2ubuntu4.2
- wget Ubuntu Pro 18.04 LTS 1.19.4-1ubuntu2.2+esm3
- wget Ubuntu Pro 20.04 LTS 1.20.3-1ubuntu2.1+esm2
ubuntu advisories UBUNTU-CVE-2026-58471
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- wget RHEL 8 1.19.5-16.el8_10
- wget RHEL 10.2 1.24.5-8.el10_2
- wget RHEL 9 1.21.1-11.el9_8
red hat advisories RHSA-2026:62144RHSA-2026:62142RHSA-2026:62143
- wget SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 1.25.0-160000.3.1
- wget Linux Micro 6.1 1.24.5-slfo.1.1_4.1
- wget Linux Micro 6.0 1.24.5-3.1
- wget SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +6 more 1.20.3-150000.3.34.1
- wget SLE Module for Basesystem 15 SP7 1.24.5-150700.3.3.1
suse advisories SUSE-SU-2026:23297-1SUSE-SU-2026:23326-1SUSE-SU-2026:23163-1SUSE-SU-2026:23053-1SUSE-SU-2026:3206-1SUSE-SU-2026:3148-1
- wget openSUSE Leap 16.0 1.25.0-160000.3.1
- wget openSUSE Tumbleweed 1.25.0-3.1
opensuse advisories openSUSE-SU-2026:21665-1openSUSE-SU-2026:11252-1
- wget AlmaLinux 10 1.24.5-8.el10_2
- wget AlmaLinux 9 1.21.1-11.el9_8
- wget AlmaLinux 8 1.19.5-16.el8_10
almalinux advisories ALSA-2026:62142ALSA-2026:62143ALSA-2026:62144
- wget Rocky Linux 10 1.24.5-8.el10_2
- wget Rocky Linux 9 1.21.1-11.el9_8
- wget Rocky Linux 8 1.19.5-16.el8_10
rocky linux advisories RLSA-2026:62142RLSA-2026:62143RLSA-2026:62144
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-58471 updated cvss 5.9
wget: GNU Wget: Heap buffer overflow via server-supplied filename leads to memory corruption
-
Red Hat Enterprise Linux 6 wget Red Hat Enterprise Linux 7 wgetaffected: workaround, no fix available
-
Red Hat Enterprise Linux AppStream (v. 8) wget 1.19.5-16.el8_10fixed: vendor fix RHSA-2026:62144
-
Red Hat Enterprise Linux AppStream (v. 9) wget 1.21.1-11.el9_8fixed: vendor fix RHSA-2026:62143
-
Red Hat Enterprise Linux AppStream (v. 10) wget 1.24.5-8.el10_2fixed: vendor fix RHSA-2026:62142
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.0 | 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 |
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H |
| CNA | 4.0 | 6.0 | 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:X/V:X/RE:X/U:X |
| NVD | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H |
| OSV | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | wget_jll | all versions |
no fix listed |
Affected products
- gnuwget wget
Classification
- Weakness
-
- CWE-122 Heap-based Buffer Overflow
References
Sources
- CVE List CVE-2026-58471
- NVD CVE-2026-58471
- OSV JLSEC-2026-1160
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.