{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-12886","published":"2019-05-22T19:29:00.297000Z","last_modified":"2026-10-14T07:16:41.957000Z","status":"Modified","cvss":{"version":"3.0","score":8.1,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-209"],"cpes":[{"criteria":"cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:*:*","part":"a","vendor":"gnu","product":"gcc","version_start_including":"4.1","version_end_including":"8.0"}],"cpes_truncated":false,"vendors":["gnu"],"products":["gnu/gcc"],"epss":{"score":0.02738,"percentile":0.86902,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":64,"links":{"html_es":"/es/cve/CVE-2018-12886/","html_en":"/en/cve/CVE-2018-12886/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-12886","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-12886"},"untrusted":{"vendor_name":"Gnu","product_name":"Gcc","desc_en":"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.","affected":[{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","versions":[]}],"references":[{"url":"https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/config/arm/arm-protos.h?revision=266379&view=markup","tags":["Vendor Advisory"]},{"url":"https://www.gnu.org/software/gcc/gcc-8/changes.html","tags":["Exploit","Vendor Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-565386.html","tags":[]}]}}