8.1
CWE
209
Advisory Published
Updated

CVE-2018-12886

First published: Wed May 22 2019(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
GNU GCC>=4.1<=8.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2018-12886?

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

  • What is the severity of CVE-2018-12886?

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

  • 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.

  • Which software is affected by CVE-2018-12886?

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

  • 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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203