DEBIAN-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 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.
DEBIAN-CVE-2026-58471
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-58471
wget
Source reference: /affected/0/package/name
- Affected versions
- 1.21.3-1
Source reference:
/affected/0/versions1.21.3-1+deb12u1Source reference:
/affected/0/versions1.21.4-1Source reference:
/affected/0/versions1.24.5-1Source reference:
/affected/0/versions1.24.5-2Source reference:
/affected/0/versions1.25.0-1Source reference:
/affected/0/versions1.25.0-2Source reference:
/affected/0/versions1.25.0-3Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
wget
Source reference: /affected/1/package/name
- Affected versions
- 1.25.0-2
Source reference:
/affected/1/versions1.25.0-3Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
wget
Source reference: /affected/2/package/name
- Affected versions
- 1.25.0-2
Source reference:
/affected/2/versions1.25.0-3Source reference:
/affected/2/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "wget",
"purl": "pkg:deb/debian/wget?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1.21.3-1",
"1.21.3-1+deb12u1",
"1.21.4-1",
"1.24.5-1",
"1.24.5-2",
"1.25.0-1",
"1.25.0-2",
"1.25.0-3"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-58471.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "wget",
"purl": "pkg:deb/debian/wget?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"1.25.0-2",
"1.25.0-3"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-58471.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "wget",
"purl": "pkg:deb/debian/wget?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"1.25.0-2",
"1.25.0-3"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-58471.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #58007 · Revision 1
- Added to Heist Feed
- Publisher date