Wireshark DLMS/COSEM Dissector Infinite Loop Denial-of-Service Vulnerability

Vulnerability

An infinite loop vulnerability has been identified in the DLMS/COSEM protocol dissector of Wireshark. This issue is present in versions 4.6.0 through 4.6.4. The vulnerability causes TShark, the command-line version of Wireshark, to consume 100% of CPU resources indefinitely, requiring the process to be terminated manually. The issue can be triggered by a single crafted UDP packet, 63 bytes in size, sent to port 4059, which is registered for DLMS/COSEM by default.

Impact

Exploitation of this vulnerability leads to a denial-of-service condition, where TShark hangs in an infinite loop, using 100% of CPU resources until the process is forcibly killed.

Reproduction

The vulnerability can be reproduced by sending a UDP packet that exploits the dissector's handling of compact arrays in the DLMS/COSEM protocol. This can be done using a Python script that generates the appropriate packet and sends it to a TShark instance listening on the default DLMS/COSEM port.

Remediation

Users can upgrade to Wireshark version 4.6.4, where this vulnerability has been fixed.

Added: Apr 30, 2026, 7:30 AM
Updated: Apr 30, 2026, 7:30 AM

Vulnerability Rating

Custom Algorithm
spread
7.8
impact
2.5
exploitability
6.0
remediation
7.7
relevance
6.9
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.