CVE-2026-58471

Source
https://cve.org/CVERecord?id=CVE-2026-58471
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-58471.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-58471
Downstream
Related
Published
2026-07-07T19:47:47Z
Modified
2026-09-10T18:27:12Z
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
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-122"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58471.json"
}
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
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:gnu:wget:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "last_affected":  "1.25.0"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

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/osv-test-cve-osv-conversion/osv-output/CVE-2026-58471.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "294500228288664263625566711264141674268",
                "199220650042591654369529381888353120125",
                "95353833620347814771463094521014642397",
                "242719895248178841474821771296533257917",
                "48869115540669839174357667352734493065",
                "278072853899392985474035146633435263733",
                "261827622472641176285802154208345937009",
                "117736049488357435672958566244550401902",
                "260366348520192133835145400447701741387",
                "182083678579101949302146237586105708061",
                "178166415751543498109291477949194743683",
                "204343209596003018662545539021124742601",
                "324778690218820308708773285349555998474",
                "50988566751615329397715604544818724913",
                "306820567038559673937729912774310426983",
                "282215887192772135856808672275956114641",
                "141963259781630858488931853108443860237",
                "239498595861488396254100329307580822270",
                "192625165309822972587069235614994581664"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-58471-691fc610",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://gitlab.com/gnuwget/wget@c2640fe5171c59f87c58dc9fcb195b2d18b010ee",
        "target":  {
            "file":  "src/url.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "65550410819091286333420077388895906521",
            "length":  1649
        },
        "id":  "CVE-2026-58471-b11efdd3",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://gitlab.com/gnuwget/wget@c2640fe5171c59f87c58dc9fcb195b2d18b010ee",
        "target":  {
            "file":  "src/url.c",
            "function":  "convert_fname"
        }
    }
]
vanir_signatures_modified
"2026-08-18T17:56:19Z"