9.8critical
A flaw was found in newlib in versions prior to 4.0.0.
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 2.13% (higher than 83% of CVEs)
- Published
- Last changed
- Assigned by
- redhat
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
| Product or package | Versions | Reported by |
|---|---|---|
| newlib | newlib versions prior to 4.0.0 | CVE List |
| newlib_project newlib | before 4.0.0 | NVD |
| fedoraproject fedora | 32, 33, 34 | NVD |
All scores
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Se encontró un fallo en newlib en versiones anteriores a 4.0.0. Una comprobación inapropiada del desbordamiento en las funciones de asignación de memoria mEMALIGn, pvALLOc, nano_memalign, nano_valloc, nano_pvalloc podría causar un desbordamiento de enteros, conllevando a una asignación de un búfer pequeño y luego a un desbordamiento de búfer en la región heap de la memoria
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-3420 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-3420 changed 2026-06-17 | Public domain |