What’s Vulnerable › Vulnerabilities

CVE-2021-3420

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.

Affected products

How to fix

Upgrade to a fixed version: Red Hat newlib 4.0.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-3420 or the next vulnerability affects your stack