CVE catalog

CVE-2026-58471

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 corrupti

[CVE catalog]

Severity
Medium · CVSS 6CVSS: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
Published
Source
[NVD] · [CVE record]
EPSS
0.39% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianwgetsid1.25.0-3vulnerable
Debianwgetforky1.25.0-3vulnerable
Debianwgettrixie1.25.0-2vulnerable
Debianwgetbookworm1.21.3-1+deb12u1vulnerable
CpewgetNot reportedNot reportedvulnerable
CpewgetNot reportedNot reportedunknown
CpewgetNot reported1.21.4-1ubuntu4.3fixed
Ubuntuwgetpro1.20.3-1ubuntu1vulnerable
Ubuntuwgetpro1.20.3-1ubuntu2vulnerable
Ubuntuwgetpro1.20.3-1ubuntu2.1vulnerable
Ubuntuwgetpro1.20.3-1ubuntu2.1+esm2fixed
Ubuntuwget22.041.21-1ubuntu3vulnerable
Ubuntuwget22.041.21-1ubuntu4vulnerable
Ubuntuwget22.041.21-1ubuntu5vulnerable
Ubuntuwget22.041.21.2-2ubuntu1vulnerable
Ubuntuwget22.041.21.2-2ubuntu1.1vulnerable
Ubuntuwget22.041.21.2-2ubuntu1.3fixed
Ubuntuwget24.041.21.3-1ubuntu1vulnerable
Ubuntuwget24.041.21.4-1ubuntu1vulnerable
Ubuntuwget24.041.21.4-1ubuntu2vulnerable
Ubuntuwget24.041.21.4-1ubuntu3vulnerable
Ubuntuwget24.041.21.4-1ubuntu4vulnerable
Ubuntuwget24.041.21.4-1ubuntu4.1vulnerable
Ubuntuwget24.041.21.4-1ubuntu4.3fixed
Ubuntuwget25.101.24.5-2ubuntu1vulnerable
Ubuntuwget25.101.25.0-2ubuntu1vulnerable
Ubuntuwget25.101.25.0-2ubuntu2vulnerable
Ubuntuwget25.101.25.0-2ubuntu3vulnerable
Ubuntuwget26.041.25.0-2ubuntu3vulnerable
Ubuntuwget26.041.25.0-2ubuntu4vulnerable
Ubuntuwget26.041.25.0-2ubuntu4.2fixed
CpewgetNot reportedNot reportedunknown

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianwgetsourcesid(unfixed)not yet assignedNot reported[1141689]
Debianwgetsourceforky(unfixed)not yet assignedNot reported[1141689]
Debianwgetsourcetrixie(unfixed)not yet assignedNot reported[1141689]
Debianwgetsourcebookworm(unfixed)not yet assignedNot reported[1141689]
CpewgetcpeNot reported1.21.4-1ubuntu4.3Not reportedNot reportedNot reported
Ubuntuwgetdebpro1.20.3-1ubuntu2.1+esm2Not reportedUBUNTU-CVE-2026-58471Not reported
Ubuntuwgetdeb22.041.21.2-2ubuntu1.3Not reportedUBUNTU-CVE-2026-58471Not reported
Ubuntuwgetdeb24.041.21.4-1ubuntu4.3Not reportedUBUNTU-CVE-2026-58471Not reported
Ubuntuwgetdeb26.041.25.0-2ubuntu4.2Not reportedUBUNTU-CVE-2026-58471Not reported

[Debian bug #1141689]

Notes

[trixie] wget: Minor issue [bookworm] wget: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [wget]Affected
    Details (2)
    • 1.21.3-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · wget · debian · bookworm; nvd · wget · debian · 12

    • 1.21.3-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · wget · debian · bookworm; nvd · wget · debian · 12

[Debian 13 (Trixie)]

  • [wget]Affected
    Details (2)
    • 1.25.0-2 · amd64 · trixie

      Affected

      nvd · wget · debian · 13

    • 1.25.0-2 · arm64 · trixie

      Affected

      nvd · wget · debian · 13

Observed:

References