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
    • 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-2023-0666

CVE-2023-0666: Wireshark Buffer Overflow Vulnerability

CVE-2023-0666 is a heap-based buffer overflow flaw in Wireshark caused by improper validation of RTPS packet lengths. This vulnerability may allow code execution. This post covers technical details, affected versions, and mitigations.

Published: February 4, 2026

CVE-2023-0666 Overview

CVE-2023-0666 is a heap-based buffer overflow vulnerability affecting Wireshark, the widely-used network protocol analyzer. The vulnerability exists in the RTPS (Real-Time Publish-Subscribe) protocol dissector, where improper validation of packet length fields allows attackers to craft malicious RTPS packets that trigger memory corruption. Successful exploitation could result in denial of service through application crash or potentially arbitrary code execution within the context of the Wireshark process.

Critical Impact

Organizations using vulnerable Wireshark versions to analyze network traffic containing malicious RTPS packets may experience application crashes or potential compromise of analyst workstations.

Affected Products

  • Wireshark version 4.0.5 and prior
  • Wireshark version 3.6.x series (prior to fix)
  • Debian Linux 12.0

Discovery Timeline

  • 2023-06-07 - CVE-2023-0666 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2023-0666

Vulnerability Analysis

This vulnerability is classified as CWE-122 (Heap-based Buffer Overflow) and CWE-787 (Out-of-bounds Write). The flaw resides in the RTPS protocol dissector component of Wireshark, which is responsible for parsing Real-Time Publish-Subscribe protocol packets commonly used in DDS (Data Distribution Service) implementations.

The vulnerability allows a remote attacker to cause a heap-based buffer overflow by sending specially crafted RTPS packets to a system where Wireshark is capturing and analyzing network traffic. The dissector fails to properly validate length fields within RTPS packets before using them in memory operations, enabling an attacker to overflow heap-allocated buffers.

While the primary impact is denial of service through application crash, the nature of heap-based buffer overflows means that with sufficient exploitation sophistication, arbitrary code execution may be achievable in the context of the Wireshark process.

Root Cause

The root cause is insufficient input validation in the RTPS dissector code. Specifically, when processing RTPS packets, the dissector uses attacker-controlled length values without proper bounds checking. This allows an attacker to specify a length value that exceeds the actual allocated buffer size, resulting in out-of-bounds memory writes.

The RTPS dissector trusts packet-supplied length fields when copying data into memory buffers, violating secure coding principles that require validation of all external input before use in memory operations.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker must craft a malicious RTPS packet and ensure it is captured by a vulnerable Wireshark instance. This can occur in several scenarios:

The victim opens a malicious packet capture file (PCAP) containing the crafted RTPS packet. Alternatively, the victim actively captures network traffic on a network where the attacker can inject malicious RTPS packets. The attacker sends specially crafted RTPS packets that, when parsed by Wireshark's RTPS dissector, trigger the heap overflow condition due to the invalid length value being processed without proper validation.

Detection Methods for CVE-2023-0666

Indicators of Compromise

  • Wireshark application crashes when analyzing RTPS protocol traffic
  • Unexpected termination of tshark or wireshark processes during packet analysis
  • Core dumps or crash logs indicating heap corruption in RTPS dissector functions
  • Anomalous RTPS packets with irregular length field values in captured traffic

Detection Strategies

  • Monitor for Wireshark process crashes and analyze crash dumps for RTPS dissector involvement
  • Implement network monitoring to detect malformed RTPS packets with suspicious length fields
  • Deploy endpoint detection solutions to identify exploitation attempts targeting analysis tools
  • Use SentinelOne to detect memory corruption attacks and anomalous process behavior

Monitoring Recommendations

  • Enable crash reporting and logging for Wireshark installations across the organization
  • Monitor system logs for repeated Wireshark crashes that may indicate exploitation attempts
  • Track versions of Wireshark deployed across endpoints and flag vulnerable installations
  • Review packet capture files from untrusted sources in isolated environments

How to Mitigate CVE-2023-0666

Immediate Actions Required

  • Upgrade Wireshark to version 4.0.6 or later immediately
  • For version 3.6.x, upgrade to 3.6.14 or later
  • Avoid opening packet capture files from untrusted sources on vulnerable systems
  • Disable the RTPS dissector if RTPS protocol analysis is not required

Patch Information

Wireshark has released version 4.0.6 which addresses this vulnerability. The fix implements proper bounds checking for length fields in the RTPS dissector before memory operations are performed. Detailed information is available in the Wireshark Security Advisory wnpa-sec-2023-18 and the Wireshark Release Notes 4.0.6.

Debian users should apply the patches provided in Debian DSA-5429. Gentoo users can refer to GLSA 202309-02 for distribution-specific guidance.

Workarounds

  • Disable the RTPS protocol dissector via Edit → Preferences → Protocols → RTPS → Uncheck "Decode RTPS"
  • Analyze suspicious packet captures in isolated virtual machines
  • Use the command-line option --disable-protocol rtps when running tshark for batch analysis
  • Implement network segmentation to limit exposure of analysis workstations
bash
# Disable RTPS dissector via command line
tshark --disable-protocol rtps -r suspicious_capture.pcap

# Alternatively, create a disabled protocols file
echo "rtps" >> ~/.config/wireshark/disabled_protos

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechWireshark

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability1.17%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-122

  • CWE-787
  • Technical References
  • GitLab Issue Discussion

  • Gentoo GLSA 2023-02

  • TakeOnMe CVE Analysis

  • Debian DSA-5429 Update

  • Wireshark Release Notes 4.0.6

  • Debian LTS Announcement
  • Vendor Resources
  • Wireshark Security Advisory wnpa-sec-2023-18
  • Related CVEs
  • CVE-2023-0667: Wireshark Buffer Overflow Vulnerability

  • CVE-2026-3201: Wireshark USB HID DOS Vulnerability

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

  • CVE-2026-3203: Wireshark 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