CVE-2018-12886 PUBLISHED

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 0.20% · 41.5th percentile

Risk Scores

EPSS Score
0.20%
41.5th percentile

Affected Products

VendorProductVersions
Ubuntu:20.04:LTSgcc-88.4.0-1ubuntu1, 8.4.0-3ubuntu1, 8.4.0-3ubuntu2
Ubuntu:20.04:LTSgcc-arm-none-eabi0, 15:8-2019-q3-1, 15:9-2019-q4-0ubuntu1
Ubuntu:16.04:LTSgcc-4.94.9.3-9ubuntu1, 4.9.3-11ubuntu2, 4.9.3-12ubuntu1
Ubuntu:22.04:LTSgcc-snapshot0, 1:20220117-1ubuntu1, 1:20210827-1ubuntu1
Ubuntu:20.04:LTSgcc-77.4.0-15ubuntu1, 7.5.0-3ubuntu1, 7.5.0-4ubuntu1
Ubuntu:22.04:LTSgcc-arm-none-eabi15:10.3-2021.07-2, 15:10.3-2021.07-4, 15:10.3-2021.07-3
Ubuntu:16.04:LTSgcc-snapshot20151011-0ubuntu1, 20151030-1ubuntu2, 20151104-0ubuntu1
Ubuntu:18.04:LTSgcc-4.80, 4.8.5-4ubuntu7, 4.8.5-4ubuntu8
Ubuntu:18.04:LTSgcc-88-20180218-1ubuntu1, 8-20180208-0ubuntu1, 0
Ubuntu:14.04:LTSgcc-4.80, 4.8.1-10ubuntu8, 4.8.2-1ubuntu1
Ubuntu:16.04:LTSgcc-arm-none-eabi0, 15:4.9.3+svn231177-1, 15:4.9.3+svn227297-1build1
Ubuntu:24.04:LTSgcc-snapshot1:20231130-1ubuntu1, 1:20230928-1ubuntu1, 0
Ubuntu:16.04:LTSgcc-4.84.8.5-2ubuntu1, 4.8.5-3ubuntu1, 4.8.5-3ubuntu2
Ubuntu:18.04:LTSgcc-77.2.0-8ubuntu3, 7.3.0-14ubuntu1, 7.3.0-13ubuntu1
Ubuntu:18.04:LTSgcc-snapshot20180130-0ubuntu2, 20180216-1ubuntu1, 1:20180322-1ubuntu1
Ubuntu:24.04:LTSgcc-arm-none-eabi15:12.2.rel1-1, 15:13.2.rel1-2, 15:13.2.rel1-1
Ubuntu:18.04:LTSgcc-66.4.0-9ubuntu1, 6.4.0-10ubuntu1, 6.4.0-11ubuntu1
Ubuntu:18.04:LTSgcc-arm-none-eabi15:6.3.1+svn253039-1build1, 15:6.3.1+svn253039-1, 15:5.4.1+svn241155-1
Ubuntu:25.10gcc-snapshot1:20250921-1ubuntu1, 1:20250804-1ubuntu1, 1:20250828-1ubuntu1
Ubuntu:25.10gcc-arm-none-eabi15:14.2.rel1-1, 0

Timeline

References

Open in Interactive Console →