CYBER CODE RED

Get real-time updates on Telegram

P4Verified

CVE-2018-12886: gcc from 4.1 (inclusive), through 8.0 (inclusive); +4 more affected products

CVE-2018-12886. CVSS 2.0 base score 6.8 (MEDIUM, NVD). EPSS 0.02171 (percentile 0.81823), scored 13-Oct-2026.

Affected technology

gcc · from 4.1 (inclusive), through 8.0 (inclusive)
gnu

n/a · n/a
Vendor not specified by the source

SIMATIC S7-1500 CPU 1518-4 PN/DP MFP · V3.1.0 to before V3.1.5
Siemens

SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP · V3.1.0 to before V3.1.5
Siemens

SIPLUS S7-1500 CPU 1518-4 PN/DP MFP · V3.1.0 to before V3.1.5
Siemens

Description’s affected range: through 8 (under certain circumstances) generate instruction sequences when targeting ARM targets that spill the address of the stack protector guard

Component: Not specified by the source

Attack conditions (NVD, CVSS 3.0): Network (remote) · No privileges required · No user interaction required

What an attacker can do

The source says 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. NVD’s CVSS 3.0 assessment (base score 8.1/10) rates confidentiality, integrity and availability impact as high.

Published

CWE
CWE-209
CCR priority
27.7 /100 (P4)
CVSS 2.0
6.8 /10 · CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P · NVD
EPSS
0.02171 · percentile 0.81823 · 2026-10-13
KEV
no

Provenance

Stable permalink: https://cybercodered.org/item/cve-cve-2018-12886.html