CWE
190 94
Advisory Published
Updated

CVE-2021-22680: NXP MQX Integer Overflow or Wraparound

First published: Tue May 03 2022(Updated: )

NXP MQX Versions 5.1 and prior are vulnerable to integer overflow in mem_alloc, _lwmem_alloc and _partition functions. This unverified memory assignment can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or a remote code injection/execution.

Credit: ics-cert@hq.dhs.gov

Affected SoftwareAffected VersionHow to fix
NXP MQX<=5.1
Amazon FreeRTOS
Apache NuttX
ARM CMSIS-RTOS2
Arm Mbed OS
Arm Mbed ualloc
QNX
BlackBerry QNX OS for Safety
BlackBerry QNX OS for Medical
QNX
Mongoose OS
eCosCentric eCosPro RTOS
Google Cloud IoT Device SDK
MediaTek LinkIt SDK
Micrium OS
Micrium uC/OS
NXP MCUXpresso SDK
NXP MQX
newlib
RIOT OS
Samsung Tizen RT
TencentOS-tiny
Texas Instruments SimpleLink CC32XX
Texas Instruments SimpleLink MSP432E4 SDK
Texas Instruments SimpleLink CC13X2 SDK
Texas Instruments SimpleLink CC26XX
Texas Instruments SimpleLink CC32XX
uClibc
Wind River VxWorks
Zephyr Project RTOS

Remedy

Update NXP MQX to 5.1 or newer

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2021-22680?

    CVE-2021-22680 is a vulnerability in NXP MQX Versions 5.1 and prior that allows for integer overflow in memory allocation functions, leading to unexpected behavior or remote code execution.

  • How severe is CVE-2021-22680?

    CVE-2021-22680 has a severity rating of 9.8 out of 10, indicating a critical vulnerability.

  • Which software versions are affected by CVE-2021-22680?

    NXP MQX Versions 5.1 and prior are affected by CVE-2021-22680.

  • What are the potential consequences of CVE-2021-22680?

    CVE-2021-22680 can result in unexpected behavior, such as crashes, and can also allow for remote code injection or execution.

  • Is there a fix available for CVE-2021-22680?

    At the time of this writing, there is no known fix or patch available for CVE-2021-22680. It is recommended to follow the guidance provided by NXP or the official sources for updates and mitigation measures.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203