Skip to main content
← All vulnerabilities
CVE-2026-44248GHSA-JFG9-48MV-9QGX

Netty: Resource exhaustion in MqttDecoder

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.2.13.Final, 4.1.133.Final
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

Netty is an asynchronous, event-driven network application framework. Prior to 4.2.13.Final and 4.1.133.Final, 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. This vulnerability is fixed in 4.2.13.Final and 4.1.133.Final.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • netty netty

    From 4.2.0.Alpha1 · fixed in 4.2.13.Final; fixed in 4.1.133.Final

  • io.netty netty-codec-mqtt

    From 4.2.0.Alpha1 · fixed in 4.2.13.Final; fixed in 4.1.133.Final

  • io.netty:netty-codec-mqttMaven

    From 4.2.0.Alpha1 · fixed in 4.2.13.Final

  • io.netty:netty-codec-mqttMaven

    fixed in 4.1.133.Final

References 1

GitHub · netty/netty