CVE-2018-12886
CVE-2018-12886
CVSS 8.1 · High · EPSS 2.7%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- gcc-4.8 Ubuntu 14.04 LTSNo fix published
- gcc-4.8 Ubuntu 16.04 LTSNo fix published
- gcc-4.9 Ubuntu 16.04 LTSNo fix published
- gcc-arm-none-eabi Ubuntu 16.04 LTSNo fix published
- and 19 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="gcc-4.8"'dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="gcc-4.9"'dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="gcc-arm-none-eabi"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
This page shows selected source facts. See the linked advisories for the complete description and affected versions.
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.
- Published
- Updated
Stack: system
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
gcc-4.8 Ubuntu 14.04 LTS
- Versions
- 4.8.1-10ubuntu8
- 4.8.2-1ubuntu1
- 4.8.2-1ubuntu2
- 4.8.2-10ubuntu1
- 4.8.2-10ubuntu2
- 4.8.2-12ubuntu2
All versions (23)
- 4.8.2-13ubuntu1
- 4.8.2-14ubuntu1
- 4.8.2-14ubuntu2
- 4.8.2-14ubuntu4
- 4.8.2-15ubuntu3
- 4.8.2-16ubuntu1
- 4.8.2-16ubuntu3
- 4.8.2-16ubuntu4
- 4.8.2-16ubuntu5
- 4.8.2-16ubuntu6
- 4.8.2-17ubuntu1
- 4.8.2-17ubuntu2
- 4.8.2-19ubuntu1
- 4.8.4-2ubuntu1~14.04
- 4.8.4-2ubuntu1~14.04.1
- 4.8.4-2ubuntu1~14.04.3
- 4.8.4-2ubuntu1~14.04.4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-4.8 Ubuntu 16.04 LTS
- Versions
- 4.8.5-1ubuntu1
- 4.8.5-2ubuntu1
- 4.8.5-3ubuntu1
- 4.8.5-3ubuntu2
- 4.8.5-3ubuntu3
- 4.8.5-4ubuntu1
All versions (7)
- 4.8.5-4ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-4.9 Ubuntu 16.04 LTS
- Versions
- 4.9.3-5ubuntu1
- 4.9.3-6ubuntu2
- 4.9.3-8ubuntu1
- 4.9.3-8ubuntu2
- 4.9.3-9ubuntu1
- 4.9.3-11ubuntu1
All versions (9)
- 4.9.3-11ubuntu2
- 4.9.3-12ubuntu1
- 4.9.3-13ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-arm-none-eabi Ubuntu 16.04 LTS
- Versions
- 15:4.9.3+svn227297-1
- 15:4.9.3+svn227297-1build1
- 15:4.9.3+svn231177-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-snapshot Ubuntu 16.04 LTS
- Versions
- 20151011-0ubuntu1
- 20151030-1ubuntu2
- 20151104-0ubuntu1
- 20151122-1ubuntu1
- 20151209-0ubuntu1
- 20151215-0ubuntu1
All versions (10)
- 20160105-1ubuntu1
- 20160125-1ubuntu1
- 20160320-1ubuntu1
- 20160415-0ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-7 Ubuntu 18.04 LTS
- Versions
- 7.2.0-8ubuntu3
- 7.2.0-12ubuntu1
- 7.2.0-13ubuntu1
- 7.2.0-16ubuntu1
- 7.2.0-17ubuntu1
- 7.2.0-18ubuntu2
All versions (19)
- 7.3.0-3ubuntu1
- 7.3.0-5ubuntu1
- 7.3.0-11ubuntu1
- 7.3.0-12ubuntu1
- 7.3.0-13ubuntu1
- 7.3.0-14ubuntu1
- 7.3.0-15ubuntu2
- 7.3.0-16ubuntu2
- 7.3.0-16ubuntu3
- 7.3.0-27ubuntu1~18.04
- 7.4.0-1ubuntu1~18.04
- 7.4.0-1ubuntu1~18.04.1
- 7.5.0-3ubuntu1~18.04
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-8 Ubuntu 18.04 LTS
- Versions
- 8-20180208-0ubuntu1
- 8-20180218-1ubuntu1
- 8-20180312-2ubuntu1
- 8-20180319-1ubuntu2
- 8-20180321-1ubuntu1
- 8-20180331-1ubuntu1
All versions (16)
- 8-20180402-1ubuntu1
- 8-20180406-0ubuntu1
- 8-20180408-0ubuntu1
- 8-20180414-1ubuntu1
- 8-20180414-1ubuntu2
- 8.2.0-1ubuntu2~18.04
- 8.3.0-6ubuntu1~18.04
- 8.3.0-6ubuntu1~18.04.1
- 8.3.0-26ubuntu1~18.04
- 8.4.0-1ubuntu1~18.04
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-4.8 Ubuntu 18.04 LTS
- Versions
- 4.8.5-4ubuntu6
- 4.8.5-4ubuntu7
- 4.8.5-4ubuntu8
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-6 Ubuntu 18.04 LTS
- Versions
- 6.4.0-8ubuntu1
- 6.4.0-9ubuntu1
- 6.4.0-10ubuntu1
- 6.4.0-11ubuntu1
- 6.4.0-12ubuntu1
- 6.4.0-13ubuntu1
All versions (10)
- 6.4.0-15ubuntu1
- 6.4.0-16ubuntu1
- 6.4.0-17ubuntu1
- 6.5.0-2ubuntu1~18.04
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-arm-none-eabi Ubuntu 18.04 LTS
- Versions
- 15:5.4.1+svn241155-1
- 15:6.3.1+svn253039-1
- 15:6.3.1+svn253039-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-snapshot Ubuntu 18.04 LTS
- Versions
- 20171017-1ubuntu1
- 20171109-1ubuntu1
- 20180107-1ubuntu1
- 20180130-0ubuntu2
- 20180216-1ubuntu1
- 1:20180322-1ubuntu1
All versions (7)
- 1:20180425-1ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-7 Ubuntu 20.04 LTS
- Versions
- 7.4.0-14ubuntu2
- 7.4.0-15ubuntu1
- 7.5.0-1ubuntu1
- 7.5.0-2ubuntu1
- 7.5.0-3ubuntu1
- 7.5.0-4ubuntu1
All versions (8)
- 7.5.0-4ubuntu4
- 7.5.0-6ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-8 Ubuntu 20.04 LTS
- Versions
- 8.3.0-23ubuntu2
- 8.3.0-24ubuntu1
- 8.3.0-25ubuntu3
- 8.3.0-26ubuntu1
- 8.3.0-27ubuntu1
- 8.3.0-29ubuntu1
All versions (11)
- 8.3.0-29ubuntu2
- 8.4.0-1ubuntu1
- 8.4.0-1ubuntu3
- 8.4.0-3ubuntu1
- 8.4.0-3ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-arm-none-eabi Ubuntu 20.04 LTS
- Versions
- 15:7-2018-q2-6
- 15:8-2019-q3-1
- 15:9-2019-q4-0ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-arm-none-eabi Ubuntu 22.04 LTS
- Versions
- 15:9-2019-q4-0ubuntu2
- 15:10.3-2021.07-1
- 15:10.3-2021.07-2
- 15:10.3-2021.07-3
- 15:10.3-2021.07-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-snapshot Ubuntu 22.04 LTS
- Versions
- 1:20210827-1ubuntu1
- 1:20220117-1ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-arm-none-eabi Ubuntu 24.04 LTS
- Versions
- 15:12.2.rel1-1
- 15:13.2.rel1-1
- 15:13.2.rel1-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-snapshot Ubuntu 24.04 LTS
- Versions
- 1:20230928-1ubuntu1
- 1:20231130-1ubuntu1
- 1:20240117-1ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-arm-none-eabi Ubuntu 25.10
- Versions
- 15:14.2.rel1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-snapshot Ubuntu 25.10
- Versions
- 1:20250322-1ubuntu1
- 1:20250502-1ubuntu1
- 1:20250601-1ubuntu1
- 1:20250617-1ubuntu1
- 1:20250804-1ubuntu1
- 1:20250828-1ubuntu1
All versions (7)
- 1:20250921-1ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-arm-none-eabi Ubuntu 26.10
- Versions
- 15:14.2.rel1-1
- 15:15.3.rel1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-snapshot Ubuntu 26.10
- Versions
- 1:20260306-1ubuntu1
- 1:20260902-1ubuntu1
- 1:20260920-0ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gcc-arm-none-eabi Ubuntu 26.04 LTS
- Versions
- 15:14.2.rel1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://www.gnu.org/software/gcc/gcc-8/changes.html
- https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/config/arm/arm-protos.h?revision=266379&view=markup
- https://cert-portal.siemens.com/productcert/html/ssa-565386.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://nvd.nist.gov/vuln/detail/CVE-2018-12886