CVE-2021-26706 in Micrium Uc/Lib
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 multiplicat...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Micrium | Uc/Lib | 1.38.00 1.38.01 1.38.02 1.38.03 1.38.04 1.38.05+1 more1.39.00 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-26706 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-267728-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-01-24 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-190: Integer Overflow or Wraparound
Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.
Related attack patterns (CAPEC)
CAPEC-92 Forced Integer Overflow via CWE-190
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A critical vulnerability exists in Micrium uC/OS uC/LIB 1.38.x and 1.39.00 due to integer overflow in memory allocation functions, which could lead to arbitrary code execution.
An attacker could exploit this vulnerability by crafting a specific input that causes an integer overflow in the memory allocation functions, potentially leading to arbitrary code execution or system crash.
Questions
What is CVE-2021-26706?
A critical vulnerability exists in Micrium uC/OS uC/LIB 1.38.x and 1.39.00 due to integer overflow in memory allocation functions, which could lead to arbitrary code execution.
What is the CVSS score for CVE-2021-26706?
CVE-2021-26706 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 2.1%.
Is CVE-2021-26706 actively exploited?
No confirmed active exploitation of CVE-2021-26706 as of 2026-09-25.
How do I remediate CVE-2021-26706?
Priority: IMMEDIATE. Advisory: https://www.cisa.gov/news-events/ics-advisories/icsa-21-119-04 PSIRT: [email protected]
What systems are affected by CVE-2021-26706?
CVE-2021-26706 affects Micrium Uc/Lib.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Micrium","product":"Uc/Lib","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.