The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2021-22191

CVE-2021-22191: Wireshark RCE Vulnerability

CVE-2021-22191 is a remote code execution vulnerability in Wireshark caused by improper URL handling. Attackers can exploit this flaw through packet injection or crafted capture files. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 25, 2026

CVE-2021-22191 Overview

CVE-2021-22191 is an improper URL handling vulnerability in Wireshark that could allow remote code execution. The vulnerability exists in Wireshark versions 3.4.0 to 3.4.3 and 3.2.0 to 3.2.11, where improper validation of URLs can be exploited via packet injection or by crafting a malicious capture file. When a user opens a specially crafted capture file or processes malicious network traffic, an attacker could potentially execute arbitrary code on the target system.

Critical Impact

Remote code execution through improper URL handling enables attackers to compromise systems running vulnerable Wireshark versions via malicious capture files or injected packets.

Affected Products

  • Wireshark 3.4.0 to 3.4.3
  • Wireshark 3.2.0 to 3.2.11
  • Oracle ZFS Storage Appliance 8.8
  • Debian Linux 9.0

Discovery Timeline

  • 2021-03-15 - CVE-2021-22191 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-22191

Vulnerability Analysis

This vulnerability is classified under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component), commonly referred to as an injection vulnerability. The core issue lies in how Wireshark processes URLs embedded within network capture data.

When Wireshark encounters URLs in captured packet data or within PCAP files, the application fails to properly validate and sanitize these URL strings before processing them. This improper handling creates an injection vector that attackers can exploit to execute arbitrary code on the system running Wireshark. The vulnerability requires user interaction, meaning a victim must either open a maliciously crafted capture file or capture traffic containing the malicious payload.

Root Cause

The root cause of CVE-2021-22191 is inadequate input validation in Wireshark's URL handling routines. The application does not properly neutralize special elements within URLs before they are processed by downstream components. This allows specially crafted URL strings to escape the intended data context and be interpreted as executable commands or code by the underlying system. The vulnerability represents a classic injection flaw where untrusted input is not properly sanitized before being passed to an interpreter or execution context.

Attack Vector

The attack can be executed through two primary vectors:

  1. Malicious Capture File: An attacker creates a specially crafted PCAP or PCAPNG file containing packets with malicious URL data. When a victim opens this file in Wireshark for analysis, the improper URL handling triggers code execution.

  2. Packet Injection: In scenarios where an attacker has network access, they can inject packets containing malicious URL payloads into traffic being captured by Wireshark. As the vulnerable Wireshark instance processes the injected packets, the malicious URL is handled improperly, leading to code execution.

Both vectors require some level of user interaction, making this a targeted attack scenario where social engineering or network positioning is typically required.

The vulnerability manifests in how Wireshark processes embedded URLs during packet dissection. For technical details, see the Wireshark Security Notice and the Wireshark Issue Tracker.

Detection Methods for CVE-2021-22191

Indicators of Compromise

  • Unusual or unexpected Wireshark process behavior, including spawning child processes
  • Detection of capture files with anomalous URL patterns or embedded executable content
  • Network traffic showing packet injection attempts targeting Wireshark capture sessions
  • System logs indicating command execution originating from Wireshark processes

Detection Strategies

  • Monitor for abnormal process creation chains where wireshark.exe or tshark spawns unexpected child processes
  • Implement file integrity monitoring on systems where capture files are analyzed
  • Deploy network intrusion detection rules to identify malformed packets targeting Wireshark protocol dissectors
  • Use behavioral analysis to detect code execution attempts from within Wireshark

Monitoring Recommendations

  • Enable verbose logging for Wireshark analysis workstations and review for anomalies
  • Implement application whitelisting to prevent unauthorized process execution from Wireshark
  • Monitor network shares and file repositories where capture files are stored for suspicious uploads
  • Utilize EDR solutions to track process behavior and memory access patterns on analysis systems

How to Mitigate CVE-2021-22191

Immediate Actions Required

  • Update Wireshark to version 3.4.4 or later (for 3.4.x series) or 3.2.12 or later (for 3.2.x series)
  • Avoid opening untrusted capture files until patches are applied
  • Disable or restrict network capture on systems running vulnerable Wireshark versions
  • Implement network segmentation to isolate packet analysis workstations

Patch Information

Wireshark has released security updates to address this vulnerability. Users should upgrade to the following versions:

  • Wireshark 3.4.x: Upgrade to version 3.4.4 or later
  • Wireshark 3.2.x: Upgrade to version 3.2.12 or later

Additional patches are available for downstream distributions:

  • Oracle has addressed this in their April 2021 Critical Patch Update for ZFS Storage Appliance
  • Debian has released updates via the Debian LTS announcement
  • Gentoo users can reference the GLSA Advisory 202107-21

For complete details, review the official Wireshark Security Notice.

Workarounds

  • Analyze capture files on isolated virtual machines or sandboxed environments until patches are applied
  • Use command-line tools like tshark with limited output options to reduce exposure to URL handling routines
  • Implement strict access controls to limit who can provide capture files for analysis
  • Consider using alternative network analysis tools temporarily until vulnerable systems are updated
bash
# Check current Wireshark version
wireshark --version

# On Debian/Ubuntu systems, update to patched version
sudo apt update && sudo apt install wireshark

# On RHEL/CentOS systems
sudo yum update wireshark

# Verify installed version is patched (should be >= 3.4.4 or >= 3.2.12)
wireshark --version | grep -E "Wireshark [0-9]+\.[0-9]+\.[0-9]+"

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWireshark

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.27%

  • 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-74
  • Technical References
  • GitLab CVE Report

  • Wireshark Issue Tracker

  • Debian LTS Announcement

  • Gentoo GLSA Advisory
  • Vendor Resources
  • Oracle Security Alert

  • Wireshark Security Notice
  • Related CVEs
  • CVE-2026-3201: Wireshark USB HID DOS Vulnerability

  • CVE-2026-3202: Wireshark NTS-KE Dissector DoS Vulnerability

  • CVE-2026-3203: Wireshark DOS Vulnerability

  • CVE-2026-0960: Wireshark HTTP3 Dissector DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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