Wireshark
cpe:2.3:a:wireshark:wireshark:*:*:*:*:*:*:*
- >= 4.6.0, <= 4.6.4
- >= 4.4.0, <= 4.4.14
A denial-of-service vulnerability has been identified in Wireshark versions 4.6.0 through 4.6.4 and 4.4.0 through 4.4.14. The issue arises in the ASN.1 Packed Encoding Rules (PER) protocol dissector, specifically within the NGAP (Next Generation Application Protocol) handling. The vulnerability allows for a process crash due to a stack overflow, caused by unbounded recursion when dissecting certain choice types in crafted packets.
Exploitation of this vulnerability leads to a stack overflow, causing a process crash. This behavior has been confirmed with the AddressSanitizer tool, which reported a stack-overflow error during the recursive dissection of a malformed NGAP packet.
The vulnerability can be reproduced using TShark, the command-line version of Wireshark. After setting a stack size limit to 2048 kilobytes, TShark can be run with a capture file that contains the crafted NGAP packet. This packet should be structured to nest the Cause CHOICE type recursively, exploiting the lack of recursion depth limits in the ASN.1 PER dissector.
Users are advised to upgrade to Wireshark versions 4.6.5, 4.4.15 or later.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.