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
EPSS: 0.019 (78.0th percentile) — read the EPSS interpretation.
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.
Affected products
- Micrium Uc\/lib — versions 1.38.00, 1.38.01, 1.38.02
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (x_refsource_MISC, Vendor Advisory)
- cve@mitre.org (Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (US Government Resource, Third Party Advisory, x_refsource_MISC)
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.