Read the docs
TI-2018-09258 Aliases CVE-2018-12886GHSA-5mwp-7q9c-cgg2

stack_protect_prologue in cfgexpand.c and stack_protect_epilogue in function.c in GNU…

Priority MEDIUM 40CWE-209Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Information disclosure
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.0 · NVD. Fix status from CNA. Impact type from CWE-209.

Summary

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.

Why it matters now

EPSS 0.02738 86th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:*:*4.1 – 8.0VulnerableGNU
  • cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:*:* Versions 4.1 – 8.0 Vulnerable ·GNU

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

Not affected: 5 products
  • Red Hat Enterprise Linux 4
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-12886
  2. 2026-10-03 Alias added: GHSA-5mwp-7q9c-cgg2
  3. 2026-10-14 Priority changed: LOW → MEDIUM

References

  • TI-2023-03747 GCC's-fstack-protector fails to guard dynamically-sized local variables on AArch64 CVSS 3.1MEDIUM 4.8
  • TI-2019-11913 The POWER9 backend in GNU Compiler Collection (GCC) before version 10 could optimize… CVSS 3.1HIGH 7.5
  • TI-2008-01316 gcc 4.3.x does not generate a cld instruction while compiling functions used for string… CVSS 2.0HIGH 7.5
  • TI-2021-15306 GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-dem.c. CVSS 3.1HIGH 7.8
  • TI-2000-01207 The -ftrapv compiler option in gcc and g++ 3.3.3 and earlier does not handle all types of… CVSS 2.0HIGH 7.5
  • TI-2002-02351 Integer overflow in the new[] operator in gcc before 4.8.0 allows attackers to have unspecified impacts. CVSS 3.1HIGH 7.8
See all 13 →

Sources