# CVE-2026-58471: wget: GNU Wget through 1.25.0, fixed in commit c2640fe, contains a heap buffer overflow vulnerability in the convert_fname(...

CVE-2026-58471 is fixed in 5 products on 1 platform, first by wget 1.25.0-2ubuntu4.2, released July 7, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-58471
- Priority: Routine
- CVSS: 6.5 (moderate)
- EPSS: 0.0039
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 7, 2026

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | wget RHEL 10 | 1.24.5-8.el10_2 | [RHSA-2026:62142](https://patchblox.com/security/data/fix/linux/rhsa-2026-62142.md) | Jul 7, 2026 |
| Linux | wget RHEL 8 | 0:1.19.5-16.el8_10 | [RHSA-2026:62144](https://patchblox.com/security/data/fix/linux/rhsa-2026-62144.md) | Sep 13, 2026 |
| Linux | wget RHEL 9 | 0:1.21.1-11.el9_8 | [RHSA-2026:62143](https://patchblox.com/security/data/fix/linux/rhsa-2026-62143.md) | Sep 13, 2026 |
| Linux | wget Ubuntu 18.04.6 LTS (bionic) | 1.19.4-1ubuntu2.2+esm3 | [wget 1.19.4-1ubuntu2.2+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-wget-1.19.4-1ubuntu2.2-esm3.md) | Jul 18, 2026 |
| Linux | wget Ubuntu 20.04 LTS (focal) | 1.20.3-1ubuntu2.1+esm2 | [wget 1.20.3-1ubuntu2.1+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-wget-1.20.3-1ubuntu2.1-esm2.md) | Jul 18, 2026 |
| Linux | wget Ubuntu 22.04.1 LTS (jammy) | 1.21.2-2ubuntu1.3 | [wget 1.21.2-2ubuntu1.3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-wget-1.21.2-2ubuntu1.3.md) | Jul 18, 2026 |
| Linux | wget Ubuntu 24.04.5 LTS (noble) | 1.21.4-1ubuntu4.3 | [wget 1.21.4-1ubuntu4.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-wget-1.21.4-1ubuntu4.3.md) | Jul 18, 2026 |
| Linux | wget Ubuntu 26.04.1 LTS (resolute) | 1.25.0-2ubuntu4.2 | [wget 1.25.0-2ubuntu4.2](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-wget-1.25.0-2ubuntu4.2.md) | Jul 7, 2026 |
| Linux | wget almalinux 10 | 1.24.5-8.el10_2 | [ALSA-2026:62142](https://patchblox.com/security/data/fix/linux/alsa-2026-62142.md) | Sep 1, 2026 |
| Linux | wget almalinux 8 | 1.19.5-16.el8_10 | [ALSA-2026:62144](https://patchblox.com/security/data/fix/linux/alsa-2026-62144.md) | Sep 1, 2026 |
| Linux | wget almalinux 9 | 1.21.1-11.el9_8 | [ALSA-2026:62143](https://patchblox.com/security/data/fix/linux/alsa-2026-62143.md) | Sep 1, 2026 |
| Linux | wget ol 10 | 0:1.24.5-8.el10_2 | [ELSA-2026-62142-0](https://patchblox.com/security/data/fix/linux/elsa-2026-62142-0.md) | Sep 1, 2026 |
| Linux | wget ol 8 | 0:1.19.5-16.0.1.el8_10 | [ELSA-2026-62144-0](https://patchblox.com/security/data/fix/linux/elsa-2026-62144-0.md) | Sep 3, 2026 |
| Linux | wget ol 9 | 0:1.21.1-11.el9_8 | [ELSA-2026-62143-0](https://patchblox.com/security/data/fix/linux/elsa-2026-62143-0.md) | Sep 1, 2026 |
| Linux | wget opensuse-leap 16.0 | 1.25.0-160000.3.1 | [OPENSUSE-SU-2026:21665-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21665-1.md) | Aug 27, 2026 |
| Linux | wget rocky 10 | 0:1.24.5-8.el10_2 | [RLSA-2026:62142](https://patchblox.com/security/data/fix/linux/rlsa-2026-62142.md) | Sep 2, 2026 |
| Linux | wget rocky 8 | 0:1.19.5-16.el8_10 | [RLSA-2026:62144](https://patchblox.com/security/data/fix/linux/rlsa-2026-62144.md) | Sep 2, 2026 |
| Linux | wget rocky 9 | 0:1.21.1-11.el9_8 | [RLSA-2026:62143](https://patchblox.com/security/data/fix/linux/rlsa-2026-62143.md) | Sep 2, 2026 |
| Linux | wget sles 15.7 | 1.24.5-150700.3.3.1 | [SUSE-SU-2026:3148-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3148-1.md) | Jul 21, 2026 |
| Linux | wget sles 16.0 | 1.25.0-160000.3.1 | [SUSE-SU-2026:23326-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-23326-1.md) | Aug 27, 2026 |
| Linux | wget1 Fedora 43 | 1.25.0-3.fc43 | [FEDORA-2026-7BBB52B49D](https://patchblox.com/security/data/fix/linux/fedora-2026-7bbb52b49d.md) | Jul 16, 2026 |
| Linux | wget1-debuginfo Fedora 43 | 1.25.0-3.fc43 | [FEDORA-2026-7BBB52B49D](https://patchblox.com/security/data/fix/linux/fedora-2026-7bbb52b49d.md) | Jul 16, 2026 |
| Linux | wget1-debugsource Fedora 43 | 1.25.0-3.fc43 | [FEDORA-2026-7BBB52B49D](https://patchblox.com/security/data/fix/linux/fedora-2026-7bbb52b49d.md) | Jul 16, 2026 |
| Linux | wget1-wget Fedora 43 | 1.25.0-3.fc43 | [FEDORA-2026-7BBB52B49D](https://patchblox.com/security/data/fix/linux/fedora-2026-7bbb52b49d.md) | Jul 16, 2026 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
