Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 87%

CVE-2026-58472: Integer Overflow or Wraparound in gnuwget wget

0
Medium
VulnerabilityCVE-2026-58472cvecve-2026-58472
Published: 07/07/2026 (07/07/2026, 19:50:53 UTC)
Source: CVE Database V5
Vendor/Project: gnuwget
Product: wget

Description

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.

CVSS v4.0

Score 6.0medium

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Affected versions
<=1.25.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 09:55:39 UTC

Technical Analysis

CVE-2026-58472 is a heap buffer overflow vulnerability in GNU Wget through version 1.25.0, specifically in the html_quote_string() function within src/convert.c. A remote attacker can supply a malicious HTML attribute containing a large number of characters requiring entity encoding, causing a signed integer counter to overflow during output size calculation. This results in an undersized heap allocation and a buffer overflow during the copy phase, potentially leading to memory corruption. The issue is resolved in a commit identified as dd692d9, which fixes the integer overflow and buffer allocation logic.

Potential Impact

Successful exploitation can cause heap memory corruption in the affected Wget process. This may lead to application crashes or potentially allow an attacker to execute arbitrary code or cause denial of service. The vulnerability requires a crafted HTML attribute from a remote server and has a medium severity rating with a CVSS 4.0 score of 6.0. No known exploits are reported in the wild at this time.

Mitigation Recommendations

A fix for this vulnerability is available in the commit dd692d9, which addresses the integer overflow and buffer allocation issues. Users should upgrade to a version of GNU Wget that includes this fix (versions later than 1.25.0). Since no official patch version number is provided, users should monitor the vendor's repository or official channels for the patched release. Until then, avoid using vulnerable versions to retrieve untrusted HTML content that may trigger this issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-06-30T20:20:33.790Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4d6193c9d9e3dbe3cbea09

Added to database: 07/07/2026, 20:29:07 UTC

Last enriched: 07/15/2026, 09:55:39 UTC

Last updated: 08/20/2026, 22:52:13 UTC

Views: 85

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses