{"api_version":"1","generated_at":"2026-07-23T14:11:11+00:00","cve":"CVE-2021-3420","urls":{"html":"https://cve.report/CVE-2021-3420","api":"https://cve.report/api/cve/CVE-2021-3420.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3420","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3420"},"summary":{"title":"CVE-2021-3420","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2021-03-05 21:15:00","updated_at":"2023-11-07 03:37:00"},"problem_types":["CWE-190"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AEBF6YHWFNCBW5A2ENSQ3Z56ELF4MTRE/","name":"FEDORA-2021-332fb9c796","refsource":"","tags":[],"title":"[SECURITY] Fedora 32 Update: arm-none-eabi-newlib-4.1.0-1.fc32 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AEBF6YHWFNCBW5A2ENSQ3Z56ELF4MTRE/","name":"FEDORA-2021-332fb9c796","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 32 Update: arm-none-eabi-newlib-4.1.0-1.fc32 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AMK54N6UOPBFFX2YT32TWSAEFTHGSKAA/","name":"FEDORA-2021-0fa2f42d3c","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: arm-none-eabi-newlib-4.1.0-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AMK54N6UOPBFFX2YT32TWSAEFTHGSKAA/","name":"FEDORA-2021-0fa2f42d3c","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: arm-none-eabi-newlib-4.1.0-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LSQZEUANAWBBAOC4TF5PTPJVLMUR7SFD/","name":"FEDORA-2021-267c08cc40","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: arm-none-eabi-newlib-4.1.0-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSQZEUANAWBBAOC4TF5PTPJVLMUR7SFD/","name":"FEDORA-2021-267c08cc40","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: arm-none-eabi-newlib-4.1.0-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1934088","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1934088","refsource":"MISC","tags":["Broken Link","Issue Tracking","Patch","Third Party Advisory"],"title":"1934088 – (CVE-2021-3420) CVE-2021-3420 newlib: improper validation in memory allocation functions could lead to heap-based buffer overflow","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3420","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3420","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"3420","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"32","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3420","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3420","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3420","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3420","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"newlib_project","cpe5":"newlib","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3420","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"newlib_project","cpe5":"newlib","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-3420","qid":"180040","title":"Debian Security Update for picolibc (CVE-2021-3420)"},{"cve":"CVE-2021-3420","qid":"281555","title":"Fedora Security Update for arm (FEDORA-2021-267c08cc40)"},{"cve":"CVE-2021-3420","qid":"281556","title":"Fedora Security Update for arm (FEDORA-2021-0fa2f42d3c)"},{"cve":"CVE-2021-3420","qid":"281557","title":"Fedora Security Update for arm (FEDORA-2021-332fb9c796)"},{"cve":"CVE-2021-3420","qid":"501883","title":"Alpine Linux Security Update for newlib"},{"cve":"CVE-2021-3420","qid":"505089","title":"Alpine Linux Security Update for newlib"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-3420","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"newlib","version":{"version_data":[{"version_value":"newlib versions prior to 4.0.0"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-190->CWE-120"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1934088","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1934088"},{"refsource":"FEDORA","name":"FEDORA-2021-332fb9c796","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AEBF6YHWFNCBW5A2ENSQ3Z56ELF4MTRE/"},{"refsource":"FEDORA","name":"FEDORA-2021-267c08cc40","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LSQZEUANAWBBAOC4TF5PTPJVLMUR7SFD/"},{"refsource":"FEDORA","name":"FEDORA-2021-0fa2f42d3c","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AMK54N6UOPBFFX2YT32TWSAEFTHGSKAA/"}]},"description":{"description_data":[{"lang":"eng","value":"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":{"publishedDate":"2021-03-05 21:15:00","lastModifiedDate":"2023-11-07 03:37:00","problem_types":["CWE-190"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:newlib_project:newlib:*:*:*:*:*:*:*:*","versionEndExcluding":"4.0.0","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"3420","Ordinal":"203021","Title":"CVE-2021-3420","CVE":"CVE-2021-3420","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"3420","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"3420","Ordinal":"2","NoteData":"2021-03-05","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"3420","Ordinal":"3","NoteData":"2021-03-19","Type":"Other","Title":"Modified"}]}}}