Skip to main content

GNU Wget CVE-2026-58470

| EUVDEUVD-2026-42082 MEDIUM
Integer Overflow or Wraparound (CWE-190)
2026-07-07 VulnCheck GHSA-5f52-px6m-c5hw
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker deploys or compromises a web server
  2. Delivery
    Victim wget client requests file from malicious URL
  3. Exploit
    Server responds HTTP 206 with crafted Content-Range header
  4. Execution
    parse_content_range() performs signed integer arithmetic overflow
  5. Persist
    Undefined behavior triggers download desynchronization
  6. Impact
    Downloaded file is silently corrupted on victim system

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim wget client to initiate an HTTP or HTTPS connection to an attacker-controlled or attacker-compromised server that returns a crafted Content-Range response header. The Content-Range parsing path is most directly triggered during resumable downloads (wget -c flag) or when the server elects to respond with HTTP 206 Partial Content. No authentication is required and no special client-side configuration is needed (PR:N, UI:N per CVSS 4.0 vector), though the victim must connect to the malicious server - wget cannot be exploited as a listener. Exploitation is strictly client-initiated and requires the victim to make a download request to the attacker's origin. The impact is bounded to download desynchronization (VA:L) based on current data; no conditions enabling code execution or confidentiality breach on the client host have been confirmed. Non-interactive automated wget usage (scripts, cron jobs, pipelines) without origin allowlisting represents the highest-risk deployment pattern.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N, score 6.9) positions this as a medium-severity, network-accessible, zero-prerequisite flaw with low availability impact and no confidentiality or integrity impact. The stated impact is download desynchronization - a client-side corruption of the download session rather than host-level availability loss. EPSS data is not provided in available intelligence, so probabilistic exploitation likelihood cannot be quantified. This vulnerability is not listed in the CISA KEV catalog, and no public proof-of-concept exploit has been identified, making active exploitation unlikely in the near term. The practical risk is highest for automated pipelines running wget against third-party or untrusted URLs, where silent file corruption could propagate into build artifacts or deployed software. A theoretical escalation path exists because signed integer overflow in C is undefined behavior - aggressive compiler optimizations could theoretically produce memory corruption outcomes - but no such impact is confirmed by available data, and the current assessment should treat the impact as bounded to VA:L unless new evidence emerges. Overall, this is a genuine but non-urgent priority: patch when distributions ship updates, and prioritize hardening automated wget usage against untrusted origins in the interim.

Exploit ScenarioDerived

An attacker operates a malicious web server (or performs a man-in-the-middle attack against HTTP traffic) and waits for a victim's wget client to request a file. The server responds with an HTTP 206 Partial Content message containing a Content-Range header crafted with values that overflow a signed integer in parse_content_range(), triggering undefined behavior that desynchronizes the download state - causing the victim to receive a silently corrupted or incomplete file without a clear error indication. In CI/CD pipelines or automated build systems that fetch dependencies via wget without checksum verification, this could result in corrupted build artifacts being used in production deployments.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 07, 2026

Integer overflow in GNU Wget through 1.25.0 allows a malicious or compromised web server to corrupt client download sessions by supplying crafted Content-Range response headers. The parse_content_range() function in src/http.c performs signed integer arithmetic on server-supplied values without overflow guards, triggering undefined behavior under C's signed overflow rules and causing download desynchronization on the affected client. No active exploitation has been confirmed (not in CISA KEV) and no public exploit code is known at time of analysis; real-world impact is bounded to availability disruption rather than host compromise based on current data.

RemediationAI

The primary remediation is to upgrade to a version of GNU Wget that includes upstream commit 43d3ba9336bc94937e6fae2365c6ffd30c34ffcf (https://gitlab.com/gnuwget/wget/-/commit/43d3ba9336bc94937e6fae2365c6ffd30c34ffcf). A specific patched release tag has not been confirmed in available data - monitor the GNU Wget GitLab project and distribution package feeds for a release incorporating this fix. The VulnCheck advisory at https://www.vulncheck.com/advisories/gnu-wget-integer-overflow-via-content-range-header-parsing may provide additional release timeline information. As a compensating control prior to patching, avoid running wget in automated scripts (CI/CD pipelines, build systems, cron jobs) against untrusted, third-party, or user-supplied URLs, since these contexts remove human review of the server's responses. For resumable download use cases (wget -c), which explicitly trigger Content-Range parsing, restrict usage to known-good HTTPS origins with certificate pinning or integrity verification (e.g., verifying SHA checksums of downloaded artifacts post-download). Switching download tools (e.g., curl) eliminates exposure to this specific function but does not constitute a general mitigation strategy, as similar parsing vulnerabilities may exist elsewhere.

Affected VersionsENISA

Wget 0 ≤1.25.0
Wget patch: 43d3ba9336bc94937e6fae2365c6ffd30c34ffcf

Affected Packages

euvd wget no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

GNU Wget is a command-line HTTP/HTTPS/FTP download client widely distributed as a standard utility across Linux distributions and embedded systems. The vulnerable function parse_content_range() in src/http.c processes HTTP Content-Range response headers, which servers send during HTTP 206 Partial Content responses - used in resumable downloads (wget -c) and range-request scenarios. The root cause is CWE-190 (Integer Overflow or Wraparound): numeric fields from the server-controlled Content-Range header are consumed with signed integer arithmetic, and no bounds check prevents values from causing overflow. Signed integer overflow is undefined behavior in C, meaning compilers may generate unpredictable machine code paths, potentially widening the actual impact beyond what the described symptom (desynchronization) might suggest. CPE cpe:2.3:a:gnuwget:wget:*:*:*:*:*:*:*:* identifies all versions through 1.25.0 as affected. The fix is available as upstream commit 43d3ba9336bc94937e6fae2365c6ffd30c34ffcf on the GNU Wget GitLab repository.

Know when Wget gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 5.3 MEDIUM

Network vector with no privileges or user interaction required in automated contexts; impact is limited to low availability (download desynchronization) with no confidentiality or integrity impact confirmed.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
SUSE 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Red Hat 5.3 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
High
standard download utility bundled in nearly all Linux distributions
Data Quality
8 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
High
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

More in Wget

View all
CVE-2014-4877 CRITICAL POC
9.3 Oct 29

Absolute path traversal vulnerability in GNU Wget before 1.16, when recursion is enabled, allows remote FTP servers to w

CVE-2016-4971 HIGH POC
8.8 Jun 30

GNU wget before 1.18 allows remote servers to write to arbitrary files by redirecting a request from HTTP to a crafted F

CVE-2017-13089 HIGH
8.8 Oct 27

The http.c:skip_short_body() function is called in some circumstances, such as when processing redirects. Rated high sev

CVE-2016-7098 HIGH POC
8.1 Sep 26

Race condition in wget 1.17 and earlier, when used in recursive or mirroring mode to download a single file, might allow

CVE-2018-20483 HIGH POC
7.8 Dec 26

set_file_metadata in xattr.c in GNU Wget before 1.20.1 stores a file's origin URL in the user.xdg.origin.url metadata at

CVE-2017-13090 HIGH
8.8 Oct 27

The retr.c:fd_read_body() function is called when processing OK responses. Rated high severity (CVSS 8.8), this vulnerab

CVE-2018-0494 MEDIUM POC
6.5 May 06

GNU Wget before 1.19.5 is prone to a cookie injection vulnerability in the resp_new function in http.c via a \r\n sequen

CVE-2017-6508 MEDIUM POC
6.1 Mar 07

CRLF injection vulnerability in the url_parse function in url.c in Wget through 1.19.1 allows remote attackers to inject

CVE-2019-5953 CRITICAL
9.8 May 17

Buffer overflow in GNU Wget 1.20.1 and earlier allows remote attackers to cause a denial-of-service (DoS) or may execute

CVE-2024-38428 CRITICAL
9.1 Jun 16

url.c in GNU Wget through 1.24.5 mishandles semicolons in the userinfo subcomponent of a URI, and thus there may be inse

CVE-2026-58469 HIGH
8.7 Jul 07

Denial of service in GNU Wget through 1.25.0 lets a malicious or compromised HTTP(S) server crash the client by serving

CVE-2026-94574 HIGH
7.8 Sep 22

Local cross-user code execution with privilege-escalation potential affects the Windows builds of GNU wget distributed b

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Image SLES15-SP7-Azure-3P Image SLES15-SP7-Azure-Basic Image SLES15-SP7-Azure-Standard Image SLES15-SP7-BYOS-Azure Image SLES15-SP7-BYOS-GCE Image SLES15-SP7-CHOST-BYOS-Aliyun Image SLES15-SP7-CHOST-BYOS-Azure Image SLES15-SP7-CHOST-BYOS-EC2 Image SLES15-SP7-CHOST-BYOS-GCE Image SLES15-SP7-CHOST-BYOS-GDC Image SLES15-SP7-CHOST-BYOS-SAP-CCloud Image SLES15-SP7-EC2 Image SLES15-SP7-EC2-ECS-HVM Image SLES15-SP7-GCE Image SLES15-SP7-HPC-Azure Image SLES15-SP7-HPC-BYOS-Azure Image SLES15-SP7-HPC-BYOS-EC2 Image SLES15-SP7-HPC-BYOS-GCE Image SLES15-SP7-Hardened-BYOS-Azure Image SLES15-SP7-Hardened-BYOS-EC2 Image SLES15-SP7-Hardened-BYOS-GCE Image SLES15-SP7-SAP-Azure Image SLES15-SP7-SAP-Azure-3P Image SLES15-SP7-SAP-BYOS-Azure Image SLES15-SP7-SAP-BYOS-EC2 Image SLES15-SP7-SAP-BYOS-GCE Image SLES15-SP7-SAP-EC2 Image SLES15-SP7-SAP-GCE Image SLES15-SP7-SAP-Hardened-Azure Image SLES15-SP7-SAP-Hardened-BYOS-Azure Image SLES15-SP7-SAP-Hardened-BYOS-EC2 Image SLES15-SP7-SAP-Hardened-BYOS-GCE Image SLES15-SP7-SAP-Hardened-GCE Image SLES15-SP7-SAPCAL-Azure Image SLES15-SP7-SAPCAL-EC2 Image SLES15-SP7-SAPCAL-GCE Affected
SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise High Performance Computing 15 SP7 SUSE Linux Enterprise Module for Basesystem 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy