CVE-2021-3420
9.8
CRITICAL
CVSS 3.1
EPSS 0.14%
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.
How to fix CVE-2021-3420
To remediate CVE-2021-3420, upgrade the affected package to a fixed version below.
- Debian/newlib—no fix listed
- —upgrade to 1.5-1 or later
Is CVE-2021-3420 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0
- from 0, < 1.5-1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |