# CVE-2026-21888: MQTT v5 Variable Byte Integer parsing out-of-bounds: get_var_integer()

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-11T15:22:32.463Z
- Modified: 2026-06-17T10:19:05.750Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- nanomq nanomq: <= 0.24.6
- emqx nanomq: up to 0.24.6

## 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

- CVE List: [CVE-2026-21888](https://www.cve.org/CVERecord?id=CVE-2026-21888), CVE Terms of Use, modified 2026-03-11
- NVD: [CVE-2026-21888](https://nvd.nist.gov/vuln/detail/CVE-2026-21888), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-21888 · Whole record: https://cve.day/CVE-2026-21888.json · Rebuilt by cve.day 2026-11-25T22:59:15.739Z
