CVE-2026-44248: Netty MQTT: Resource exhaustion in MqttDecoder
Impact The MQTT 5 header Properties section is parsed and buffered before any message size limit is applied. Specifically, in MqttDecoder, the decodeVariableHeader() method is called before the bytesRemainingBeforeVariableHeader maxBytesInMessage check. The decodeVariableHeader() can call other methods which will call decodeProperties().
Published May 7, 2026 · Updated May 14, 2026
Affected packages
io.netty:netty-codec-mqtt
- Ecosystem
- Maven
- Affected
- >= 4.2.0.Alpha1, <= 4.2.12.Final
- Fixed in
- 4.2.13.Final
- Check
mvn dependency:tree -Dincludes=io.netty:netty-codec-mqtt
io.netty:netty-codec-mqtt
- Ecosystem
- Maven
- Affected
- <= 4.1.132.Final
- Fixed in
- 4.1.133.Final
- Check
mvn dependency:tree -Dincludes=io.netty:netty-codec-mqtt
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
The MQTT 5 header Properties section is parsed and buffered _before_ any message size limit is applied.
Specifically, in MqttDecoder, the decodeVariableHeader() method is called before the bytesRemainingBeforeVariableHeader > maxBytesInMessage check. The decodeVariableHeader() can call other methods which will call decodeProperties(). Effectively, Netty does not apply any limits to the size of the properties being decoded.
Additionally, because MqttDecoder extends ReplayingDecoder, Netty will repeatedly re-parse the enormous Properties sections and buffer the bytes in memory, until the entire thing parses to completion.
This can cause high resource usage in both CPU and memory.
Resources
ANT-2026-09608 https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901027
Credited to chrisvest.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
