CVE-2026-58472
GNU Wget 1.25.0 Heap Buffer Overflow via HTML Attribute Encoding
Reported by vulncheck · Published July 7, 2026
GNU Wget through 1.25.0, fixed in commit dd692d9, contains a heap buffer overflow vulnerability in the html_quote_string() 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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| wget-debugsource | errata.rockylinux.org | 1.24.5-8.el10, 1.21.1-11.el9, 1.19.5-16.el8 |
| wget-debuginfo | errata.rockylinux.org | 1.24.5-8.el10, 1.21.1-11.el9, 1.19.5-16.el8 |
| wget | errata.rockylinux.org | 1.24.5-8.el10, 1.21.1-11.el9, 1.19.5-16.el8 |
| wget | Chainguard | 1.25.0-r15 |
| wget | Wolfi | 1.25.0-r15 |
| wget | gnu | 1.25.0 |
| wget | gnuwget | 1.25.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| gnuwget | wget | 0, dd692d9cea5335b181d877ae917fe6e75587a812 |
| chainguard | wget | 0 |
| wolfi | wget | 0 |
| gnuwget | wget | *, 0 |
| gnu | wget | 0 |
Timeline
- Jul 7, 2026 CVE Published
- Jul 8, 2026 EPSS Score (30 in total, the first dated here)
- Jul 8, 2026 Coalition ESS Score
- Jul 9, 2026 Security Advisory (5 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (7 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-58472
vulnetix vdb fixes CVE-2026-58472
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-58472/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- Fix Commit patch
- third-party-advisory