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 Software | Affected Version | How 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 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
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.
To fix CVE-2021-26706, update to the latest version of Micrium uC/LIB that addresses the integer overflow in memory allocation functions.
CVE-2021-26706 affects Micrium uC/LIB versions 1.38.x and 1.39.00.
CVE-2021-26706 represents a vulnerability involving integer overflow in memory allocation functions.
Developers and organizations using Micrium uC/LIB 1.38.x or 1.39.00 in their applications are impacted by CVE-2021-26706.