CVE-2018-12886 Security feature bypass in n/a

High 8.1 Published Updated

GCC compiler flaw allows attackers to bypass stack protector mitigations on ARM targets by controlling the stack canary comparison value.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-12886?

CVE-2018-12886 is a high-severity vulnerability in n/a, published on 22 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-209

Which versions are affected by CVE-2018-12886?

It affects 1 product.

Products include Gnu Gcc.

How do I fix CVE-2018-12886?

No fix has been published for CVE-2018-12886 yet. Limit exposure of the affected software until one is available.

Is CVE-2018-12886 being exploited?

There is no known exploitation of CVE-2018-12886 in the wild and no public exploit code.

Sources

Also known as GHSA-5mwp-7q9c-cgg2, UBUNTU-CVE-2018-12886.

Is CVE-2018-12886 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free