CVE-2026-58470

GNU Wget 1.25.0 Integer Overflow via Content-Range Header Parsing

Published Jul 7, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
GNU Wget through 1.25.0, fixed in commit 43d3ba9, contains an integer overflow vulnerability in the parse_content_range() function within src/http.c that allows server-controlled values to cause signed integer arithmetic to overflow. Attackers can supply malicious Content-Range header values to trigger undefined behavior and download desynchronization in the affected client.

Analysis

AI-generated

Technical impact

This integer overflow (CWE‑190) in GNU Wget up to and including version 1.25.0 stems from unchecked signed integer arithmetic in the parse_content_range() function used to interpret the Content‑Range header. A server can supply a malicious range that overflows the signed 32‑bit counter, triggering undefined behaviour. The result can be a corrupted or desynchronised download, potentially allowing integrity tampering or other side effects. The CVSS score of 6.9 reflects moderate severity.

Affected Systems

GNU Wget up to version 1.25.0, and all earlier releases distributed by the GNU Wget project. The vulnerability affects any system that runs these versions of the wget client.

Risk and Exploitability

The CVSS score of 6.9 denotes moderate severity while the EPSS <1 % indicates a very low likelihood of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalogue, suggesting no known wide‑scale attacks. Based on the description, the attack vector is inferred to be a malicious Range headers to a victim using wget. Attackers can exploit it by hosting a malicious web server that constructs carefully chosen Content‑Range headers and having a victim use the vulnerable advanced conditions are required; the attack is performed over a normal network request.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade GNU Wget to a version that includes the integer commit https://gitlab.com/gnuwget/wget/-/commit/43d3ba9336bc94937e6fae2365c6ffd30c34ffcf before compiling the source.
  • Configure your HTTP clients or servers to validate or restrict the use of the Content‑Range header, and consider disabling byte‑range requests if not needed as an indicator of exploitation attempts.
  • Verify integrity of downloaded files using provided checksums or cryptographic signatures whenever possible.

Generated by OpenCVE AI on August 4, 2026 at 07:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8543-1 Wget vulnerabilities
History
Type Values Removed Values Added
First Time appeared Gnu
Gnu wget
CPEs cpe:2.3:a:gnu:wget:*:*:*:*:*:*:*:*
Vendors & Products Gnu
Gnu wget
Type Values Removed Values Added
First Time appeared Wget
Wget wget
Vendors & Products Wget
Wget wget
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description GNU Wget through 1.25.0, fixed in commit 43d3ba9, contains an integer overflow vulnerability in the parse_content_range() function within src/http.c that allows server-controlled values to cause signed integer arithmetic to overflow. Attackers can supply malicious Content-Range header values to trigger undefined behavior and download desynchronization in the affected client.
Title GNU Wget 1.25.0 Integer Overflow via Content-Range Header Parsing
Weaknesses CWE-190
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 14, 2026, 10:03 PM
Reserved
Jun 30, 2026, 8:20 PM
Status
Analyzed
Published
Jul 7, 2026, 9:17 PM
Modified
Oct 25, 2026, 8:10 PM
Severity
Moderate
Public date
Jul 7, 2026, 7:45 PM