CVEInsight.
TrendingZero-DayExploreBrowseSearchSaved
CVEInsight.

Free vulnerability intelligence for developers, security teams, and researchers. Data sourced from public databases for informational purposes only.

Explore

HomeTrendingZero-Day WatchAttack TypesBrowse CVEsSearch

Legal

Privacy PolicyTerms of ServiceData Disclaimer

© 2026CVEInsight. For informational use only — not a substitute for professional security advice.

CVE data sourced from NVD / NIST & public disclosures.

gnu

gcc

8 known vulnerabilities · sorted by CVSS score

CVE-2018-12886
HIGH8.1

stack_protect_prologue in cfgexpand.c and stack_protect_epilogue in function.c in GNU Compiler Collection (GCC) 4.1 through 8 (under certain circumstances) generate instruction sequences when targeting ARM targets that spill the address of the stack protector guard, which allows an attacker to bypass the protection of -fstack-protector, -fstack-protector-all, -fstack-protector-strong, and -fstack-protector-explicit against stack overflow by controlling what the stack canary is compared against.

gnu / gcc
Network
Published May 22, 2019
CVE-2002-2439
HIGH7.8

Integer overflow in the new[] operator in gcc before 4.8.0 allows attackers to have unspecified impacts.

gnu / gcc
Local
Published Oct 23, 2019
CVE-2021-37322
HIGH7.8

GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-dem.c.

gnu / binutils+1
Local
Published Nov 18, 2021
CVE-2019-15847
HIGH7.5

The POWER9 backend in GNU Compiler Collection (GCC) before version 10 could optimize multiple calls of the __builtin_darn intrinsic into a single call, thus reducing the entropy of the random number generator. This occurred because a volatile operation was not specified. For example, within a single execution of a program, the output of every __builtin_darn() call may be the same.

gnu / gcc+5
Network
Published Sep 2, 2019
CVE-2021-3826
MEDIUM6.5

Heap/stack buffer overflow in the dlang_lname function in d-demangle.c in libiberty allows attackers to potentially cause a denial of service (segmentation fault and crash) via a crafted mangled symbol.

gnu / gcc+3
Network
Published Sep 1, 2022
CVE-2021-46195
MEDIUM5.5

GCC v12.0 was discovered to contain an uncontrolled recursion via the component libiberty/rust-demangle.c. This vulnerability allows attackers to cause a Denial of Service (DoS) by consuming excessive CPU and memory resources.

gnu / gcc
Local
Published Jan 14, 2022
CVE-2022-27943
MEDIUM5.5

libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in demangle_const, as demonstrated by nm-new.

gnu / gcc+1
Local
Published Mar 26, 2022
CVE-2023-4039
MEDIUM4.8

**DISPUTED**A failure in the -fstack-protector feature in GCC-based toolchains that target AArch64 allows an attacker to exploit an existing buffer overflow in dynamically-sized local variables in your application without this being detected. This stack-protector failure only applies to C99-style dynamically-sized local variables or those created using alloca(). The stack-protector operates as intended for statically-sized local variables. The default behavior when the stack-protector detects an overflow is to terminate your application, resulting in controlled loss of availability. An attacker who can exploit a buffer overflow without triggering the stack-protector might be able to change program flow control to cause an uncontrolled loss of availability or to go further and affect confidentiality or integrity. NOTE: The GCC project argues that this is a missed hardening bug and not a vulnerability by itself.

gnu / gcc
Network
Published Sep 13, 2023