{"id":"CVE-2021-26706","aliases":["CVE-2021-26706"],"related":[],"kind":"vulnerability","state":"published","title":"An issue was discovered in libmem.c in Micrium uC/OS uC/LIB 1.38.x and 1.39.00.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"},{"lang":"es","text":"Se ha detectado un problema en el archivo lib_mem.c en Micrium uC/OS uC/LIB versiones 1.38.x y 1.39.00. Las siguientes funciones de asignación de memoria no comprueban el desbordamiento de enteros cuando es asignado un pool cuyo tamaño excede el espacio de direcciones: Mem_PoolCreate, Mem_DynPoolCreate y Mem_DynPoolCreateHW. Dado que estas funciones usan la multiplicación para calcular el tamaño de los pools, la operación puede causar un desbordamiento de enteros si los argumentos son lo suficientemente grandes. El pool de memoria resultante será más pequeño de lo esperado y puede ser explotado por un atacante","source":"nvd"}],"published":"2022-01-24T00:19:42.000Z","modified":"2026-06-17T03:43:41.567Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","version":"1.38.00"},{"status":"affected","version":"1.38.01"},{"status":"affected","version":"1.38.02"},{"status":"affected","version":"1.38.03"},{"status":"affected","version":"1.38.04"},{"status":"affected","version":"1.38.05"},{"status":"affected","version":"1.39.00"}],"vendor":"micrium","product":"uc/lib","cpe":"cpe:2.3:a:micrium:uc\\/lib:1.38.00:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://docs.silabs.com/micrium/latest/micrium-common/","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://micrium.atlassian.net/wiki/spaces/libdoc138/","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04","tags":["third-party-advisory","us-government-resource","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-26706","url":"https://www.cve.org/CVERecord?id=CVE-2021-26706","licence":"CVE Terms of Use","modified":"2024-08-03T20:33:39.555Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-26706","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26706","licence":"Public domain","modified":"2026-06-17T03:43:41.567Z"}],"updatedAt":"2026-11-25T22:58:06.623Z","epss":{"score":0.02063,"percentile":0.81903,"date":"2026-12-01T12:00:22.000Z"}}