**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.
NVD Severity
Other trackers
Mailing lists
GitHub (code, issues), Aports (code, issues)


Type URI

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:arm64:* gcc >= None < 2023-09-12

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
gcc 3.18-main 12.2.1_git20220924-r10 Ariadne Conill <> possibly vulnerable
gcc 3.17-main 12.2.1_git20220924-r4 Ariadne Conill <> possibly vulnerable
gcc 3.16-main 11.2.1_git20220219-r2 Ariadne Conill <> possibly vulnerable
gcc 3.15-main 10.3.1_git20211027-r0 Ariadne Conill <> possibly vulnerable
gcc 3.19-main 13.2.1_git20231014-r0 Ariadne Conill <> fixed
gcc edge-main 13.2.1_git20231014-r1 Ariadne Conill <> fixed