CVE-2018-12886

Source
https://cve.org/CVERecord?id=CVE-2018-12886
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12886.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-12886
Downstream
CGA (2)
UBUNTU (1)
Related
Published
2019-05-22T19:29:00Z
Modified
2026-07-08T05:50:53Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "4.1"
                },
                {
                    "last_affected":  "8.0"
                }
            ],
            "source":  "CPE_RANGE",
            "vendor_product":  "gnu:gcc"
        }
    ]
}
References

Affected packages

Git / github.com/gcc-mirror/gcc

Affected ranges

Type
GIT
Repo
https://github.com/gcc-mirror/gcc
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "4.1"
        },
        {
            "fixed":  "8"
        }
    ],
    "source":  "DESCRIPTION"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12886.json"