Skip to content

CVE-2021-26706 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 t...

CriticalCVSS 9.8 EPSS 2.1%
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
micrium uclib = 1.38.00; = 1.38.01; = 1.38.02; = 1.38.03 +3 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
micrium uclib = 1.38.00 No fix listed
micrium uclib = 1.38.01 No fix listed
micrium uclib = 1.38.02 No fix listed
micrium uclib = 1.38.03 No fix listed
micrium uclib = 1.38.04 No fix listed
micrium uclib = 1.38.05 No fix listed
micrium uclib = 1.39.00 No fix listed

References