Advisory
UBUNTU-CVE-2018-12886
Also known as: CVE-2018-12886
Summary
The record has no summary.
Details
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.
Severity
High Basis: CVSS v3 score 8.1, vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Dates
- Published
- 2019-05-22 19:29 UTC
- Modified
- 2026-10-17 12:54 UTC
Affected packages and fixes
| Package | System | Fix |
|---|---|---|
| gcc-4.8 | Debian packages (deb) · Ubuntu 14.04 | No fixed version is listed. |
| gcc-4.8 | Debian packages (deb) · Ubuntu 16.04 | No fixed version is listed. |
| gcc-4.9 | Debian packages (deb) · Ubuntu 16.04 | No fixed version is listed. |
| gcc-arm-none-eabi | Debian packages (deb) · Ubuntu 16.04 | No fixed version is listed. |
| gcc-snapshot | Debian packages (deb) · Ubuntu 16.04 | No fixed version is listed. |
| gcc-7 | Debian packages (deb) · Ubuntu 18.04 | No fixed version is listed. |
| gcc-8 | Debian packages (deb) · Ubuntu 18.04 | No fixed version is listed. |
| gcc-4.8 | Debian packages (deb) · Ubuntu 18.04 | No fixed version is listed. |
| gcc-6 | Debian packages (deb) · Ubuntu 18.04 | No fixed version is listed. |
| gcc-arm-none-eabi | Debian packages (deb) · Ubuntu 18.04 | No fixed version is listed. |
| gcc-snapshot | Debian packages (deb) · Ubuntu 18.04 | No fixed version is listed. |
| gcc-7 | Debian packages (deb) · Ubuntu 20.04 | No fixed version is listed. |
| gcc-8 | Debian packages (deb) · Ubuntu 20.04 | No fixed version is listed. |
| gcc-arm-none-eabi | Debian packages (deb) · Ubuntu 20.04 | No fixed version is listed. |
| gcc-arm-none-eabi | Debian packages (deb) · Ubuntu 22.04 | No fixed version is listed. |
| gcc-snapshot | Debian packages (deb) · Ubuntu 22.04 | No fixed version is listed. |
| gcc-arm-none-eabi | Debian packages (deb) · Ubuntu 24.04 | No fixed version is listed. |
| gcc-snapshot | Debian packages (deb) · Ubuntu 24.04 | No fixed version is listed. |
| gcc-arm-none-eabi | Debian packages (deb) · Ubuntu 25.10 | No fixed version is listed. |
| gcc-snapshot | Debian packages (deb) · Ubuntu 25.10 | No fixed version is listed. |
| gcc-arm-none-eabi | Debian packages (deb) · Ubuntu 26.10 | No fixed version is listed. |
| gcc-snapshot | Debian packages (deb) · Ubuntu 26.10 | No fixed version is listed. |
| gcc-arm-none-eabi | Debian packages (deb) · Ubuntu 26.04 | No fixed version is listed. |
| gcc-snapshot | Debian packages (deb) · Ubuntu 26.04 | No fixed version is listed. |
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
Source
Source: Ubuntu Security Notices · CC BY-SA 4.0