CVE-2026-58471

Source
https://cve.org/CVERecord?id=CVE-2026-58471
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58471.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-58471
Downstream
Published
2026-07-07T19:47:47.662Z
Modified
2026-07-10T03:53:31.081813872Z
Severity
  • 6.0 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
GNU Wget 1.25.0 Heap Buffer Overflow via convert_fname() in url.c
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58471.json",
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-122"
    ]
}
References

Affected packages

Git / gitlab.com/gnuwget/wget

Affected ranges

Type
GIT
Repo
https://gitlab.com/gnuwget/wget
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "source": [
        "DESCRIPTION",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.25.0"
        }
    ]
}

Affected versions

v1.*
v1.12
v1.13
v1.13.1
v1.13.2
v1.13.3
v1.13.4
v1.14
v1.15
v1.16
v1.16.1
v1.16.2
v1.16.3
v1.17
v1.17.1
v1.18
v1.19
v1.19.1
v1.19.2
v1.19.3
v1.19.4
v1.19.5
v1.20
v1.20.1
v1.20.2
v1.20.3
v1.21
v1.21.1
v1.21.2
v1.21.3
v1.21.4
v1.24.5
v1.25.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58471.json"