CVE-2021-4190
Wireshark vulnerability analysis and mitigation

Overview

CVE-2021-4190 is a vulnerability discovered in the Kafka dissector component of Wireshark 3.6.0. The vulnerability was disclosed on December 29, 2021, affecting Wireshark versions 3.6.0 and 3.4.0 to 3.4.11. The issue allows for a denial of service condition via packet injection or crafted capture file (Wireshark Advisory).

Technical details

The vulnerability stems from a large loop in the Kafka dissector that could reach an (almost) infinite loop (max guint64) by manipulating the reading pointer to remain at the same location. The issue occurs when processing specifically crafted KAFKA packets that create unlimited tagged fields. The bug was introduced while attempting to fix another issue in the Kafka dissector through merge request !890 (Wireshark Issue). The vulnerability has a CVSS score of 5.0, indicating moderate severity (Rapid7).

Impact

When exploited, the vulnerability causes Wireshark to consume excessive amounts of memory and 100% CPU utilization, leading to a denial of service condition. Even a small packet could cause tshark to become stuck in a loop while using excessive system resources (Wireshark Issue).

Mitigation and workarounds

The vulnerability was fixed in Wireshark versions 3.6.1 and 3.4.12. Users are advised to upgrade to these or later versions to mitigate the issue. The fix was released as part of security updates across multiple platforms including Debian and Fedora (Wireshark Advisory, Debian Security).

Additional resources


SourceThis report was generated using AI

Related Wireshark vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13946MEDIUM5.5
  • WiresharkWireshark
  • wireshark-gnome
NoYesDec 03, 2025
CVE-2025-13945MEDIUM5.5
  • WiresharkWireshark
  • cpe:2.3:a:wireshark:wireshark
NoYesDec 03, 2025
CVE-2025-13674MEDIUM5.5
  • WiresharkWireshark
  • cpe:2.3:a:wireshark:wireshark
NoYesNov 26, 2025
CVE-2025-13499MEDIUM5.5
  • WiresharkWireshark
  • wireshark
NoYesNov 21, 2025
CVE-2025-11626MEDIUM5.5
  • WiresharkWireshark
  • libwireshark17
NoYesOct 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management