# CVE-2026-58472: GNU Wget 1.25.0 Heap Buffer Overflow via HTML Attribute Encoding

- Priority: **Routine**
- Reason: Not severe (CVSS 6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-07 · Modified: 2026-07-14
- Aliases: UBUNTU-CVE-2026-58472, DEBIAN-CVE-2026-58472, CGA-4r22-ccq9-ch88, CGA-9wm2-38xj-m36v, CGA-qpgw-7fv8-2792, CGA-rxpg-rj3r-f424
- Record: https://cvemate.com/vulnerability/CVE-2026-58472 · JSON: https://cvemate.com/vulnerability/CVE-2026-58472/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
- EPSS: 0.269%, percentile 20.329%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard wget (Chainguard): All versions (No fix recorded) \| \< 1.25.0-r15
- chainguard wget-doc (Chainguard): All versions (No fix recorded) \| \< 1.25.0-r15
- wolfi wget (Wolfi): All versions (No fix recorded) \| \< 1.25.0-r15
- wolfi wget-doc (Wolfi): All versions (No fix recorded) \| \< 1.25.0-r15
- debian wget (Debian): All versions (No fix recorded)
- ubuntu wget (Ubuntu): \< 1.15-1ubuntu1.14.04.5+esm2 \| \< 1.17.1-1ubuntu1.5+esm3 \| \< 1.19.4-1ubuntu2.2+esm3 \| \< 1.20.3-1ubuntu2.1+esm2 \| \< 1.21.2-2ubuntu1.3 \| \< 1.21.4-1ubuntu4.3 \| All versions (No fix recorded) \| \< 1.25.0-2ubuntu4.2
- gnu wget: ≤ 1.25.0
- gnuwget wget: ≤ 1.25.0

## References

- <https://gitlab.com/gnuwget/wget/-/commit/dd692d9cea5335b181d877ae917fe6e75587a812>
- <https://www.vulncheck.com/advisories/gnu-wget-heap-buffer-overflow-via-html-attribute-encoding>
- <https://ubuntu.com/security/CVE-2026-58472>
- <https://www.cve.org/CVERecord?id=CVE-2026-58472>
- <https://ubuntu.com/security/notices/USN-8543-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-58472>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58472.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-58472>
- <https://gitlab.com/gnuwget/wget>

---

Data as of 2026-12-05T03:14:33.371Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
