cve.bz

CVE-2026-58472 gnu wget: Year 2038 problem, Y2K38, Y2038, Epochalypse

6.0 mediumEPSS 0.4%Fix available

Medium (6.0) in gnu wget. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

6.0 medium
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

CVSS 3.1

7.1 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-07-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-58472 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-58472?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-58472?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-58472 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-58472

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-58472](https://cve.bz/cve/badge/CVE-2026-58472.svg)](https://cve.bz/cve/CVE-2026-58472)

HTML:

<a href="https://cve.bz/cve/CVE-2026-58472"><img src="https://cve.bz/cve/badge/CVE-2026-58472.svg" alt="CVE-2026-58472"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
gnuwget wgetthrough 1.25.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14wgetno fix listedDEBIAN-CVE-2026-58472
Ubuntu22.04:LTSwget1.21.2-2ubuntu1.3UBUNTU-CVE-2026-58472 USN-8543-1
Ubuntu24.04:LTSwget1.21.4-1ubuntu4.3UBUNTU-CVE-2026-58472 USN-8543-1
Ubuntu25.10wgetno fix listedUBUNTU-CVE-2026-58472
Ubuntu26.04:LTSwget1.25.0-2ubuntu4.2UBUNTU-CVE-2026-58472 USN-8543-1
UbuntuPro:14.04:LTSwget1.15-1ubuntu1.14.04.5+esm2UBUNTU-CVE-2026-58472 USN-8543-1
UbuntuPro:16.04:LTSwget1.17.1-1ubuntu1.5+esm3UBUNTU-CVE-2026-58472 USN-8543-1
UbuntuPro:18.04:LTSwget1.19.4-1ubuntu2.2+esm3UBUNTU-CVE-2026-58472 USN-8543-1
UbuntuPro:20.04:LTSwget1.20.3-1ubuntu2.1+esm2UBUNTU-CVE-2026-58472 USN-8543-1
Red Hatenterprise_linux:8::appstreamwget, wget-debuginfo, wget-debugsource0:1.19.5-16.el8_10RHSA-2026:62144
Red Hatenterprise_linux:9::appstreamwget, wget-debuginfo, wget-debugsource0:1.21.1-11.el9_8RHSA-2026:62143
Red Hatenterprise_linux:10.2wget, wget-debuginfo, wget-debugsource0:1.24.5-8.el10_2RHSA-2026:62142
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 6 morewget1.20.3-150000.3.34.1SUSE-SU-2026:3206-1
SUSELinux Enterprise Module for Basesystem 15 SP7wget1.24.5-150700.3.3.1SUSE-SU-2026:3148-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0wget1.25.0-160000.3.1SUSE-SU-2026:23326-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5wget1.14-21.28.1SUSE-SU-2026:3205-1
SUSELinux Micro 6.0wget1.24.5-3.1SUSE-SU-2026:23053-1
SUSELinux Micro 6.1wget1.24.5-slfo.1.1_4.1SUSE-SU-2026:23163-1
SUSELinux Micro 6.2wget1.25.0-160000.3.1SUSE-SU-2026:23297-1
openSUSELeap 16.0wget1.25.0-160000.3.1openSUSE-SU-2026:21665-1
openSUSETumbleweedwget1.25.0-3.1openSUSE-SU-2026:11252-1
AlmaLinux8wget1.19.5-16.el8_10ALSA-2026:62144
AlmaLinux9wget1.21.1-11.el9_8ALSA-2026:62143
AlmaLinux10wget1.24.5-8.el10_2ALSA-2026:62142
Rocky Linux8wget0:1.19.5-16.el8_10RLSA-2026:62144
Rocky Linux9wget0:1.21.1-11.el9_8RLSA-2026:62143
Rocky Linux10wget0:1.24.5-8.el10_2RLSA-2026:62142

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's 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.

Red Hat's mitigation

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

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10wget-0:1.24.5-8.el10_2Fixed 2026-09-01RHSA-2026:62142
Red Hat Enterprise Linux 8wget-0:1.19.5-16.el8_10Fixed 2026-09-01RHSA-2026:62144
Red Hat Enterprise Linux 9wget-0:1.21.1-11.el9_8Fixed 2026-09-01RHSA-2026:62143
Red Hat Enterprise Linux 6wgetAffected
Red Hat Enterprise Linux 7wgetAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-58472.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON