CVE-2026-21888 Details
Description
NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. MQTT v5 Variable Byte Integer parsing out-of-bounds: get_var_integer() accepts 5-byte varints without bounds checks; reliably triggers OOB read / crash when built with ASan. This affects 0.24.6 and earlier.
A heap-buffer-overflow vulnerability has been identified in NanoMQ MQTT Broker versions through 0.24.6. The issue arises in the MQTT v5 Variable Byte Integer parsing, where the function 'get_var_integer()' improperly accepts 5-byte varints without adequate bounds checking. This flaw can be exploited to trigger an out-of-bounds read and crash the application, particularly when NanoMQ is built with AddressSanitizer (ASan) enabled.
Users are advised to update to the latest version of NanoMQ where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 11, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nanomq/nanomq/issues/2192 | [email protected] | Issue Tracking |
| https://github.com/nanomq/nanomq/security/advisories/GHSA-cggc-6m7w-j7x5 | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| emqx nanomq | <= 0.24.6 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 17, 2026 | Initial Analysis | [email protected] |
| Mar 11, 2026 | New CVE Received | [email protected] |