Gnu Gcc vulnerabilities
14 known vulnerabilities affecting gnu/gcc.
Total CVEs
14
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
HIGH6MEDIUM7LOW1
Vulnerabilities
Page 1 of 1
CVE-2023-4039MEDIUMCVSS 4.8fixed in 2023-09-12vAll versions of GCC that target AArch64 when option -fstack-protector is used2023-09-13
CVE-2023-4039 [MEDIUM] CWE-693 CVE-2023-4039: **DISPUTED**A failure in the -fstack-protector feature in GCC-based toolchains
that target AArch64
**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
cvelistv5nvd
CVE-2021-3826MEDIUMCVSS 6.5v11.22022-09-01
CVE-2021-3826 [MEDIUM] CWE-119 CVE-2021-3826: Heap/stack buffer overflow in the dlang_lname function in d-demangle.c in libiberty allows attackers
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.
nvd
CVE-2022-27943MEDIUMCVSS 5.5v11.22022-03-26
CVE-2022-27943 [MEDIUM] CWE-674 CVE-2022-27943: libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in demangle_const, as demonstrate
libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in demangle_const, as demonstrated by nm-new.
nvd
CVE-2021-46195MEDIUMCVSS 5.5v12.02022-01-14
CVE-2021-46195 [MEDIUM] CWE-674 CVE-2021-46195: GCC v12.0 was discovered to contain an uncontrolled recursion via the component libiberty/rust-deman
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.
nvd
CVE-2021-37322HIGHCVSS 7.8fixed in 10.12021-11-18
CVE-2021-37322 [HIGH] CWE-416 CVE-2021-37322: GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-d
GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-dem.c.
nvd
CVE-2002-2439HIGHCVSS 7.8fixed in 4.8.0v4.8.02019-10-23
CVE-2002-2439 [HIGH] CWE-190 CVE-2002-2439: Integer overflow in the new[] operator in gcc before 4.8.0 allows attackers to have unspecified impa
Integer overflow in the new[] operator in gcc before 4.8.0 allows attackers to have unspecified impacts.
cvelistv5nvd
CVE-2019-15847HIGHCVSS 7.5fixed in 7.5.0≥ 8.0, < 8.4.0+2 more2019-09-02
CVE-2019-15847 [HIGH] CWE-331 CVE-2019-15847: The POWER9 backend in GNU Compiler Collection (GCC) before version 10 could optimize multiple calls
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
nvd
CVE-2018-12886HIGHCVSS 8.1≥ 4.1, ≤ 8.02019-05-22
CVE-2018-12886 [HIGH] CWE-209 CVE-2018-12886: stack_protect_prologue in cfgexpand.c and stack_protect_epilogue in function.c in GNU Compiler Colle
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-protec
nvd
CVE-2017-11671MEDIUMCVSS 4.0v4.6v4.7+11 more2017-07-26
CVE-2017-11671 [MEDIUM] CWE-338 CVE-2017-11671: Under certain circumstances, the ix86_expand_builtin function in i386.c in GNU Compiler Collection (
Under certain circumstances, the ix86_expand_builtin function in i386.c in GNU Compiler Collection (GCC) version 4.6, 4.7, 4.8, 4.9, 5 before 5.5, and 6 before 6.4 will generate instruction sequences that clobber the status flag of the RDRAND and RDSEED intrinsics before it can be read, potentially causing failures of these instructions to go unrepo
nvd
CVE-2015-5276MEDIUMCVSS 5.0fixed in 4.9.42015-11-17
CVE-2015-5276 [MEDIUM] CWE-200 CVE-2015-5276: The std::random_device class in libstdc++ in the GNU Compiler Collection (aka GCC) before 4.9.4 does
The std::random_device class in libstdc++ in the GNU Compiler Collection (aka GCC) before 4.9.4 does not properly handle short reads from blocking sources, which makes it easier for context-dependent attackers to predict the random values via unspecified vectors.
nvd
CVE-2008-1685MEDIUMCVSS 6.8v4.2.0v4.2.1+4 more2008-04-06
CVE-2008-1685 [MEDIUM] CWE-119 CVE-2008-1685: gcc 4.2.0 through 4.3.0 in GNU Compiler Collection, when casts are not used, considers the sum of a
gcc 4.2.0 through 4.3.0 in GNU Compiler Collection, when casts are not used, considers the sum of a pointer and an int to be greater than or equal to the pointer, which might lead to removal of length testing code that was intended as a protection mechanism against integer overflow and buffer overflow attacks, and provide no diagnostic message about th
nvd
CVE-2008-1367HIGHCVSS 7.5v4.32008-03-17
CVE-2008-1367 [HIGH] CWE-399 CVE-2008-1367: gcc 4.3.x does not generate a cld instruction while compiling functions used for string manipulation
gcc 4.3.x does not generate a cld instruction while compiling functions used for string manipulation such as memcpy and memmove on x86 and i386, which can prevent the direction flag (DF) from being reset in violation of ABI conventions and cause data to be copied in the wrong direction during signal handling in the Linux kernel, which might allow contex
nvd
CVE-2006-1902LOWCVSS 2.1v4.12006-04-20
CVE-2006-1902 [LOW] CWE-119 CVE-2006-1902: fold_binary in fold-const.c in GNU Compiler Collection (gcc) 4.1 improperly handles pointer overflow
fold_binary in fold-const.c in GNU Compiler Collection (gcc) 4.1 improperly handles pointer overflow when folding a certain expr comparison to a corresponding offset comparison in cases other than EQ_EXPR and NE_EXPR, which might introduce buffer overflow vulnerabilities into applications that could be exploited by context-dependent attackers.NOTE: the v
nvd
CVE-2000-1219HIGHCVSS 7.5≤ 3.3.32000-11-01
CVE-2000-1219 [HIGH] CVE-2000-1219: The -ftrapv compiler option in gcc and g++ 3.3.3 and earlier does not handle all types of integer ov
The -ftrapv compiler option in gcc and g++ 3.3.3 and earlier does not handle all types of integer overflows, which may leave applications vulnerable to vulnerabilities related to overflows.
nvd