Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-58471— GNU Wget 1.25.0 Heap Buffer Overflow via convert_fname() in url.c

Quick assessment

Affected
gnuwget wget
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

GNU wget是美国GNU基金会开源的一个文件下载工具。 GNU wget 1.25.0及之前版本存在缓冲区错误漏洞,该漏洞源于src/url.c中的convert_fname()函数存在堆缓冲区溢出漏洞,可能导致远程攻击者通过服务器提供的文件名触发字符集转换而导致内存损坏,当iconv E2BIG重新分配输出缓冲区过小时,重新分配逻辑错误计算剩余空间,导致可通过恶意服务器响应利用的堆缓冲区溢出。

CVSS 5.9 · Medium EPSS 0.39% · P31

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 2

VendorProduct Version RangeStatus
gnuwget wget ≤ 1.25.0 affected
c2640fe5171c59f87c58dc9fcb195b2d18b010ee unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-58471

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
GNU Wget 1.25.0 Heap Buffer Overflow via convert_fname() in url.c
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
堆缓冲区溢出
Source: CVE Program / CVE List V5
Vulnerability Title
GNU wget 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
GNU wget是美国GNU基金会开源的一个文件下载工具。 GNU wget 1.25.0及之前版本存在缓冲区错误漏洞,该漏洞源于src/url.c中的convert_fname()函数存在堆缓冲区溢出漏洞,可能导致远程攻击者通过服务器提供的文件名触发字符集转换而导致内存损坏,当iconv E2BIG重新分配输出缓冲区过小时,重新分配逻辑错误计算剩余空间,导致可通过恶意服务器响应利用的堆缓冲区溢出。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
gnuwget wget 0 ~ 1.25.0 -

II. Public POCs for CVE-2026-58471

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-58471

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-58471 (1)

Vendor Advisories for CVE-2026-58471 (1)

Same Patch Batch · gnuwget · 2026-07-07 · 4 CVEs total

CVE-2026-58469 7.5 HIGH GNU Wget 1.25.0 Heap Buffer Underread via Metalink URL Parsing
CVE-2026-58472 5.9 MEDIUM GNU Wget 1.25.0 Heap Buffer Overflow via HTML Attribute Encoding
CVE-2026-58470 5.3 MEDIUM GNU Wget 1.25.0 Integer Overflow via Content-Range Header Parsing

IV. Related Vulnerabilities

V. Comments for CVE-2026-58471

No comments yet


Leave a comment