CVE Catalog

CVE-2018-12886

High
Published: Translated: NVD NIST

Summary

In GCC 4.1 through 8, the stack_protect_prologue and stack_protect_epilogue functions for ARM targets generate instruction sequences that spill the address of the stack protector guard. This allows an attacker to bypass the stack protector mechanism.

Risk Assessment

An attacker can exploit this vulnerability to gain control of a program compiled with the vulnerable compiler, leading to integrity and confidentiality breaches.

Recommendation

Upgrade GCC to version 8.2 or later, which includes a fix for this vulnerability. Recompile all programs targeting ARM architecture.

Related vulnerabilities

Original NVD description (English source)

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 bypas

Vulnerability data from NVD (NIST) · CISA KEV · EPSS