Skip to main content
Vulnerability Database/CVE-2026-96421

CVE-2026-96421: USB HID Protocol Dissector DOS Vulnerability

CVE-2026-96421 is a denial of service vulnerability in the USB HID protocol dissector affecting versions 4.6.0 to 4.6.8 and 4.4.0 to 4.4.18. This article covers the technical details, affected versions, and mitigation strategies.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-96421 Overview

CVE-2026-96421 is a denial-of-service vulnerability in the Wireshark USB Human Interface Device (HID) protocol dissector. The flaw affects Wireshark versions 4.6.0 through 4.6.8 and 4.4.0 through 4.4.18. A malformed USB HID packet triggers an infinite loop combined with a memory leak in the dissector, exhausting CPU and memory resources on the analyst workstation. The vulnerability is tracked under CWE-1325: Improperly Controlled Sequential Memory Allocation and is described in Wireshark Security Advisory WNPA-SEC-2026-103.

Critical Impact

An attacker who supplies a crafted capture file or injects a malformed USB HID packet onto a monitored interface can crash Wireshark and consume host memory, disrupting incident response and forensic workflows.

Affected Products

  • Wireshark 4.6.0 through 4.6.8
  • Wireshark 4.4.0 through 4.4.18
  • Downstream distributions bundling the affected packet-usb-hid dissector

Discovery Timeline

  • 2026-09-29 - CVE-2026-96421 published to the National Vulnerability Database
  • 2026-09-29 - Wireshark Foundation publishes advisory WNPA-SEC-2026-103
  • 2026-09-29 - Last updated in NVD database

Technical Details for CVE-2026-96421

Vulnerability Analysis

The defect resides in the USB HID protocol dissector inside Wireshark. When the dissector parses a specially crafted HID descriptor or report, it enters a loop whose termination condition is never satisfied. Each iteration allocates memory that is never released, producing a compound resource-exhaustion condition. The Wireshark process consumes all available CPU on one core and grows its resident memory footprint until the operating system terminates it or the host becomes unresponsive.

User interaction is required. The victim must open a malicious .pcap or .pcapng file, or run a live capture on an interface where the attacker can inject USB HID frames. There is no impact to confidentiality or integrity, only availability of the analyst tooling.

Root Cause

The root cause maps to CWE-1325, improperly controlled sequential memory allocation. The dissector does not enforce an upper bound on iterations while walking HID report items and does not free intermediate allocations when parsing fails. Refer to GitLab Work Item #21566 for the upstream tracking issue.

Attack Vector

Exploitation is local and requires the victim to load attacker-controlled packet data. Common delivery paths include shared capture files exchanged during triage, hunt data pulled from a compromised endpoint, or a rogue USB device generating HID traffic on a host that captures its interfaces. See WNPA-SEC-2026-103 for vendor guidance.

Detection Methods for CVE-2026-96421

Indicators of Compromise

  • Wireshark or tshark processes with sustained 100% CPU on a single core and continuously growing resident memory
  • Unexpected termination of Wireshark shortly after opening a third-party capture file
  • Capture files containing USB HID descriptors with malformed or oversized report item chains

Detection Strategies

  • Monitor endpoint telemetry for wireshark.exe, tshark, or dumpcap processes whose memory grows unbounded during capture parsing
  • Hash-compare capture files received from external sources against known-good sample sets before analysts open them
  • Alert on Wireshark process crashes correlated with recent file-open events from browsers or messaging clients

Monitoring Recommendations

  • Enforce process-level memory and CPU quotas on analyst workstations that routinely open untrusted captures
  • Log the version of Wireshark deployed across the analyst fleet and flag hosts still running 4.6.0–4.6.8 or 4.4.0–4.4.18
  • Route capture file handling through an isolated triage VM to contain resource-exhaustion effects

How to Mitigate CVE-2026-96421

Immediate Actions Required

  • Upgrade Wireshark to a fixed release as identified in WNPA-SEC-2026-103
  • Inventory analyst workstations and CI pipelines that invoke tshark for automated packet processing and prioritize their patching
  • Avoid opening capture files from untrusted sources until the upgrade is complete

Patch Information

The Wireshark Foundation addresses the flaw in point releases succeeding 4.6.8 and 4.4.18. Consult GitLab Work Item #21566 for the fix commit and the official advisory for the exact fixed versions.

Workarounds

  • Disable the USB HID dissector under Analyze → Enabled Protocols by clearing usbhid before opening suspect captures
  • Use tshark --disable-protocol usbhid -r <file> when scripting bulk analysis of externally sourced packet data
  • Process untrusted captures inside a sandboxed or ephemeral virtual machine with strict resource limits
bash
# Disable the vulnerable dissector at the command line
tshark --disable-protocol usbhid -r suspect_capture.pcapng

# Verify installed Wireshark version before analysis
wireshark --version | head -n 1

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.