{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-4039","published":"2023-09-13T09:15:15.690000Z","last_modified":"2026-10-14T22:17:17Z","status":"Modified","cvss":{"version":"3.1","score":4.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-693"],"cpes":[{"criteria":"cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:arm64:*","part":"a","vendor":"gnu","product":"gcc","version_end_excluding":"2023-09-12"}],"cpes_truncated":false,"vendors":["gnu"],"products":["gnu/gcc"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.0091,"percentile":0.58122,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":44,"links":{"html_es":"/es/cve/CVE-2023-4039/","html_en":"/en/cve/CVE-2023-4039/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-4039","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-4039"},"untrusted":{"vendor_name":"Gnu","product_name":"Gcc","desc_en":"**DISPUTED**A failure in the -fstack-protector feature in GCC-based toolchains \nthat target AArch64 allows an attacker to exploit an existing buffer \noverflow in dynamically-sized local variables in your application \nwithout this being detected. This stack-protector failure only applies \nto C99-style dynamically-sized local variables or those created using \nalloca(). The stack-protector operates as intended for statically-sized \nlocal variables.\n\nThe default behavior when the stack-protector \ndetects an overflow is to terminate your application, resulting in \ncontrolled loss of availability. An attacker who can exploit a buffer \noverflow without triggering the stack-protector might be able to change \nprogram flow control to cause an uncontrolled loss of availability or to\n 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":[{"untrusted_vendor":"Arm Ltd","untrusted_product":"Arm GNU Toolchain","versions":[]},{"untrusted_vendor":"GNU","untrusted_product":"GCC","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"RUGGEDCOM RST2428P","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SCALANCE XCM-/XRM-/XCH-/XRH-300 family","versions":[]}],"references":[{"url":"https://developer.arm.com/Arm%20Security%20Center/GCC%20Stack%20Protector%20Vulnerability%20AArch64","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://github.com/metaredteam/external-disclosures/security/advisories/GHSA-x7ch-h5rf-w2mf","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-355557.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]}]}}