description: A flaw was found in newlib in versions prior to 4.0.0. Improper overflow validation in the memory allocation functions mEMALIGn, pvALLOc, nano_memalign, nano_valloc, nano_pvalloc could case an integer overflow, leading to an allocation of a small buffer and then to a heap-based buffer overflow.
problem types: CWE-190->CWE-120
affected:
{
product: newlib
vendor: n/a
versions:
status: affected, version: newlib versions prior to 4.0.0
}