Live threats

All CVEs / Gnu

CVE-2018-12886Gnu Gcc

High 8.1 No auth needed

Priority
64
CVSS 3.0
8.1
EPSS
2.7%
probability of exploitation in 30 days · percentile 87
Auth required
No
Published
May 22, 2019
Updated
Oct 14, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-209
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gcc.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
gnugcc≥ 4.1 ≤ 8.0

Official sources

References

Links published by the sources. Open them with care.