Description
**DISPUTED**A failure in the -fstack-protector feature in GCC-based toolchains
that target AArch64 allows an attacker to exploit an existing buffer
overflow in dynamically-sized local variables in your application
without this being detected. This stack-protector failure only applies
to C99-style dynamically-sized local variables or those created using
alloca(). The stack-protector operates as intended for statically-sized
local variables.
The default behavior when the stack-protector
detects an overflow is to terminate your application, resulting in
controlled loss of availability. An attacker who can exploit a buffer
overflow without triggering the stack-protector might be able to change
program flow control to cause an uncontrolled loss of availability or to
go further and affect confidentiality or integrity. NOTE: The GCC project argues that this is a missed hardening bug and not a vulnerability by itself.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Arm | Arm GNU Toolchain | All versions where option -fstack-protector is used | — |
| GNU | GCC | All versions of GCC that target AArch64 when option -fstack-protector is used | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gcc-12 | 12.3.0-9 | — |
| Debian 14 | gcc-13 | 13.2.0-4 | — |
| Debian 13 | gcc-12 | 12.3.0-9 | — |
| Debian 13 | gcc-13 | 13.2.0-4 | — |
| Debian 12 | gcc-11 | No fix yet | — |
| Debian 12 | gcc-12 | 12.2.0-14+deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | gcc-opt +3 | No fix yet | — |
| Ubuntu 26.04 LTS | gcc-opt +3 | No fix yet | — |
| Ubuntu 25.10 | gcc-opt +3 | No fix yet | — |
| Ubuntu 24.04 LTS | gcc-10 | 10.5.0-4ubuntu2 | — |
| Ubuntu 24.04 LTS | gcc-10-cross | 23ubuntu2 | — |
| Ubuntu 24.04 LTS | gcc-11 | 11.4.0-4ubuntu1 | — |
| Ubuntu 24.04 LTS | gcc-11-cross | 21ubuntu2 | — |
| Ubuntu 24.04 LTS | gcc-12-cross | 19ubuntu2 | — |
| Ubuntu 24.04 LTS | gcc-9 | 9.5.0-6ubuntu2 | — |
| Ubuntu 24.04 LTS | gcc-9-cross | 29ubuntu2 | — |
| Ubuntu 24.04 LTS | gcc-opt +5 | No fix yet | — |
| Ubuntu 22.04 LTS | gcc-10 | 10.5.0-1ubuntu1~22.04.2 | USN-7700-1 |
| Ubuntu 22.04 LTS | gcc-11 | 11.4.0-1ubuntu1~22.04.2 | USN-7700-1 |
| Ubuntu 22.04 LTS | gcc-12 | 12.3.0-1ubuntu1~22.04.2 | USN-7700-1 |
| Ubuntu 22.04 LTS | gcc-9 +10 | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | gcc-7 +8 | No fix yet | — |
| Ubuntu 18.04 LTS | gcc-5 +14 | No fix yet | — |
| Ubuntu 16.04 LTS | gcc-4.7 +21 | No fix yet | — |
| Ubuntu 14.04 LTS | gcc-4.7 +3 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | gcc-10 | 10.5.0-1ubuntu1~20.04.1+esm1 | USN-7700-1 |
| Ubuntu Pro 20.04 LTS | gcc-9 +1 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | gcc-5 +1 | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | cross-nvptx-gcc13 | 13.2.1+git7813-150000.1.3.2 | SUSE-SU-2023:4458-1, SUSE-SU-2023:4162-1 |
| SLES 15 SP5 | gcc12 +1 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SLES 15 SP5 | gcc13 | 13.2.1+git7813-150000.1.3.3 | SUSE-SU-2023:4458-1, SUSE-SU-2023:4162-1 |
| SLES 15 SP4 | cross-nvptx-gcc13 | 13.2.1+git7813-150000.1.3.2 | SUSE-SU-2023:4458-1, SUSE-SU-2023:4162-1 |
| SLES 15 SP4 | gcc12 +2 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SLES 15 SP4 | gcc13 | 13.2.1+git7813-150000.1.3.3 | SUSE-SU-2023:4458-1, SUSE-SU-2023:4162-1 |
| SLES 15 SP4 | gcc7 | 7.5.0+r278197-150000.4.35.1 | SUSE-SU-2023:3686-1 |
| SLES 15 SP3 | gcc12 +1 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SLES 15 SP3 | gcc13 +1 | 13.2.1+git7813-150000.1.6.1 | SUSE-SU-2023:4458-1 |
| SLES 15 SP2 | gcc12 +1 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SLES 15 SP2 | gcc13 +1 | 13.2.1+git7813-150000.1.6.1 | SUSE-SU-2023:4458-1 |
| SLES 15 SP1 | gcc12 +1 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SLES 15 SP1 | gcc13 +1 | 13.2.1+git7813-150000.1.6.1 | SUSE-SU-2023:4458-1 |
Show 23 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | gcc12 | 12.3.0+git1204-1.13.1 | SUSE-SU-2023:3640-1 |
| SLES 12 SP5 | gcc13 | 13.2.1+git7813-1.10.1 | SUSE-SU-2023:4480-1 |
| SLES 12 SP5 | gcc7 | 7.5.0+r278197-13.1 | SUSE-SU-2023:3662-1 |
| SLES 12 | gcc12 +1 | 12.3.0+git1204-1.13.1 | SUSE-SU-2023:3640-1 |
| SLES 12 | gcc13 +1 | 13.2.1+git7813-1.10.1 | SUSE-SU-2023:4480-1 |
| SLES 12 | gcc7 +1 | 7.5.0+r278197-13.1 | SUSE-SU-2023:3662-1 |
| SLES for SAP 15 SP3 | gcc12 +1 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SLES for SAP 15 SP3 | gcc13 +1 | 13.2.1+git7813-150000.1.6.1 | SUSE-SU-2023:4458-1 |
| SLES for SAP 15 SP2 | gcc12 +1 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SLES for SAP 15 SP2 | gcc13 +1 | 13.2.1+git7813-150000.1.6.1 | SUSE-SU-2023:4458-1 |
| SLES for SAP 15 SP1 | gcc12 +1 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SLES for SAP 15 SP1 | gcc13 +1 | 13.2.1+git7813-150000.1.6.1 | SUSE-SU-2023:4458-1 |
| SLES for SAP 15 SP1 | gcc7 +1 | 7.5.0+r278197-150000.4.35.1 | SUSE-SU-2023:3686-1 |
| SLES for SAP 12 SP5 | gcc12 | 12.3.0+git1204-1.13.1 | SUSE-SU-2023:3640-1 |
| SLES for SAP 12 SP5 | gcc13 | 13.2.1+git7813-1.10.1 | SUSE-SU-2023:4480-1 |
| SLES for SAP 12 SP5 | gcc7 | 7.5.0+r278197-13.1 | SUSE-SU-2023:3662-1 |
| SLE Micro 5.5 | gcc13 | 13.2.1+git7813-150000.1.3.3 | SUSE-SU-2024:0045-1, SUSE-SU-2023:4162-1 |
| SLE Micro 5.4 | gcc12 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SLE Micro 5.4 | gcc13 | 13.2.1+git7813-150000.1.3.3 | SUSE-SU-2024:0045-1, SUSE-SU-2023:4162-1 |
| SLE Micro 5.3 | gcc12 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SLE Micro 5.3 | gcc13 | 13.2.1+git7813-150000.1.3.3 | SUSE-SU-2024:0045-1, SUSE-SU-2023:4162-1 |
| SLE Micro 5.2 | gcc12 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SLE Micro 5.2 | gcc13 | 13.2.1+git7813-150000.1.3.3 | SUSE-SU-2023:4458-1, SUSE-SU-2023:4162-1 |
| SLE Micro 5.1 | gcc12 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SLE Micro 5.1 | gcc13 | 13.2.1+git7813-150000.1.3.3 | SUSE-SU-2023:4458-1, SUSE-SU-2023:4162-1 |
| SLE HPC 15 SP3 | gcc12 +1 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SLE HPC 15 SP3 | gcc13 +1 | 13.2.1+git7813-150000.1.6.1 | SUSE-SU-2023:4458-1 |
| SLE HPC 15 SP2 | gcc12 +1 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SLE HPC 15 SP2 | gcc13 +1 | 13.2.1+git7813-150000.1.6.1 | SUSE-SU-2023:4458-1 |
| SLE HPC 15 SP1 | gcc12 +2 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SLE HPC 15 SP1 | gcc13 +1 | 13.2.1+git7813-150000.1.6.1 | SUSE-SU-2023:4458-1 |
| SUSE Manager Server 4.2 | gcc12 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SUSE Manager Server 4.2 | gcc13 | 13.2.1+git7813-150000.1.3.3 | SUSE-SU-2023:4162-1 |
| SUSE Manager Proxy 4.2 | gcc12 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SUSE Manager Proxy 4.2 | gcc13 | 13.2.1+git7813-150000.1.3.3 | SUSE-SU-2023:4162-1 |
| SUSE Linux Enterprise Installer Updates 15 SP5 | gcc13 | 13.2.1+git7813-150000.1.3.3 | SUSE-SU-2023:4458-1, SUSE-SU-2023:4162-1 |
| SUSE Linux Enterprise Installer Updates 15 SP4 | gcc12 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SUSE Linux Enterprise Installer Updates 15 SP4 | gcc13 | 13.2.1+git7813-150000.1.3.3 | SUSE-SU-2023:4458-1, SUSE-SU-2023:4162-1 |
| SUSE Linux Enterprise Installer Updates 15 SP3 | gcc12 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SUSE Linux Enterprise Installer Updates 15 SP3 | gcc13 | 13.2.1+git7813-150000.1.3.3 | SUSE-SU-2023:4458-1, SUSE-SU-2023:4162-1 |
| SUSE Linux Enterprise Installer Updates 15 SP2 | gcc12 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SUSE Linux Enterprise Installer Updates 15 SP2 | gcc13 | 13.2.1+git7813-150000.1.3.3 | SUSE-SU-2023:4458-1, SUSE-SU-2023:4162-1 |
| SUSE Linux Enterprise Installer Updates 15 SP1 | gcc12 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| SUSE Linux Enterprise Installer Updates 15 SP1 | gcc13 | 13.2.1+git7813-150000.1.6.1 | SUSE-SU-2023:4458-1 |
| SUSE Enterprise Storage 7.1 | gcc13 +1 | 13.2.1+git7813-150000.1.6.1 | SUSE-SU-2023:4458-1 |
| SUSE Enterprise Storage 7 | gcc12 +1 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | gcc12 | 12.3.0+git1204-2.1 | openSUSE-SU-2024:13233-1 |
| openSUSE Tumbleweed | gcc13 | 13.2.1+git7813-1.1 | openSUSE-SU-2024:13234-1 |
| openSUSE Tumbleweed | gcc7 | 7.5.0+r278197-15.1 | openSUSE-SU-2024:13235-1 |
| openSUSE Leap 15.5 | cross-nvptx-gcc13 | 13.2.1+git7813-150000.1.3.2 | SUSE-SU-2023:4458-1, SUSE-SU-2023:4162-1 |
| openSUSE Leap 15.5 | gcc13 | 13.2.1+git7813-150000.1.3.3 | SUSE-SU-2023:4458-1, SUSE-SU-2023:4162-1 |
| openSUSE Leap 15.4 | cross-nvptx-gcc13 | 13.2.1+git7813-150000.1.3.2 | SUSE-SU-2023:4458-1, SUSE-SU-2023:4162-1 |
| openSUSE Leap 15.4 | gcc12 +2 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| openSUSE Leap 15.4 | gcc13 | 13.2.1+git7813-150000.1.3.3 | SUSE-SU-2023:4458-1, SUSE-SU-2023:4162-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.4 | gcc12 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| openSUSE Leap Micro 5.4 | gcc13 | 13.2.1+git7813-150000.1.3.3 | SUSE-SU-2023:4458-1, SUSE-SU-2023:4162-1 |
| openSUSE Leap Micro 5.3 | gcc12 | 12.3.0+git1204-150000.1.16.1 | SUSE-SU-2023:3661-1 |
| openSUSE Leap Micro 5.3 | gcc13 | 13.2.1+git7813-150000.1.3.3 | SUSE-SU-2023:4458-1, SUSE-SU-2023:4162-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | gcc | 13.2.1_git20231014-r0 | — |
| Alpine v3.23 | gcc | 13.2.1_git20231014-r0 | — |
| Alpine v3.22 | gcc | 13.2.1_git20231014-r0 | — |
| Alpine v3.21 | gcc | 13.2.1_git20231014-r0 | — |
| Alpine v3.20 | gcc | 13.2.1_git20231014-r0 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | gcc | 13.2.1_git20231014-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | cpp +33 | 11.4.1-2.amzn2023.0.2 | ALAS2023-2023-342 |
| Amazon Linux 2 | cpp +25 | 7.3.1-17.amzn2 | ALAS2-2023-2245 |
| Amazon Linux 2 | cpp10 +13 | 10.5.0-1.amzn2.0.2 | ALAS2-2023-2244 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | gcc | 13.2.0-7 | — |
| Azure Linux 2 (CBL-Mariner) | gcc | 11.2.0-6 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | cpp +25 | 11.3.1-4.3.0.4.el9 | ELSA-2023-12788 |
| Oracle Linux 8 | cross-gcc-common +8 | 11.2.1-5.0.2.el8 | ELSA-2023-28766, ELSA-2023-28765 |
| Oracle Linux 8 | gcc-arc-linux-gnu +49 | 12.1.1-2.0.4.el9 | ELSA-2023-28765 |
| Oracle Linux 8 | gcc-gdb-plugin +1 | 8.5.0-18.0.5.el8 | ELSA-2023-12788 |
| Oracle Linux 8 | libasan6 +17 | 11.2.1-9.1.0.6.el8 | ELSA-2023-12788 |
| Oracle Linux 8 | libasan8 +19 | 12.2.1-7.4.0.2.el9 | ELSA-2023-12788 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | gcc +12 | 13.2.0-r3 | — |
| Wolfi rolling | gcc-12 | 12.3.0-r4 | — |
| Wolfi rolling | gcc-6 | 6.5.0-r5 | — |
Advisories 24
- WID-SEC-2023-2351 gcc: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Nov 2, 2026
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- USN-7700-1 gcc-10, gcc-11, gcc-12 vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- ICSA-25-226-07 Siemens Third-Party Components in SINEC OS CISA ICS & IT advisories · Feb 25, 2026
- SSA-355557 SSA-355557: Multiple Vulnerabilities in Third-Party Components in SINEC OS before V3.2 Siemens ProductCERT · Feb 24, 2026
- SUSE-SU-2023:4480-1 Security update for gcc13 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:0045-1 Security update for gcc13 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:3661-1 Security update for gcc12 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13235-1 cpp7-7.5.0+r278197-15.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13233-1 cpp12-12.3.0+git1204-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:3640-1 Security update for gcc12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:3686-1 Security update for gcc7 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:3662-1 Security update for gcc7 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13234-1 cpp13-13.2.1+git7813-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4458-1 Security update for gcc13 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4162-1 Security update for gcc13 SUSE / openSUSE Security Updates · Feb 4, 2026
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- WID-SEC-2023-2679 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 17, 2023
- ALAS2-2023-2244 Moderate: gcc10 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Sep 13, 2023
- ALAS2-2023-2245 Moderate: gcc security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Sep 13, 2023
- ALAS2023-2023-342 Moderate: gcc security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Sep 12, 2023
- ELSA-2023-28766 Low: cross-gcc security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Sep 12, 2023
- ELSA-2023-28765 Low: cross-gcc security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Sep 12, 2023
- ELSA-2023-12788 Low: gcc security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Sep 12, 2023