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.
References
Configurations
History
07 Nov 2023, 03:37
Type | Values Removed | Values Added |
---|---|---|
CWE | ||
References |
|
|
Information
Published : 2021-03-05 21:15
Updated : 2023-11-07 03:37
NVD link : CVE-2021-3420
Mitre link : CVE-2021-3420
JSON object : View
Products Affected
newlib_project
- newlib
fedoraproject
- fedora
CWE
CWE-190
Integer Overflow or Wraparound