CVE-2018-12886
Last modified
CVE-2018-12886 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 2.17% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Gcc | >= 4.1, <= 8.0 |
References
- https://www.gnu.org/software/gcc/gcc-8/changes.htmlExploit, Vendor Advisory
- https://www.gnu.org/software/gcc/gcc-8/changes.htmlExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-12886?
How severe is CVE-2018-12886?
How do I fix CVE-2018-12886?
Are you affected by CVE-2018-12886?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
