CVE-2026-58471

MEDIUM CVSS 4.0: 6.0 EPSS 0.39%
Updated Oct 25, 2026
Gnu
Parameter Value
CVSS 6.0 (MEDIUM)
Affected Versions before 1.25.0
Type CWE-122 (Heap-based Buffer Overflow)
Vendor Gnu
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Gnu Wget
cpe:2.3:a:gnu:wget:*:*:*:*:*:*:*:*
— <= 1.25.0