Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. io.netty/netty-codec-mqtt
  4. ›
  5. CVE-2026-44248

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

May 7, 2026

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.

References

  • docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html
  • github.com/advisories/GHSA-jfg9-48mv-9qgx
  • github.com/netty/netty
  • github.com/netty/netty/security/advisories/GHSA-jfg9-48mv-9qgx
  • nvd.nist.gov/vuln/detail/CVE-2026-44248

Code Behaviors & Features

Detect and mitigate CVE-2026-44248 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.2.0.Alpha1 before 4.2.13.Final, all versions before 4.1.133.Final

Fixed versions

  • 4.2.13.Final
  • 4.1.133.Final

Solution

Upgrade to versions 4.1.133.Final, 4.2.13.Final or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

maven/io.netty/netty-codec-mqtt/CVE-2026-44248.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 00:19:35 +0000.