MODERATE 5.3

CVE-2026-44248

Netty MQTT: Resource exhaustion in MqttDecoder

Description

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

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
io.netty » netty-codec-mqtt
< 4.1.133.Final>= 4.2.0.Alpha1, < 4.2.13.Final
4.1.133.Final, 4.2.13.Final

Blast radius

1affected artifacts
226affected versions
6,610dependent artifacts (est.)
296,226dependent versions

60% of the dependent artifacts (4,027) still pull an affected version in their latest release.

DepthDependent versions
Direct
2,446
2 hops
31,431
3 hops
131,541
4 hops
59,234
5 hops
48,359
6 hops
23,215

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.