CVE-2018-12886: High severity gnu compiler collection (gcc) vulnerability

Published May 22, 2019
·
Updated

stackprotectprologue in cfgexpand.c and stackprotectepilogue 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.

Affected Software

1 affected component
GNU gcc>=4.1<=8.0

Event History

May 22, 2019
CVE Published
via MITRE·06:42 PM
Data Sourced
via MITRE·06:42 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-12886?

CVE-2018-12886 is a vulnerability in the GNU Compiler Collection (GCC) that affects versions 4.1 through 8.

2

What is the severity of CVE-2018-12886?

The severity of CVE-2018-12886 is high with a CVSS score of 8.1.

3

How does CVE-2018-12886 impact ARM targets?

CVE-2018-12886 generates instruction sequences that spill the address of the stack protector guard on ARM targets, allowing an attacker to bypass protection.

4

Which software is affected by CVE-2018-12886?

GNU GCC versions 4.1 through 8 are affected by CVE-2018-12886.

5

How can I mitigate CVE-2018-12886?

Upgrade to a version of GNU GCC that is not affected by CVE-2018-12886 or apply any available patches provided by the vendor.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203