4.8

CVE-2023-4039: arm ltd arm gnu toolchain Protection Mechanism Failure

CVSS: 4.8v3.1MediumModified
AliasesALPINE-CVE-2023-4039SUSE-SU-2023:3640-1SUSE-SU-2023:3661-1
Published 13-09-2023Last modified 14-10-2026

Vulnerability summary

CVE-2023-4039 is a medium (CVSS 4.8) Protection Mechanism Failure vulnerability in arm ltd arm gnu toolchain. EPSS estimates a 1.04% chance of exploitation in the next 30 days, higher than 63.3% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
29/100
0100
Medium · default modelHow is this calculated?
CVSS score
4.8/10
010
Medium · v3.1 (CVE.org)
EPSS score
1.04%
0%100%
Low · +0.27 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2github, reference

Advisory lineage

Upstream 0 · Downstream 1 · Related 5

Timeline

  1. 13-09-2023
    PublishedVulnerability first disclosed.
  2. 14-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

1.04%

Chance of exploitation in the next 30 days

Percentile

63%

Versus all other CVEs

30-day change

+0.27 pp

From 0.76% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.04%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • githubUnverified

    External Disclosures

    Maturity: poc

  • referenceUnverified

    Exploit Reference (developer.arm.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Suse96 products
  • cross-nvptx-gcc12&distro=SUSE Enterprise Storage 7< 12.3.0+git1204-150000.1.16.1
  • cross-nvptx-gcc12&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 12.3.0+git1204-150000.1.16.1
  • cross-nvptx-gcc12&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS< 12.3.0+git1204-150000.1.16.1
  • cross-nvptx-gcc12&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS< 12.3.0+git1204-150000.1.16.1
  • cross-nvptx-gcc12&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS< 12.3.0+git1204-150000.1.16.1
Ubuntu46 products
  • gcc-10< 10.5.0-1ubuntu1~20.04.1+esm1 | < 10.5.0-1ubuntu1~22.04.2 | < 10.5.0-4ubuntu2
  • gcc-10-crossAll versions (No fix recorded) | < 23ubuntu2
  • gcc-10-cross-portsAll versions (No fix recorded)
  • gcc-11< 11.4.0-1ubuntu1~22.04.2 | < 11.4.0-4ubuntu1
  • gcc-11-crossAll versions (No fix recorded) | < 21ubuntu2
Chainguard15 products
  • gcc< 13.2.0-r3
  • gcc-12< 12.3.0-r4
  • gcc-6< 6.5.0-r5
  • gcc-doc< 13.2.0-r3
  • gfortran< 13.2.0-r3
Wolfi15 products
  • gcc< 13.2.0-r3
  • gcc-12< 12.3.0-r4
  • gcc-6< 6.5.0-r5
  • gcc-doc< 13.2.0-r3
  • gfortran< 13.2.0-r3
Opensuse14 products
  • cross-nvptx-gcc12&distro=openSUSE Leap 15.4< 12.3.0+git1204-150000.1.16.1
  • cross-nvptx-gcc13&distro=openSUSE Leap 15.4< 13.2.1+git7813-150000.1.3.2 | < 13.2.1+git7813-150000.1.6.1
  • cross-nvptx-gcc13&distro=openSUSE Leap 15.5< 13.2.1+git7813-150000.1.3.2 | < 13.2.1+git7813-150000.1.6.1
  • gcc12-testresults&distro=openSUSE Leap 15.4< 12.3.0+git1204-150000.1.16.1
  • gcc12&distro=openSUSE Leap 15.4< 12.3.0+git1204-150000.1.16.1
Debian3 products
  • gcc-11All versions (No fix recorded)
  • gcc-12< 12.2.0-14+deb12u1 | < 12.3.0-9
  • gcc-13< 13.2.0-4
Alpine1 product
  • gcc< 13.2.1_git20231014-r0
Arm ltd1 product
Gnu1 product
  • gccAll versions of GCC that target AArch64 when option -fstack-protector is used | < 2023-09-12

9 vendors · 192 products

References

33 links
Show all 33 references