CVE Database›Document archive›CVE-2026-58472

CVE-2026-58472

wget: GNU Wget: Arbitrary code execution or denial of service via crafted HTML attribute

Loading…

Severity

Moderate

Red Hat Product Security

5.9

CVSS 3.1

Review impact separately from score.

Published · July 8, 2026

Updated · September 2, 2026

Description

A flaw was found in GNU Wget. A remote attacker can exploit a heap buffer overflow vulnerability in the html_quote_string() function by providing a specially crafted HTML attribute. This can lead to memory corruption and potentially result in arbitrary code execution or a denial of service.

Statement

This Moderate impact heap buffer overflow in GNU Wget occurs when processing HTML attributes with extensive entity encoding. Successful exploitation requires user interaction, as a victim must download a specially crafted HTML file, and is further constrained by high attack complexity. This limits the direct risk to Red Hat systems where Wget is typically used for trusted content retrieval.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Users are advised to avoid retrieving content from untrusted or unverified sources using Wget.

CVSS / CWE

CVSS 3.1 · 5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H

CWE-131 · Incorrect Calculation of Buffer Size