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
No history.
Information
Published : 2021-03-05 21:15
Updated : 2024-11-21 06:21
NVD link : CVE-2021-3420
Mitre link : CVE-2021-3420
CVE.ORG link : CVE-2021-3420
JSON object : View
Products Affected
newlib_project
- newlib
fedoraproject
- fedora
CWE
CWE-190
Integer Overflow or Wraparound