Heap-based Buffer Overflow Affecting wget-debugsource package, versions <0:1.24.5-8.el10_2


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.39% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-WGETDEBUGSOURCE-19495867
  • published2 Sept 2026
  • disclosed7 Jul 2026

Introduced: 7 Jul 2026

CVE-2026-58471  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade RHEL:10 wget-debugsource to version 0:1.24.5-8.el10_2 or higher.
This issue was patched in RHSA-2026:62142.

NVD Description

Note: Versions mentioned in the description apply only to the upstream wget-debugsource package and not the wget-debugsource package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1