CVE-2026-58472

Source
https://cve.org/CVERecord?id=CVE-2026-58472
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58472.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-58472
Downstream
Related
Published
2026-07-07T19:50:53.967Z
Modified
2026-07-11T09:29:25.538675106Z
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 HTML Attribute Encoding
Details

GNU Wget through 1.25.0, fixed in commit dd692d9, contains a heap buffer overflow vulnerability in the htmlquotestring() function in src/convert.c that allows a remote attacker to trigger memory corruption by supplying a crafted HTML attribute with a large number of characters requiring entity encoding. A server-supplied HTML attribute causes a signed integer counter to overflow during output size accumulation, resulting in an undersized heap allocation and subsequent heap buffer overflow during the copy phase.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58472.json",
    "cwe_ids": [
        "CWE-190"
    ],
    "cna_assigner": "VulnCheck"
}
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
{
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:gnu:wget:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "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-58472.json"