CVE-2021-3420
JSON

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 packageVersionsReported by
newlibnewlib versions prior to 4.0.0CVE List
newlib_project newlibbefore 4.0.0NVD
fedoraproject fedora32, 33, 34NVD

All scores

NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV: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

SourceRecordLicence
CVE ListCVE-2021-3420 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-3420 changed 2026-06-17Public domain