CVE-2021-3420

Summary

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.

Affected Software

VendorProductVersion RangeStatus
n/anewlibnewlib versions prior to 4.0.0affected

Weaknesses

  • CWE-190: CWE-190->CWE-120

ADP Enrichment

CVE Program Container

Additional References

References