CVE-2018-12886: High severity gnu compiler collection (gcc) vulnerability
stackprotectprologue in cfgexpand.c and stackprotectepilogue 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.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2018-12886?
CVE-2018-12886 is a vulnerability in the GNU Compiler Collection (GCC) that affects versions 4.1 through 8.
What is the severity of CVE-2018-12886?
The severity of CVE-2018-12886 is high with a CVSS score of 8.1.
How does CVE-2018-12886 impact ARM targets?
CVE-2018-12886 generates instruction sequences that spill the address of the stack protector guard on ARM targets, allowing an attacker to bypass protection.
Which software is affected by CVE-2018-12886?
GNU GCC versions 4.1 through 8 are affected by CVE-2018-12886.
How can I mitigate CVE-2018-12886?
Upgrade to a version of GNU GCC that is not affected by CVE-2018-12886 or apply any available patches provided by the vendor.