CWE
190
Advisory Published
Updated

CVE-2021-26706: Integer Overflow

First published: Mon Jan 24 2022(Updated: )

An issue was discovered in lib_mem.c in Micrium uC/OS uC/LIB 1.38.x and 1.39.00. The following memory allocation functions do not check for integer overflow when allocating a pool whose size exceeds the address space: Mem_PoolCreate, Mem_DynPoolCreate, and Mem_DynPoolCreateHW. Because these functions use multiplication to calculate the pool sizes, the operation may cause an integer overflow if the arguments are large enough. The resulting memory pool will be smaller than expected and may be exploited by an attacker.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Micrium uC/OS - Micrium uC/LIB=1.38.00
Micrium uC/OS - Micrium uC/LIB=1.38.01
Micrium uC/OS - Micrium uC/LIB=1.38.02
Micrium uC/OS - Micrium uC/LIB=1.38.03
Micrium uC/OS - Micrium uC/LIB=1.38.04
Micrium uC/OS - Micrium uC/LIB=1.38.05
Micrium uC/OS - Micrium uC/LIB=1.39.00
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

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 the severity of CVE-2021-26706?

    CVE-2021-26706 has been assigned a high severity score due to the potential for memory allocation issues leading to denial of service or unexpected behaviors.

  • How do I fix CVE-2021-26706?

    To fix CVE-2021-26706, update to the latest version of Micrium uC/LIB that addresses the integer overflow in memory allocation functions.

  • What versions are affected by CVE-2021-26706?

    CVE-2021-26706 affects Micrium uC/LIB versions 1.38.x and 1.39.00.

  • What kind of vulnerabilities does CVE-2021-26706 represent?

    CVE-2021-26706 represents a vulnerability involving integer overflow in memory allocation functions.

  • Who is impacted by CVE-2021-26706?

    Developers and organizations using Micrium uC/LIB 1.38.x or 1.39.00 in their applications are impacted by CVE-2021-26706.

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