Integer overflow in Micrium Uc\/lib

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 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.

Vulnerability class: Integer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.019 (79.3th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 79th percentile — 79.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-26706: held from 0.019 to 0.019.

EPSS over last 30 days · oldest: 0.019 · newest: 0.019 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-26706?
CVE-2021-26706 is a critical-severity vulnerability in Micrium Uc\/lib, classified under Integer Overflow or Wraparound. CVSS score: 9.8/10. Published 2022-01-24.
How severe is CVE-2021-26706?
Critical severity. CVSS v3 base score is 9.8 out of 10.