CVE-2021-26706Micrium Uc/lib
Critical 9.8 No auth needed
Follow: this CVE · Micrium · Micrium Uc/lib We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.1% probability of exploitation in 30 days · percentile 82
- Auth required
- No
- Published
- Jan 24, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-190
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Uc/lib.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- docs.silabs.com Vendor Advisory
- micrium.atlassian.net Third Party Advisory
- www.cisa.gov Third Party Advisory US Government Resource