CVE-2018-12886Gnu Gcc
High 8.1 No auth needed
Follow: this CVE · Gnu · Gnu Gcc We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Gcc.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gnu | gcc | ≥ 4.1 ≤ 8.0 |
Official sources
References
Links published by the sources. Open them with care.
- gcc.gnu.org Vendor Advisory
- www.gnu.org Exploit Vendor Advisory
- cert-portal.siemens.com
- cert-portal.siemens.com