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

24 affected packages; affected: introduced 0
PackageSystemFix
gcc-4.8Debian packages (deb) · Ubuntu 14.04No fixed version is listed.
gcc-4.8Debian packages (deb) · Ubuntu 16.04No fixed version is listed.
gcc-4.9Debian packages (deb) · Ubuntu 16.04No fixed version is listed.
gcc-arm-none-eabiDebian packages (deb) · Ubuntu 16.04No fixed version is listed.
gcc-snapshotDebian packages (deb) · Ubuntu 16.04No fixed version is listed.
gcc-7Debian packages (deb) · Ubuntu 18.04No fixed version is listed.
gcc-8Debian packages (deb) · Ubuntu 18.04No fixed version is listed.
gcc-4.8Debian packages (deb) · Ubuntu 18.04No fixed version is listed.
gcc-6Debian packages (deb) · Ubuntu 18.04No fixed version is listed.
gcc-arm-none-eabiDebian packages (deb) · Ubuntu 18.04No fixed version is listed.
gcc-snapshotDebian packages (deb) · Ubuntu 18.04No fixed version is listed.
gcc-7Debian packages (deb) · Ubuntu 20.04No fixed version is listed.
gcc-8Debian packages (deb) · Ubuntu 20.04No fixed version is listed.
gcc-arm-none-eabiDebian packages (deb) · Ubuntu 20.04No fixed version is listed.
gcc-arm-none-eabiDebian packages (deb) · Ubuntu 22.04No fixed version is listed.
gcc-snapshotDebian packages (deb) · Ubuntu 22.04No fixed version is listed.
gcc-arm-none-eabiDebian packages (deb) · Ubuntu 24.04No fixed version is listed.
gcc-snapshotDebian packages (deb) · Ubuntu 24.04No fixed version is listed.
gcc-arm-none-eabiDebian packages (deb) · Ubuntu 25.10No fixed version is listed.
gcc-snapshotDebian packages (deb) · Ubuntu 25.10No fixed version is listed.
gcc-arm-none-eabiDebian packages (deb) · Ubuntu 26.10No fixed version is listed.
gcc-snapshotDebian packages (deb) · Ubuntu 26.10No fixed version is listed.
gcc-arm-none-eabiDebian packages (deb) · Ubuntu 26.04No fixed version is listed.
gcc-snapshotDebian packages (deb) · Ubuntu 26.04No 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

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences