๐Ÿ” CVE Alert

CVE-2026-58472

MEDIUM 5.9

GNU Wget 1.25.0 Heap Buffer Overflow via HTML Attribute Encoding

CVSS Score
5.9
EPSS Score
0.2%
EPSS Percentile
13th

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.

CWE CWE-190
Vendor gnuwget
Product wget
Published Jul 7, 2026
Last Updated Jul 14, 2026
Stay Ahead of the Next One

Get instant alerts for gnuwget wget

Be the first to know when new medium vulnerabilities affecting gnuwget wget are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High

Affected Versions

gnuwget / wget
0 โ‰ค 1.25.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
gitlab.com: https://gitlab.com/gnuwget/wget/-/commit/dd692d9cea5335b181d877ae917fe6e75587a812 vulncheck.com: https://www.vulncheck.com/advisories/gnu-wget-heap-buffer-overflow-via-html-attribute-encoding

Credits

Tristan Madani