VDB

CVE-2018-12886

CVE-2018-12886 PUBLISHED CVSS 8.100000381469727 HIGH

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.

EPSS 2.17% · 81.6th percentile

Risk Scores

CVSS 3.0
8.100000381469727
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score
2.17%
81.6th percentile

Affected Products

VendorProductVersions
Ubuntu:20.04:LTSgcc-88.4.0-1ubuntu1, 8.3.0-29ubuntu1, 8.3.0-27ubuntu1
Ubuntu:20.04:LTSgcc-arm-none-eabi15:9-2019-q4-0ubuntu1, 15:8-2019-q3-1, 15:7-2018-q2-6
Ubuntu:16.04:LTSgcc-4.94.9.3-9ubuntu1, 4.9.3-11ubuntu1, 4.9.3-11ubuntu2
Ubuntu:22.04:LTSgcc-snapshot0, 1:20220117-1ubuntu1, *
Ubuntu:20.04:LTSgcc-77.5.0-6ubuntu2, 0, 7.4.0-14ubuntu2
Ubuntu:22.04:LTSgcc-arm-none-eabi15:10.3-2021.07-1, 15:10.3-2021.07-4, 15:10.3-2021.07-3
Ubuntu:16.04:LTSgcc-snapshot20151104-0ubuntu1, 20160105-1ubuntu1, 20151215-0ubuntu1
Ubuntu:18.04:LTSgcc-4.84.8.5-4ubuntu8, 4.8.5-4ubuntu7, 0
Ubuntu:18.04:LTSgcc-88-20180414-1ubuntu1, 8-20180208-0ubuntu1, 8-20180312-2ubuntu1
Ubuntu:14.04:LTSgcc-4.84.8.2-1ubuntu1, 4.8.2-10ubuntu2, 4.8.2-1ubuntu2
Ubuntu:16.04:LTSgcc-arm-none-eabi15:4.9.3+svn227297-1, 15:4.9.3+svn227297-1build1, 15:4.9.3+svn231177-1
Ubuntu:24.04:LTSgcc-snapshot1:20231130-1ubuntu1, 0, 1:20230928-1ubuntu1
Ubuntu:16.04:LTSgcc-4.80, 4.8.5-4ubuntu1, 4.8.5-4ubuntu2
Ubuntu:18.04:LTSgcc-77.3.0-27ubuntu1~18.04, 0, 7.2.0-8ubuntu3
Ubuntu:18.04:LTSgcc-snapshot*, 20180107-1ubuntu1, 1:20180425-1ubuntu1
Ubuntu:24.04:LTSgcc-arm-none-eabi0, 15:12.2.rel1-1, 15:13.2.rel1-1
Ubuntu:18.04:LTSgcc-66.4.0-16ubuntu1, 6.4.0-13ubuntu1, 6.4.0-12ubuntu1
Ubuntu:18.04:LTSgcc-arm-none-eabi*, 0, 15:5.4.1+svn241155-1
Ubuntu:25.10gcc-snapshot1:20250921-1ubuntu1, 1:20250828-1ubuntu1, 1:20250804-1ubuntu1
Ubuntu:25.10gcc-arm-none-eabi0, 15:14.2.rel1-1

Timeline

  • May 22, 2019 CVE Published
  • Apr 14, 2021 EPSS Score
  • Jun 23, 2021 EPSS Score
  • Aug 25, 2021 EPSS Score
  • Oct 27, 2021 EPSS Score
  • Dec 29, 2021 EPSS Score
  • Mar 2, 2022 EPSS Score
  • May 4, 2022 EPSS Score
  • Jul 6, 2022 EPSS Score
  • Sep 8, 2022 EPSS Score
  • Nov 10, 2022 EPSS Score
  • Jan 12, 2023 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›