GNU Wget 1.25.0 Heap Buffer Overflow via HTML Attribute Encoding
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · High
- Fix status
- Partial Red Hat: 3 fixed, 2 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Red Hat 3 advisories
- RHSA-2026:62144 Released 2026-09-01 · Red Hat rating Moderatewget security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) wget-1.19.5-16.el8_10
- RHSA-2026:62143 Released 2026-09-01 · Red Hat rating Moderatewget security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) wget-1.21.1-11.el9_8
- RHSA-2026:62142 Released 2026-09-01 · Red Hat rating Moderatewget security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 10) wget-1.24.5-8.el10_2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix yet |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:62142 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2026:62144 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:62143 |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-58472
- 2026-10-03 Alias added: GHSA-332r-8pmf-8m9p
References
Patch 1
More GNU Wget vulnerabilities
- TI-2017-09727 GNU Wget: stack overflow in HTTP protocol handling CVSS 3.0HIGH 8.8
- TI-2016-04293 GNU wget before 1.18 allows remote servers to write to arbitrary files by redirecting a… CVSS 3.1HIGH 8.8
- TI-2014-04014 Absolute path traversal vulnerability in GNU Wget before 1.16, when recursion is enabled… CVSS 2.0HIGH 9.3
- TI-2017-09728 GNU Wget: heap overflow in HTTP protocol handling CVSS 3.0HIGH 8.8
- TI-2019-04244 Out-of-bounds write in GNU Wget CVSS 3.0CRITICAL 9.8
- TI-2016-06103 Race condition in wget 1.17 and earlier, when used in recursive or mirroring mode to… CVSS 3.0HIGH 8.1
Sources
- CVE-2026-58472 · CVE Program
- CVE-2026-58472 · NVD
- FIRST EPSS
- GHSA-332r-8pmf-8m9p · GitHub Advisory Database · CC BY 4.0
- CVE-2026-58472 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences