Skip to main content
VulnerabilityPublished Updated

CVE-2026-58471: gnuwget wget · Heap-based Buffer Overflow

Affects gnuwget wgetSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.0 Medium.

Data as of 20 Nov 2026, 17:35 UTC

CVSS 4.0 base score
6.0Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 33% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 20 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
gnuwgetwgetAffected
  • <=1.25.0
Fixed in–

AI-suggested

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.

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.

References

Community reviews

Loading reviews…