All reports
Low

io.netty/netty-codec-mqtt: Netty: MQTT validation bypass leading to message integrity issues

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-76816

Probability of exploitation in the next 30 days: 0.17%

FIRST EPSS · 2026-11-22

Description

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.

A flaw was found in Netty. The MqttEncoder component does not properly validate client identifiers, will topics, usernames, and PUBLISH topic names before encoding. This allows an attacker to inject prohibited null bytes into MQTT (Message Queuing Telemetry Transport) UTF-8 string fields when an application uses Netty's MQTT encoder with user-controlled input. This could lead to routing, access-control, or identity mismatches in downstream brokers, potentially impacting the integrity of message handling.