CVE-2021-26706

CRITICAL

Micrium uC/LIB 1.38.x and 1.39.00 - Integer Overflow in Memory Pool Allocation

Title source: llm
STIX 2.1

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.

References (3)

Core 3
Core References
Third Party Advisory x_refsource_misc
https://micrium.atlassian.net/wiki/spaces/libdoc138/
Third Party Advisory, US Government Resource x_refsource_misc
https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04

Scores

CVSS v3 9.8
EPSS 0.0194
EPSS Percentile 77.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-190
Status published
Products (7)
micrium/uc\/lib 1.38.00
micrium/uc\/lib 1.38.01
micrium/uc\/lib 1.38.02
micrium/uc\/lib 1.38.03
micrium/uc\/lib 1.38.04
micrium/uc\/lib 1.38.05
micrium/uc\/lib 1.39.00
Published Jan 24, 2022
Tracked Since Feb 18, 2026