Integer Overflow or Wraparound Affecting wget-debugsource package, versions <0:1.21.1-11.el9_8


Severity

Recommended
0.0
medium
0
10

Based on Rocky 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-ROCKY9-WGETDEBUGSOURCE-19507270
  • published3 Sept 2026
  • disclosed7 Jul 2026

Introduced: 7 Jul 2026

CVE-2026-58472  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:9 wget-debugsource to version 0:1.21.1-11.el9_8 or higher.
This issue was patched in RLSA-2026:62143.

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 Rocky-Linux. See How to fix? for Rocky-Linux:9 relevant fixed versions and status.

GNU Wget through 1.25.0, fixed in commit dd692d9, contains a heap buffer overflow vulnerability in the html_quote_string() function in src/convert.c that allows a remote attacker to trigger memory corruption by supplying a crafted HTML attribute with a large number of characters requiring entity encoding. A server-supplied HTML attribute causes a signed integer counter to overflow during output size accumulation, resulting in an undersized heap allocation and subsequent heap buffer overflow during the copy phase.

CVSS Base Scores

version 3.1