VulnSea

gcc vulnerabilities

CVEs whose affected-version data names the gcc package. Each record lists the affected and patched versions; check a specific version with the dependency checker or POST /api/sbom.

8 CVEsRSS

CVE-2026-102010High· 7.0
1mo ago

A flaw was found in GCC

A flaw was found in GCC. When an application calls the erase_if function on a binary heap priority queue in libstdc++, the library reallocates storage but fails to update its internal entry pointer. An attacker capable of triggering this…

▾ TwilightRed Hat · gcc13-mainEPSS 0.33%via NVD
CVE-2026-95619High· 7.7
1mo ago

A flaw was found in libstdc++

A flaw was found in libstdc++. An integer overflow can occur when processing large inputs to the aligned operator new in the C++ library. This vulnerability could lead to an undersized memory allocation, potentially causing memory corrup…

▾ TwilightRed Hat · gcc-mainEPSS 0.44%via NVD
CVE-2023-4039Medium· 4.8PoC
3y ago

**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 d…

**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 d…

▾ Twilightgnu · gccEPSS 1.0%via NVD
CVE-2021-3826Medium· 6.5
4y ago

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.

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.

▾ Sunlitgnu · gccEPSS 1.5%via NVD
CVE-2022-27943Medium· 5.5
4y ago

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

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

▾ Sunlitgnu · gccEPSS 0.95%via NVD
CVE-2021-46195Medium· 5.5⚖ disputed
4y ago

GCC v12.0 was discovered to contain an uncontrolled recursion via the component libiberty/rust-demangle.c

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.

▾ Sunlitgnu · gccEPSS 0.80%via NVD
CVE-2019-15847High· 7.5
7y ago

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

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 vol…

▾ Twilightgnu · gccEPSS 3.2%via NVD
CVE-2018-12886High· 8.1
7y ago

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 …

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 …

▾ Twilightgnu · gccEPSS 2.7%via NVD
gcc vulnerabilities (CVEs) · VulnSea