Out-of-bounds read in NanoMQ - CVE-2026-21888
Published: April 24, 2026
NanoMQ
Detailed vulnerability description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to an out-of-bounds read in get_var_integer() when parsing MQTT v5 variable byte integers in a crafted CONNECT packet. A remote attacker can send a specially crafted network packet to cause a denial of service.
The issue is reliably reproducible in builds with AddressSanitizer enabled.