Vulnerability in Netty MQTT Encoder Allows Malformed Message Handling
CVE-2026-76816
3.5LOW
What is CVE-2026-76816?
The vulnerability in Netty's MQTT encoder arises from its failure to properly validate client identifiers, will topics, usernames, and PUBLISH topic names before encoding. This lack of validation allows for the inclusion of null bytes in MQTT UTF-8 string fields, which can lead to routing problems, access-control issues, and identity mismatches in downstream brokers. This vulnerability is particularly exploitable when user-controlled input is used to construct messages. It is critical to update to Netty versions 4.1.137.Final or 4.2.17.Final to mitigate this risk.
Affected Version(s)
netty >= 4.2.0.Final, < 4.1.137.Final < 4.2.0.Final, 4.1.137.Final
netty < 4.1.137.Final < 4.1.137.Final
