CVE Catalog

CVE-2026-58471

MediumCVSS 5.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.22%

12th percentile - higher than 12% of all known CVEs

Summary

GNU Wget through version 1.25.0 contains a heap buffer overflow vulnerability in the convert_fname() function within src/url.c. The flaw occurs during character set conversion of a server-supplied filename when the reallocation logic miscalculates remaining space, leading to memory corruption.

Risk Assessment

An attacker can remotely exploit this vulnerability by sending a maliciously crafted server response, potentially leading to system compromise or application crash.

Recommendation

Immediately update GNU Wget to a version containing the fix (commit c2640fe) or later to eliminate the heap buffer overflow risk.

Other vulnerabilities in GNU Wget

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS