CVE-2026-58471

EUVD-2026-42083
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.9 MEDIUM
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 12.94%
Affected Products (NVD)
VendorProductVersion
gnuwget
𝑥
≤ 1.25.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
wget
bookworm
postponed
bullseye
postponed
bullseye (security)
vulnerable
forky
vulnerable
sid
vulnerable
trixie
no-dsa
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
wget
bionic
Fixed 1.19.4-1ubuntu2.2+esm3
released
focal
Fixed 1.20.3-1ubuntu2.1+esm2
released
jammy
Fixed 1.21.2-2ubuntu1.3
released
noble
Fixed 1.21.4-1ubuntu4.3
released
questing
ignored
resolute
Fixed 1.25.0-2ubuntu4.2
released
trusty
not-affected
xenial
not-affected