CVE-2023-4039
MEDIUMDescription
**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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 47% of all known CVEs.
References
Related Vulnerabilities
Other CWE-693 (Protection Mechanism Failure) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2013-2465 | Critical | 9.8 | 99% | KEV + Ransom | - |
| CVE-2024-21412 | High | 8.1 | 95% | KEV + Ransom | Fix |
| CVE-2013-0431 | Medium | 5.3 | 90% | KEV + Ransom | - |
| CVE-2025-40536 | High | 8.1 | 82% | KEV | Fix |
| CVE-2019-1003030 | Critical | 9.9 | 76% | KEV | - |
| CVE-2025-0411 | High | 7.0 | 67% | KEV | Fix |
Embed a live status badge for CVE-2023-4039
Markdown
[](https://tridentstack.com/cve/CVE-2023-4039)HTML
<a href="https://tridentstack.com/cve/CVE-2023-4039"><img src="https://tridentstack.com/cve/badge/CVE-2023-4039.svg" alt="CVE-2023-4039"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-23.