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-58471: Heap-based Buffer Overflow in gnuwget wget

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

Description

GNU Wget through 1.25.0, fixed in commit c2640fe, contains a heap buffer overflow vulnerability in the convert_fname() function within src/url.c that allows remote attackers to trigger memory corruption through a server-supplied filename requiring character set conversion. When the output buffer is too small during iconv E2BIG reallocation, the reallocation logic miscalculates the remaining space, leading to a heap buffer overflow that can be exploited via a maliciously crafted server response.

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:25 UTC

Technical Analysis

CVE-2026-58471 is a heap buffer overflow vulnerability in GNU Wget through version 1.25.0, located in the convert_fname() function in src/url.c. The vulnerability arises when a server supplies a filename that requires character set conversion. During the iconv E2BIG reallocation process, if the output buffer is insufficiently sized, the reallocation logic incorrectly calculates the remaining buffer space, causing a heap overflow. This memory corruption could potentially be triggered remotely by a malicious server response. The vulnerability was addressed in commit c2640fe, which fixes the buffer reallocation logic.

Potential Impact

Successful exploitation can lead to heap memory corruption in the wget process, which may cause crashes or potentially enable further attacks depending on the context. The vulnerability requires a malicious server response with a crafted filename that triggers the flawed character set conversion logic. The CVSS 4.0 vector indicates the attack requires network access with high attack complexity and user interaction, and it has a high impact on availability and low impact on integrity and confidentiality.

Mitigation Recommendations

A fix for this vulnerability is available in the GNU Wget source code as of commit c2640fe. Users and administrators should upgrade to a version of wget that includes this fix, i.e., any version later than 1.25.0. Since this is not a cloud service, remediation depends on applying the updated software. Patch status is not explicitly stated in the provided data, but the commit reference indicates an official fix exists. Until patched, avoid using wget to retrieve files from untrusted servers that might supply malicious filenames requiring character set conversion.

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: 6a4d6193c9d9e3dbe3cbea05

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

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

Last updated: 08/20/2026, 10:52:10 UTC

Views: 83

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