7.5high
MQTT v5 Variable Byte Integer parsing out-of-bounds: get_var_integer()
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nanomq nanomq | <= 0.24.6 | CVE List |
| emqx nanomq | up to 0.24.6 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
NanoMQ MQTT Broker (NanoMQ) es una Plataforma de Mensajería de Borde integral. Análisis de enteros de bytes variables de MQTT v5 fuera de límites: get_var_integer() acepta varints de 5 bytes sin comprobaciones de límites; desencadena de forma fiable una lectura fuera de límites / caída cuando se compila con ASan. Esto afecta a la versión 0.24.6 y anteriores.
References
| https://github.com/nanomq/nanomq/security/advisories/GHSA-cggc-6m7w-j7x5 | exploit, vendor-advisory | |
| https://github.com/nanomq/nanomq/issues/2192 | issue-tracking | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-21888 changed 2026-03-11 | CVE Terms of Use |
| NVD | CVE-2026-21888 changed 2026-06-17 | Public domain |