CVE-2026-93575: Netty: netty-codec-mqtt: io.netty/netty-codec-mqtt: netty: resource exhaustion in mqttdecoder

Published Sep 18, 2026
·
Updated

Summary Netty's fix for CVE-2026-44248 is incomplete. The decoder checks if the MQTT packet's Remaining Length exceeds maxBytesInMessage, but fails to validate the Properties Length against the Remaining Length. An attacker can bypass the size limit by sending a small Remaining Length but an enormous Properties Length. This forces Netty to buffer and parse millions of properties, allowing an unauthenticated remote attacker to trigger excessive memory and CPU consumption, leading to OutOfMemoryError. Details In io.netty.handler.codec.mqtt.MqttDecoder, the decodeProperties() helper method reads totalPropertiesLength and attempts to parse that many bytes. If the buffer lacks the full length, a Signal is thrown. The catch block inside decode() only enforces maxBytesInMessage against bytesRemainingBeforeVariableHeader (the packet's Remaining Length). By sending a CONNECT packet with a small Remaining Length but a huge Properties Length, the size check passes. ReplayingDecoder then buffers data from the network until the huge Properties Length is reached, parsing millions of UserProperty objects and exhausting CPU and memory. #

Affected Software

2 affected components
maven/io.netty/netty-codec-mqtt>=4.2.0.Final<=4.2.17.Final
maven/io.netty/netty-codec-mqtt=4.1.137.Final

Event History

Sep 18, 2026
Data Sourced
via Red Hat·10:32 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·10:53 AM
Data Sourced
via MITRE·10:53 AM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are exposed to remote exploitation?

Deployments that accept MQTT traffic through Netty's MQTT decoder are exposed to an unauthenticated remote attacker that can send crafted packets to the service.

2

Does the maxBytesInMessage limit prevent this attack?

No. The decoder enforces maxBytesInMessage against the packet Remaining Length, but does not validate Properties Length against that value, allowing the limit to be bypassed.

3

Does an attacker need valid credentials or a completed MQTT session?

No. The described attack uses a crafted CONNECT packet and can be performed by an unauthenticated remote attacker.

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