CVE-2018-12886

HIGH CVSS 3.0: 8.1 EPSS 2.74%
Updated Oct 14, 2026
Gnu
Parameter Value
CVSS 8.1 (HIGH)
Affected Versions 4.1 — 8.0
Type CWE-209 (Information Exposure Through Error Message)
Vendor Gnu
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Gnu Gcc
cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:*:*
4.1 <= 8.0