CVE-2018-12886

HIGH

GCC 4.1-8.0 - Stack Protector Bypass via ARM Instruction Sequence

Title source: llm
STIX 2.1

Description

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.

References (2)

Core 2
Core References
Exploit, Vendor Advisory x_refsource_misc
https://www.gnu.org/software/gcc/gcc-8/changes.html

Scores

CVSS v3 8.1
EPSS 0.0019
EPSS Percentile 41.0%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-209
Status published
Products (1)
gnu/gcc 4.1 - 8.0
Published May 22, 2019
Tracked Since Feb 18, 2026