Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-3420

published

newlib: improper validation in memory allocation functions could lead to heap-based buffer overflow

Title from Red Hat VEX

Published
05 Mar 2021, 19:19:28 UTC
Updated
03 Aug 2024, 16:53:17 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — newlibnewlib versions prior to 4.0.0 Affected Not stated redhat
Alpine Linux edge newlib Fixed 4.1.0-r0 Package fix record
SUSE / openSUSE openSUSE-Tumbleweed newlibaarch64 Advisory build 4.1.0-2.2 OPENSUSE-SU-2024:11086-1
Alpine Linux v3.14 newlib Fixed 4.1.0-r0 Package fix record
Alpine Linux v3.15 newlib Fixed 4.1.0-r0 Package fix record
Alpine Linux v3.16 newlib Fixed 4.1.0-r0 Package fix record
Alpine Linux v3.17 newlib Fixed 4.1.0-r0 Package fix record
Alpine Linux v3.18 newlib Fixed 4.1.0-r0 Package fix record
Show 9 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.19 newlib Fixed 4.1.0-r0 Package fix record
Alpine Linux v3.20 newlib Fixed 4.1.0-r0 Package fix record
Alpine Linux v3.21 newlib Fixed 4.1.0-r0 Package fix record
Alpine Linux v3.22 newlib Fixed 4.1.0-r0 Package fix record
Alpine Linux v3.23 newlib Fixed 4.1.0-r0 Package fix record
Alpine Linux v3.24 newlib Fixed 4.1.0-r0 Package fix record
SUSE / openSUSE openSUSE-Tumbleweed newlibppc64le Advisory build 4.1.0-2.2 OPENSUSE-SU-2024:11086-1
SUSE / openSUSE openSUSE-Tumbleweed newlibs390x Advisory build 4.1.0-2.2 OPENSUSE-SU-2024:11086-1
SUSE / openSUSE openSUSE-Tumbleweed newlibx86_64 Advisory build 4.1.0-2.2 OPENSUSE-SU-2024:11086-1

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.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

13

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a newlib newlib versions prior to 4.0.0 (affected) redhat · cna

Weaknesses

1
  • CWE-190 CWE-190->CWE-120 (redhat · cna)

References

4
  • https://bugzilla.redhat.com/show_bug.cgi?id=1934088 x_refsource_MISC, x_transferred Contributors: redhat (cna), CVE (adp)
  • FEDORA-2021-332fb9c796 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AEBF6YHWFNCBW5A2ENSQ3Z56ELF4MTRE/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: redhat (cna), CVE (adp)
  • FEDORA-2021-0fa2f42d3c https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AMK54N6UOPBFFX2YT32TWSAEFTHGSKAA/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: redhat (cna), CVE (adp)
  • FEDORA-2021-267c08cc40 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSQZEUANAWBBAOC4TF5PTPJVLMUR7SFD/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: redhat (cna), CVE (adp)

Provider assertions

2

redhat · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
0cf3b47cc626431c56f27f9dfd62e82f0ecd58880d5a18996f17803df4446372
Ingested
23 Sep 2026, 07:55:51 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected