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.

INFO

Published Date :

May 22, 2019, 7:29 p.m.

Last Modified :

Aug. 24, 2020, 5:37 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.2
Public PoC/Exploit Available at Github

CVE-2018-12886 has a 8 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2018-12886 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Gnu gcc
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-12886.

URL Resource
https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/config/arm/arm-protos.h?revision=266379&view=markup Vendor Advisory
https://www.gnu.org/software/gcc/gcc-8/changes.html Exploit Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

TypeScript JavaScript

Updated: 1 year, 7 months ago
0 stars 0 fork 0 watcher
Born at : April 2, 2023, 1:41 a.m. This repo has been linked 7 different CVEs too.

None

TypeScript JavaScript

Updated: 1 year, 11 months ago
0 stars 0 fork 0 watcher
Born at : Nov. 28, 2022, 3:23 p.m. This repo has been linked 6 different CVEs too.

None

TypeScript JavaScript

Updated: 1 year, 11 months ago
0 stars 0 fork 0 watcher
Born at : Nov. 28, 2022, 3:13 p.m. This repo has been linked 7 different CVEs too.

None

Shell TypeScript JavaScript

Updated: 2 years, 11 months ago
0 stars 0 fork 0 watcher
Born at : Dec. 20, 2021, 1:44 p.m. This repo has been linked 7 different CVEs too.

A small Python utility for wrapping some CNCF tools.

Python

Updated: 3 years, 1 month ago
0 stars 0 fork 0 watcher
Born at : Oct. 10, 2021, 12:02 p.m. This repo has been linked 3 different CVEs too.

This action can be used to publish security scans done as part of CI/CD on Github to Azure Security Center.

JavaScript TypeScript

Updated: 1 year, 7 months ago
9 stars 9 fork 9 watcher
Born at : Dec. 1, 2020, 5:25 a.m. This repo has been linked 6 different CVEs too.

A command line tool which provides an alternative interface to snyk test

snyk

Makefile Dockerfile Crystal Open Policy Agent

Updated: 2 years, 9 months ago
4 stars 3 fork 3 watcher
Born at : Aug. 31, 2020, 8:31 a.m. This repo has been linked 82 different CVEs too.

A GitHub action to help you scan your docker image for vulnerabilities

TypeScript JavaScript

Updated: 6 months ago
218 stars 40 fork 40 watcher
Born at : March 26, 2020, 9:36 a.m. This repo has been linked 7 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-12886 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-12886 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CWE Remap by [email protected]

    Aug. 24, 2020

    Action Type Old Value New Value
    Changed CWE CWE-119 CWE-209
  • Initial Analysis by [email protected]

    May. 23, 2019

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/config/arm/arm-protos.h?revision=266379&view=markup No Types Assigned https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/config/arm/arm-protos.h?revision=266379&view=markup Vendor Advisory
    Changed Reference Type https://www.gnu.org/software/gcc/gcc-8/changes.html No Types Assigned https://www.gnu.org/software/gcc/gcc-8/changes.html Exploit, Vendor Advisory
    Added CWE CWE-119
    Added CPE Configuration OR *cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:*:* versions from (including) 4.1 up to (including) 8.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-12886 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-12886 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.29 }} -0.12%

score

0.64563

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability