Read the docs
TI-2026-42075 Aliases CVE-2026-58471GHSA-vv88-699v-w5rh

GNU Wget 1.25.0 Heap Buffer Overflow via convert_fname() in url.c

Priority LOW 27CWE-122Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
High
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · Low · High
Fix status
Partial Red Hat: 3 fixed, 2 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0039 33rd percentileScored 2026-11-07
Fix Partial Red Hat: 3 advisoriesRed Hat: 3 fixed, 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
GNUwgetup to 1.25.0—Patch availableCNA
  • wget VendorGNU Affected up to 1.25.0 Fixed in — Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gnu:wget:*:*:*:*:*:*:*:*up to 1.25.0VulnerableGNU
  • cpe:2.3:a:gnu:wget:*:*:*:*:*:*:*:* Versions up to 1.25.0 Vulnerable ·GNU

Remediation

Red Hat 3 advisories

  • RHSA-2026:62144 Released 2026-09-01 · Red Hat rating Moderate
    wget security, bug fix, and enhancement update
    • Red Hat Enterprise Linux AppStream (v. 8) wget-1.19.5-16.el8_10
  • RHSA-2026:62143 Released 2026-09-01 · Red Hat rating Moderate
    wget security, bug fix, and enhancement update
    • Red Hat Enterprise Linux AppStream (v. 9) wget-1.21.1-11.el9_8
  • RHSA-2026:62142 Released 2026-09-01 · Red Hat rating Moderate
    wget security, bug fix, and enhancement update
    • Red Hat Enterprise Linux AppStream (v. 10) wget-1.24.5-8.el10_2

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix yet
Red Hat Enterprise Linux 7AffectedNo fix yet
Red Hat Enterprise Linux AppStream (v. 10)Fixed RHSA-2026:62142
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2026:62144
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2026:62143

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-58471
  2. 2026-10-03 Alias added: GHSA-vv88-699v-w5rh

References

Patch 1

  • TI-2017-09727 GNU Wget: stack overflow in HTTP protocol handling CVSS 3.0HIGH 8.8
  • TI-2016-04293 GNU wget before 1.18 allows remote servers to write to arbitrary files by redirecting a… CVSS 3.1HIGH 8.8
  • TI-2014-04014 Absolute path traversal vulnerability in GNU Wget before 1.16, when recursion is enabled… CVSS 2.0HIGH 9.3
  • TI-2017-09728 GNU Wget: heap overflow in HTTP protocol handling CVSS 3.0HIGH 8.8
  • TI-2019-04244 Out-of-bounds write in GNU Wget CVSS 3.0CRITICAL 9.8
  • TI-2016-06103 Race condition in wget 1.17 and earlier, when used in recursive or mirroring mode to… CVSS 3.0HIGH 8.1
See all 22 →

Sources