# CVE-2021-3420

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-03-05 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2021-3420, DEBIAN-CVE-2021-3420, openSUSE-SU-2024:11086-1, ALPINE-CVE-2021-3420
- Record: https://cvemate.com/vulnerability/CVE-2021-3420 · JSON: https://cvemate.com/vulnerability/CVE-2021-3420/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.129%, percentile 82.566%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine newlib (Alpine Linux): \< 4.1.0-r0
- debian newlib (Debian): \< 3.3.0-1.3+deb12u1 \| \< 4.4.0.20231231-2
- debian picolibc (Debian): \< 1.5-1
- ubuntu newlib (Ubuntu): All versions (No fix recorded)
- fedoraproject fedora: 32 \| 33 \| 34
- newlib\_project newlib: \< 4.0.0
- opensuse newlib&distro=openSUSE Tumbleweed (openSUSE): \< 4.1.0-2.2

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1934088>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AEBF6YHWFNCBW5A2ENSQ3Z56ELF4MTRE/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSQZEUANAWBBAOC4TF5PTPJVLMUR7SFD/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AMK54N6UOPBFFX2YT32TWSAEFTHGSKAA/>
- <https://ubuntu.com/security/CVE-2021-3420>
- <https://sourceware.org/git/?p=newlib-cygwin.git;a=commit;h=aa106b29a6a8a1b0df9e334704292cbc32f2d44e>
- <https://www.cve.org/CVERecord?id=CVE-2021-3420>
- <https://security-tracker.debian.org/tracker/CVE-2021-3420>
- <https://www.suse.com/security/cve/CVE-2021-3420>
- <https://security.alpinelinux.org/vuln/CVE-2021-3420>

---

Data as of 2026-12-05T04:22:29.703Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
