Skip to content

An issue was discovered in lib_mem.c in Micrium uC/OS uC...

Critical severity Unreviewed Published Jan 25, 2022 to the GitHub Advisory Database • Updated Feb 3, 2023

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

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.

References

Published by the National Vulnerability Database Jan 24, 2022
Published to the GitHub Advisory Database Jan 25, 2022
Last updated Feb 3, 2023

Severity

Critical

EPSS score

0.327%
(71st percentile)

Weaknesses

CVE ID

CVE-2021-26706

GHSA ID

GHSA-7j9p-4w63-5mq8

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.