CVE-2023-4512
Wireshark vulnerability analysis and mitigation

Overview

CVE-2023-4512 is a vulnerability discovered in Wireshark versions 4.0.0 to 4.0.6 affecting the CBOR (Concise Binary Object Representation) dissector. The vulnerability was discovered by Simone Di Maria and disclosed on August 23, 2023. It affects the network traffic analyzer's ability to process CBOR protocol data, potentially leading to a denial of service condition (Wireshark Advisory, NVD).

Technical details

The vulnerability stems from an Uncontrolled Recursion (CWE-674) issue in the CBOR dissector, specifically in the dissectcborbytestring() and dissectcbortextstring() functions within the epan/dissectors/packet-cbor.c file. The issue occurs when processing CBOR byte string elements of indefinite length, where the lack of a recursion limit can lead to a stack overflow. The CVSS v3.1 base score is 7.5 (HIGH) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (GitLab Issue, NVD).

Impact

The vulnerability can result in a denial of service condition through application crashes. An attacker can trigger this by either injecting malformed packets into the network or by convincing a user to open a specially crafted capture file (Wireshark Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Wireshark version 4.0.8. Users are advised to upgrade to this or later versions to mitigate the risk. The fix implements proper recursion limits to prevent the stack overflow condition (Wireshark Advisory, Fedora Update).

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
  • cpe:2.3:a:wireshark:wireshark
NoYesDec 03, 2025
CVE-2025-13945MEDIUM5.5
  • WiresharkWireshark
  • cpe:2.3:a:wireshark:wireshark
NoYesDec 03, 2025
CVE-2025-13674MEDIUM5.5
  • WiresharkWireshark
  • wireshark-devel
NoYesNov 26, 2025
CVE-2025-13499MEDIUM5.5
  • WiresharkWireshark
  • wireshark-gnome
NoYesNov 21, 2025
CVE-2025-11626MEDIUM5.5
  • WiresharkWireshark
  • wireshark-cli-debuginfo
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