CVE-2026-76816

Summary

Netty is an asynchronous, event-driven network application framework. Prior to versions 4.1.137.Final and 4.2.17.Final, MqttEncoder does not validate client identifiers, will topics, usernames, and PUBLISH topic names before encoding, allowing prohibited null bytes in MQTT UTF-8 string fields and potentially causing routing, access-control, or identity mismatches in downstream brokers. The vulnerability is exploitable when an application uses Netty's MQTT encoder to construct messages from user-controlled input. This issue is fixed in versions 4.1.137.Final and 4.2.17.Final.

Affected Software

VendorProductVersion RangeStatus
nettynetty>= 4.2.0.Final, < 4.1.137.Finalaffected
nettynetty< 4.1.137.Finalaffected

Weaknesses

  • CWE-20: CWE-20: Improper Input Validation
  • CWE-626: CWE-626: Null Byte Interaction Error (Poison Null Byte)

References