NetSight
critical9.8

CVE-2021-3420

A flaw was found in newlib in versions prior to 4.0.0.

Impact

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 products

VendorProductAffected versions
Newlib ProjectNewlib
before 4.0.0
FedoraprojectFedora
Versions 32, 33, 34

Weakness classification

References