Netty MQTT 5 Properties Parsing Vulnerability Leading to Resource Exhaustion

Vulnerability

A resource exhaustion vulnerability has been identified in Netty's MQTT 5 implementation, specifically in versions prior to 4.2.13.Final and 4.1.133.Final. The issue arises in the MqttDecoder component, where the Properties section of the MQTT 5 header is parsed and buffered without first applying any message size limits. This oversight allows excessively large Properties sections to be decoded, leading to high CPU and memory usage. The vulnerability exists because MqttDecoder extends ReplayingDecoder, causing Netty to repeatedly re-parse and buffer the oversized Properties until the decoding process is complete.

Impact

Exploitation of this vulnerability can result in significant resource consumption, causing high CPU and memory usage.

Remediation

Users can upgrade to Netty versions 4.2.13.Final or 4.1.133.Final to address this vulnerability.

Added: May 13, 2026, 7:21 PM
Updated: May 13, 2026, 7:21 PM

Vulnerability Rating

Custom Algorithm
spread
8.6
impact
2.5
exploitability
8.1
remediation
7.7
relevance
8.2
threat
0.0
urgency
2.9
incentive
8.3

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