Integer overflow in Newlib Project
CVE-2021-3420
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.021 (81.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 81st percentile — 81.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.021 · newest: 0.021 · change: 0.000
Affected products
- Newlib Project
- Fedoraproject Fedora — versions 32, 33, 34
- Newlib — versions newlib versions prior to 4.0.0
Weakness classification (CWE)
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking, Broken Link)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2021-3420?
- CVE-2021-3420 is a critical-severity vulnerability in Newlib Project, classified under Integer Overflow or Wraparound. CVSS score: 9.8/10. Published 2021-03-05.
- How severe is CVE-2021-3420?
- Critical severity. CVSS v3 base score is 9.8 out of 10.