CVEvulnerability

CVE-2021-26706

9.8 CRITICAL Published 2022-01-24 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-01-24
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-190

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.

Affected configurations

• 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

Related

Weakness · CWE (1)

  • CWE-190 Integer Overflow or Wraparound weakness

References