A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-69195

CVE-2025-69195: GNU Wget2 Buffer Overflow Vulnerability

CVE-2025-69195 is a stack-based buffer overflow flaw in GNU Wget2's filename sanitization logic that allows remote attackers to cause memory corruption via crafted URLs. This article covers the technical details, affected versions, impact, and mitigation strategies.

Updated: May 19, 2026

CVE-2025-69195 Overview

CVE-2025-69195 is a stack-based buffer overflow [CWE-121] in GNU Wget2, the successor to the widely used wget download utility. The flaw resides in the filename sanitization logic that processes attacker-controlled URL paths when filename restriction options are active. A remote attacker can craft a malicious URL that, once a user interacts with wget2, triggers memory corruption on the stack. Successful exploitation can crash the process and may enable arbitrary code execution within the user's context.

Critical Impact

A specially crafted URL processed by wget2 can corrupt the stack, leading to denial of service or potential arbitrary code execution with the privileges of the invoking user.

Affected Products

  • GNU Wget2 (all versions prior to the upstream fix)
  • Linux distributions packaging vulnerable wget2 builds
  • Automation and CI pipelines invoking wget2 against untrusted URLs

Discovery Timeline

  • 2026-01-09 - CVE-2025-69195 published to the National Vulnerability Database (NVD)
  • 2026-03-05 - Last updated in NVD database

Technical Details for CVE-2025-69195

Vulnerability Analysis

The vulnerability lives in the filename sanitization routine that wget2 invokes when saving remote resources to disk. When filename restriction options such as --restrict-file-names are active, the routine rewrites characters from the URL path into a fixed-size stack buffer. An attacker-controlled URL with a crafted path length or character distribution causes the sanitizer to write past the buffer boundary.

Because the overflow occurs on the stack, adjacent saved registers, frame pointers, and return addresses can be overwritten. The result is process termination at minimum and, depending on compiler hardening flags and platform mitigations, control-flow hijack at worst. User interaction is required: a victim must run wget2 against the attacker-supplied URL.

Root Cause

The root cause is missing or insufficient bounds checking in the filename sanitization function. The code assumes the transformed filename fits within a statically sized stack buffer. It does not validate the length of the path component extracted from the URL before performing character substitutions and copies, which is the classic [CWE-121] pattern.

Attack Vector

Exploitation occurs over the network with low complexity and no privileges. The attacker hosts a resource at a URL with a malicious path, then lures a user or automated job into fetching it with wget2. Common delivery channels include phishing links, compromised mirrors, malicious redirects, and tampered package metadata that references attacker URLs.

No verified public exploit or proof-of-concept code is available at this time. Refer to the Red Hat CVE Advisory and Red Hat Bug Report #2425770 for upstream tracking details.

Detection Methods for CVE-2025-69195

Indicators of Compromise

  • Crash dumps or segmentation faults originating from wget2 processes, especially when invoked with --restrict-file-names or related sanitization flags.
  • Unusual outbound HTTP/HTTPS requests from automation accounts to URLs containing abnormally long or character-dense path components.
  • Unexpected child processes spawned by wget2 or its parent shell shortly after a download attempt.

Detection Strategies

  • Hunt process telemetry for wget2 exits with non-zero or signal-based termination codes correlated with recent URL fetches.
  • Inspect proxy and DNS logs for fetches against newly registered or low-reputation domains delivered via scripts or scheduled jobs.
  • Apply file integrity monitoring to directories used as wget2 output targets to flag anomalous filenames.

Monitoring Recommendations

  • Enable core dump collection on Linux build and download hosts to capture stack overflow evidence for analysis.
  • Forward shell, cron, and CI execution logs to a central data lake for correlation with network egress events.
  • Alert on wget2 invocations that pass user-controlled URLs from web forms, ticketing systems, or untrusted feeds.

How to Mitigate CVE-2025-69195

Immediate Actions Required

  • Inventory hosts and container images that ship wget2 and identify versions in use with wget2 --version.
  • Upgrade wget2 to the fixed package version supplied by your Linux distribution as soon as it is released.
  • Restrict use of wget2 against untrusted URLs in interactive sessions, scripts, and CI pipelines until patches are applied.

Patch Information

Monitor the Red Hat CVE Advisory and your distribution's security feed for fixed wget2 package versions. Apply vendor updates through standard package management once available, and rebuild any container images that bundle wget2.

Workarounds

  • Substitute curl or the legacy wget binary for download tasks against untrusted URLs until wget2 is patched.
  • Avoid passing the --restrict-file-names option when fetching from sources that cannot be validated, since the flaw is reached through that sanitization path.
  • Run wget2 under a low-privilege service account with filesystem and network egress restrictions enforced via AppArmor, SELinux, or seccomp.
bash
# Configuration example: confirm installed version and constrain wget2 execution
wget2 --version | head -n 1

# Block wget2 from reaching arbitrary external hosts via egress firewall (example: nftables)
nft add rule inet filter output meta skuid wget2user ip daddr != 10.0.0.0/8 drop

# Run wget2 inside a restrictive systemd-run sandbox
systemd-run --uid=nobody --property=NoNewPrivileges=yes \
  --property=ProtectSystem=strict --property=ProtectHome=yes \
  wget2 https://trusted.example.com/file

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechGnu Wget2

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.16%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-121
  • Technical References
  • Red Hat CVE Advisory

  • Red Hat Bug Report #2425770
  • Related CVEs
  • CVE-2025-69194: GNU Wget2 Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English