CVE-2026-44248: Netty: Resource exhaustion in MqttDecoder

Published May 7, 2026
·
Updated

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

Other sources

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.

IBM

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.

MITRE

Affected Software

5 affected componentsFixes available
maven/io.netty:netty-codec-mqtt<=4.1.132.Final
4.1.133.Final
maven/io.netty:netty-codec-mqtt>=4.2.0.Alpha1<=4.2.12.Final
4.2.13.Final
Netty Netty<4.1.133
Netty Netty>=4.2.0<4.2.13
IBM Netezza Software<=11.3.0.3-IF2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/io.netty:netty-codec-mqtt to a version that resolves this vulnerability.

    Fixed in 4.1.133.Final
  2. Upgrade

    Upgrade maven/io.netty:netty-codec-mqtt to a version that resolves this vulnerability.

    Fixed in 4.2.13.Final
  3. Upgrade

    Upgrade Netty (MqttDecoder) to a version that resolves this vulnerability.

    Fixed in 4.2.13.Final
  4. Upgrade

    Upgrade Netty (MqttDecoder) to a version that resolves this vulnerability.

    Fixed in 4.1.133.FinalPatch ANT-2026-09608

Event History

May 7, 2026
Advisory Published
via GitHub·05:14 AM
Data Sourced
via GitHub·05:14 AM
DescriptionSeverityWeaknessAffected Software
May 13, 2026
CVE Published
via MITRE·06:23 PM
Data Sourced
via MITRE·06:23 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·07:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeaknessAffected Software
Aug 20, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-44248?

CVE-2026-44248 has a high severity rating due to the potential for denial-of-service attacks by exploiting improper message size validation.

2

How do I fix CVE-2026-44248?

To remediate CVE-2026-44248, upgrade to version 4.1.133.Final or 4.2.13.Final of io.netty:netty-codec-mqtt.

3

What versions are affected by CVE-2026-44248?

CVE-2026-44248 affects versions io.netty:netty-codec-mqtt up to and including 4.1.132.Final and 4.2.12.Final.

4

What vulnerabilities does CVE-2026-44248 expose in application security?

CVE-2026-44248 exposes applications to potential denial-of-service attacks due to inadequate size checks during MQTT message parsing.

5

Is CVE-2026-44248 applicable to all MQTT implementations?

No, CVE-2026-44248 specifically pertains to the io.netty:netty-codec-mqtt library and its handling of MQTT 5 protocol messages.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203