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

Published Mar 11, 2026
·
Updated

NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. MQTT v5 Variable Byte Integer parsing out-of-bounds: getvarinteger() accepts 5-byte varints without bounds checks; reliably triggers OOB read / crash when built with ASan. This affects 0.24.6 and earlier.

Affected Software

2 affected components
nanomq nanomq<0.24.6
emqx Nanomq<=0.24.6

Event History

Mar 11, 2026
CVE Published
via MITRE·03:22 PM
Data Sourced
via MITRE·03:22 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-21888?

CVE-2026-21888 is classified as a critical vulnerability due to the potential for out-of-bounds reads and crashes in the NanoMQ MQTT Broker.

2

How do I fix CVE-2026-21888?

To fix CVE-2026-21888, update NanoMQ to version 0.24.6 or later, where the vulnerable code has been patched.

3

What software is affected by CVE-2026-21888?

CVE-2026-21888 affects NanoMQ versions prior to 0.24.6.

4

What are the consequences of exploiting CVE-2026-21888?

Exploiting CVE-2026-21888 could lead to application crashes and potential data leaks due to out-of-bounds memory access.

5

What kind of systems are at risk due to CVE-2026-21888?

Systems running vulnerable versions of the NanoMQ MQTT Broker are at risk from CVE-2026-21888.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203