CVE-2018-12886

Severity
8.1HIGH
EPSS
0.2%
top 58.39%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMay 22
Latest updateMay 24

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.

CVSS vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 2.2 | Impact: 5.9

Affected Packages1 packages

NVDgnu/gcc4.18.0

🔴Vulnerability Details

3
GHSA
GHSA-5mwp-7q9c-cgg2: stack_protect_prologue in cfgexpand2022-05-24
CVEList
CVE-2018-12886: stack_protect_prologue in cfgexpand2019-05-22
OSV
CVE-2018-12886: stack_protect_prologue in cfgexpand2019-05-22

📋Vendor Advisories

1
Red Hat
gcc: spilling of stack protection address in cfgexpand.c and function.c leads to stack-overflow protection bypass2019-05-22

💬Community

1
Bugzilla
CVE-2018-12886 gcc: spilling of stack protection address in cfgexpand.c and function.c leads to stack-overflow protection bypass2019-05-31