Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2018-12886

8.1 · HIGH
Published May 22, 2019 gnu CWE-209 EPSS 2.17% (81th pctl)

Overview

CVE-2018-12886 is a high-severity vulnerability affecting gnu gcc. It was published on May 22, 2019 and has a CVSS 3.0 base score of 8.1 (HIGH).

This vulnerability has a CVSS 3.0 base score of 8.1, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

Remediation

Check the references section for vendor advisories and patches from gnu. Update gcc to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
gnu gcc 4.1 Affected

Frequently Asked Questions

What is CVE-2018-12886?

CVE-2018-12886 is a high-severity vulnerability affecting gnu gcc. It was published on May 22, 2019 and has a CVSS 3.0 base score of 8.1 (HIGH).

How severe is CVE-2018-12886?

This vulnerability has a CVSS 3.0 base score of 8.1, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2018-12886?

Check the references section for vendor advisories and patches from gnu. Update gcc to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2018-12886?

CyberStrike's AI-powered security agents can automatically detect CVE-2018-12886 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.