CVE-2021-3420

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-3420
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3420.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-3420
Downstream
Related
Published
2021-03-05T21:15:13Z
Modified
2025-10-15T04:34:32Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A flaw was found in newlib in versions prior to 4.0.0. Improper overflow validation in the memory allocation functions mEMALIGn, pvALLOc, nanomemalign, nanovalloc, nano_pvalloc could case an integer overflow, leading to an allocation of a small buffer and then to a heap-based buffer overflow.

References

Affected packages

Git / github.com/bminor/newlib

Affected ranges

Type
GIT
Repo
https://github.com/bminor/newlib
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed