GHSA-jfg9-48mv-9qgx
Dashboard / Vulnerabilities / GHSA-jfg9-48mv-9qgx
Summary: Netty MQTT: Resource exhaustion in MqttDecoder
Details: ### 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
References: https://github.com/netty/netty/security/advisories/GHSA-jfg9-48mv-9qgx, https://nvd.nist.gov/vuln/detail/CVE-2026-44248, https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901027, https://github.com/netty/netty
Affected packages
Package
Name: io.netty:netty-codec-mqtt
Purl: pkg:maven/io.netty/netty-codec-mqtt
Affected ranges
Type: ECOSYSTEM
Events:
