{"id":"CVE-2018-12886","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.","modified":"2026-10-24T10:30:15.923993512Z","published":"2019-05-22T19:29:00.297Z","database_specific":{"unresolved_ranges":[{"vendor_product":"gnu:gcc","cpes":["cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:*:*"],"extracted_events":[{"range":[{"introduced":"4.1"},{"last_affected":"8.0"}],"source":"CPE_RANGE"}]}]},"references":[{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-565386.html"},{"type":"ADVISORY","url":"https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/config/arm/arm-protos.h?revision=266379&view=markup"},{"type":"EVIDENCE","url":"https://www.gnu.org/software/gcc/gcc-8/changes.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gcc-mirror/gcc","events":[{"introduced":"dcaac250fcc1a1ce514d97613e4547aded83033c"},{"last_affected":"341e59fef8d4b9c86f1c95abfe3ed60482293f23"}],"database_specific":{"extracted_events":[{"source":"DESCRIPTION","range":[{"introduced":"4.1"},{"last_affected":"8"}]}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12886.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}