CVE-2021-3420

Summary

CVECVE-2021-3420
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-03-05 21:15:00 UTC
Updated2023-11-07 03:37:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-190

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 32 All All All
Operating System Fedoraproject Fedora 33 All All All
Operating System Fedoraproject Fedora 34 All All All
Operating System Fedoraproject Fedora 33 All All All
Application Newlib Project Newlib All All All All
Application Newlib Project Newlib All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 32 Update: arm-none-eabi-newlib-4.1.0-1.fc32 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 32 Update: arm-none-eabi-newlib-4.1.0-1.fc32 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 34 Update: arm-none-eabi-newlib-4.1.0-1.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 34 Update: arm-none-eabi-newlib-4.1.0-1.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 33 Update: arm-none-eabi-newlib-4.1.0-1.fc33 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 33 Update: arm-none-eabi-newlib-4.1.0-1.fc33 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
1934088 – (CVE-2021-3420) CVE-2021-3420 newlib: improper validation in memory allocation functions could lead to heap-based buffer overflow MISC bugzilla.redhat.com Broken Link, Issue Tracking, Patch, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 180040 Debian Security Update for picolibc (CVE-2021-3420)
  • 281555 Fedora Security Update for arm (FEDORA-2021-267c08cc40)
  • 281556 Fedora Security Update for arm (FEDORA-2021-0fa2f42d3c)
  • 281557 Fedora Security Update for arm (FEDORA-2021-332fb9c796)
  • 501883 Alpine Linux Security Update for newlib
  • 505089 Alpine Linux Security Update for newlib

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report