Skip to content
Fencer Vulns
medium 5.9

CVE-2026-58472 json

GNU Wget 1.25.0 Heap Buffer Overflow via HTML Attribute Encoding

published 2026-07-07 4 mo ago modified 2026-10-25 14 d ago also EUVD-2026-42084 , GHSA-332r-8pmf-8m9p , JLSEC-2026-1161

cvss
5.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 33%
public exploits
0
none known

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.

Patch / fix

  • wget Ubuntu 22.04 LTS 1.21.2-2ubuntu1.3
  • wget Ubuntu 24.04 LTS 1.21.4-1ubuntu4.3
  • wget Ubuntu 26.04 LTS 1.25.0-2ubuntu4.2
  • wget Ubuntu Pro 14.04 LTS 1.15-1ubuntu1.14.04.5+esm2
  • wget Ubuntu Pro 16.04 LTS 1.17.1-1ubuntu1.5+esm3
  • wget Ubuntu Pro 18.04 LTS 1.19.4-1ubuntu2.2+esm3
  • wget Ubuntu Pro 20.04 LTS 1.20.3-1ubuntu2.1+esm2

ubuntu advisories UBUNTU-CVE-2026-58472

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • wget RHEL 8 1.19.5-16.el8_10
  • wget RHEL 10.2 1.24.5-8.el10_2
  • wget RHEL 9 1.21.1-11.el9_8

red hat advisories RHSA-2026:62144RHSA-2026:62142RHSA-2026:62143

  • wget SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 1.25.0-160000.3.1
  • wget Linux Micro 6.1 1.24.5-slfo.1.1_4.1
  • wget Linux Micro 6.0 1.24.5-3.1
  • wget SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +6 more 1.20.3-150000.3.34.1
  • wget SLE Module for Basesystem 15 SP7 1.24.5-150700.3.3.1
  • wget SLES LTSS Extended Security 12 SP5 1.14-21.28.1

suse advisories SUSE-SU-2026:23297-1SUSE-SU-2026:23326-1SUSE-SU-2026:23163-1SUSE-SU-2026:23053-1SUSE-SU-2026:3206-1SUSE-SU-2026:3205-1

  • wget openSUSE Leap 16.0 1.25.0-160000.3.1
  • wget openSUSE Tumbleweed 1.25.0-3.1

opensuse advisories openSUSE-SU-2026:21665-1openSUSE-SU-2026:11252-1

  • wget AlmaLinux 10 1.24.5-8.el10_2
  • wget AlmaLinux 9 1.21.1-11.el9_8
  • wget AlmaLinux 8 1.19.5-16.el8_10

almalinux advisories ALSA-2026:62142ALSA-2026:62143ALSA-2026:62144

  • wget Rocky Linux 10 1.24.5-8.el10_2
  • wget Rocky Linux 9 1.21.1-11.el9_8
  • wget Rocky Linux 8 1.19.5-16.el8_10

rocky linux advisories RLSA-2026:62142RLSA-2026:62143RLSA-2026:62144

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-58472 updated cvss 5.9

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

  • Red Hat Enterprise Linux 6 wget Red Hat Enterprise Linux 7 wget
    affected: workaround, no fix available “Users are advised to avoid retrieving content from untrusted or unverified sources using Wget.”
  • Red Hat Enterprise Linux AppStream (v. 8) wget 1.19.5-16.el8_10
    fixed: vendor fix “Users are advised to avoid retrieving content from untrusted or unverified sources using Wget.” RHSA-2026:62144
  • Red Hat Enterprise Linux AppStream (v. 9) wget 1.21.1-11.el9_8
    fixed: vendor fix “Users are advised to avoid retrieving content from untrusted or unverified sources using Wget.” RHSA-2026:62143
  • Red Hat Enterprise Linux AppStream (v. 10) wget 1.24.5-8.el10_2
    fixed: vendor fix “Users are advised to avoid retrieving content from untrusted or unverified sources using Wget.” RHSA-2026:62142

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
4 mo ago

Exploit prediction

0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 6.0 CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
CNA 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H
CNA 4.0 6.0 CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD 3.1 7.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
OSV 3.1 7.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H

Affected packages

ecosystem package affected fixed in
julia wget_jll
all versions
no fix listed

Affected products

  • gnuwget wget

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.