PT-2023-5294 · Gcc+5 · Gcc+5

Azeria-Labs

+2

·

Published

2023-09-12

·

Updated

2026-01-27

·

CVE-2023-4039

CVSS v3.1

4.8

Medium

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions GCC versions prior to the fixed version
Description 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 an 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 the 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.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Protection Mechanism Failure

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-28769
AZL-34695
BDU:2023-05920
CVE-2023-4039
ECHO-4F67-4ADD-CFDB
GHSA-X7CH-H5RF-W2MF
OESA-2023-1735
OESA-2025-1042
OPENSUSE-SU-2023_3661-1
OPENSUSE-SU-2023_4162-1
OPENSUSE-SU-2023_4458-1
OPENSUSE-SU-2024:13233-1
OPENSUSE-SU-2024:13234-1
OPENSUSE-SU-2024:13235-1
ROSA-SA-2024-2406
SUSE-SU-2023:3640-1
SUSE-SU-2023:3661-1
SUSE-SU-2023:3662-1
SUSE-SU-2023:3686-1
SUSE-SU-2023:4162-1
SUSE-SU-2023:4458-1
SUSE-SU-2023:4480-1
SUSE-SU-2023_3640-1
SUSE-SU-2023_3661-1
SUSE-SU-2023_3686-1
SUSE-SU-2023_4162-1
SUSE-SU-2023_4287-1
SUSE-SU-2023_4287-2
SUSE-SU-2023_4458-1
SUSE-SU-2023_4480-1
SUSE-SU-2024:0045-1
USN-7700-1

Affected Products

Debian
Gcc
Linuxmint
Red Os
Suse
Ubuntu