synced 8 MIN AGO
01 Record

CVE-2023-4039

GCC's-fstack-protector fails to guard dynamically-sized local variables on AArch64

MediumPUBLISHEDCNA: Arm
CNA base score4.8 CVSS v3.xCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

02 Description

GCC's-fstack-protector fails to guard dynamically-sized local variables on AArch64

03 Exploitation and scoring

Exploitation
Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
SSVC decision
  • ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
1.03% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 63.7% of scored records. A rank, not a probability.
NVD base score
4.8 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
NVD analysis status
Modified. NVD last modified this record on 2026-10-14.
Red Hat severity
No Red Hat rating. Red Hat rates the CVEs that affect its products.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2023-09-13 08:05Z3 YR AGO
Last updated
2026-10-14 21:23Z14 DAYS AGO
Reserved
2023-08-01
Assigning CNA
Arm
Record state
PUBLISHED
Severity
Medium (CVSS 4.8)
CNA CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Weaknesses
  • CWE-693Protection Mechanism FailurePillar
Data version
5.2
Document digest
dad72ed43dfceb702f663b0c843583eac6cd1275692e6a92255febf1dc209872

05 Affected products

VendorProductVersionsPlatforms
Arm LtdArm GNU ToolchainAll versions where option -fstack-protector is used—
GNUGCCAll versions of GCC that target AArch64 when option -fstack-protector is used—

06 References

07 Remediation

Recompile vulnerable code using an updated toolchain.

08 Fixed in

Debian 12

  • gcc-11
    No fix yet
  • gcc-12
    Fixed in 12.2.0-14+deb12u1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • gcc-12
    Fixed in 12.3.0-9
  • gcc-13
    Fixed in 13.2.0-4

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • gcc-12
    Fixed in 12.3.0-9
  • gcc-13
    Fixed in 13.2.0-4

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 14.04 LTS

  • gcc-4.7
    No fix yet
  • gcc-4.8
    No fix yet
  • gcc-mingw-w64
    No fix yet
  • gccgo-4.9
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 16.04 LTS

  • gcc-4.7
    No fix yet
  • gcc-4.7-armel-cross
    No fix yet
  • gcc-4.7-armhf-cross
    No fix yet
  • gcc-4.8
    No fix yet
  • gcc-4.8-arm64-cross
    No fix yet
  • gcc-4.8-armhf-cross
    No fix yet
  • gcc-4.8-powerpc-cross
    No fix yet
  • gcc-4.8-ppc64el-cross
    No fix yet
  • gcc-4.9
    No fix yet
  • gcc-4.9-cross
    No fix yet
  • gcc-5-cross
    No fix yet
  • gcc-5-cross-ports
    No fix yet
  • gcc-arm-linux-androideabi
    No fix yet
  • gcc-arm-none-eabi
    No fix yet
  • gcc-avr
    No fix yet
  • gcc-h8300-hms
    No fix yet
  • gcc-i686-linux-android
    No fix yet
  • gcc-m68hc1x
    No fix yet
  • gcc-mingw-w64
    No fix yet
  • gcc-msp430
    No fix yet
  • gcc-opt
    No fix yet
  • gcc-snapshot
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • gcc-4.8
    No fix yet
  • gcc-5
    No fix yet
  • gcc-5-cross
    No fix yet
  • gcc-5-cross-ports
    No fix yet
  • gcc-6
    No fix yet
  • gcc-6-cross
    No fix yet
  • gcc-6-cross-ports
    No fix yet
  • gcc-7
    No fix yet
  • gcc-7-cross
    No fix yet
  • gcc-7-cross-ports
    No fix yet
  • gcc-8
    No fix yet
  • gcc-8-cross
    No fix yet
  • gcc-8-cross-ports
    No fix yet
  • gcc-opt
    No fix yet
  • gcc-snapshot
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • gcc-10-cross
    No fix yet
  • gcc-10-cross-ports
    No fix yet
  • gcc-7
    No fix yet
  • gcc-8
    No fix yet
  • gcc-8-cross
    No fix yet
  • gcc-8-cross-ports
    No fix yet
  • gcc-9-cross-ports
    No fix yet
  • gcc-opt
    No fix yet
  • gcc-snapshot
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • gcc-10
    Fixed in 10.5.0-1ubuntu1~22.04.2
  • gcc-10-cross
    No fix yet
  • gcc-10-cross-ports
    No fix yet
  • gcc-11
    Fixed in 11.4.0-1ubuntu1~22.04.2
  • gcc-11-cross
    No fix yet
  • gcc-11-cross-ports
    No fix yet
  • gcc-12
    Fixed in 12.3.0-1ubuntu1~22.04.2
  • gcc-12-cross
    No fix yet
  • gcc-12-cross-ports
    No fix yet
  • gcc-9
    No fix yet
  • gcc-9-cross
    No fix yet
  • gcc-9-cross-ports
    No fix yet
  • gcc-opt
    No fix yet
  • gcc-snapshot
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 24.04 LTS

  • gcc-10
    Fixed in 10.5.0-4ubuntu2
  • gcc-10-cross
    Fixed in 23ubuntu2
  • gcc-10-cross-ports
    No fix yet
  • gcc-11
    Fixed in 11.4.0-4ubuntu1
  • gcc-11-cross
    Fixed in 21ubuntu2
  • gcc-11-cross-ports
    No fix yet
  • gcc-12-cross
    Fixed in 19ubuntu2
  • gcc-12-cross-ports
    No fix yet
  • gcc-9
    Fixed in 9.5.0-6ubuntu2
  • gcc-9-cross
    Fixed in 29ubuntu2
  • gcc-9-cross-ports
    No fix yet
  • gcc-opt
    No fix yet
  • gcc-snapshot
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 25.10

  • gcc-11-cross-ports
    No fix yet
  • gcc-12-cross-ports
    No fix yet
  • gcc-opt
    No fix yet
  • gcc-snapshot
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 26.04 LTS

  • gcc-11-cross-ports
    No fix yet
  • gcc-12-cross-ports
    No fix yet
  • gcc-opt
    No fix yet
  • gcc-snapshot
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 26.10

  • gcc-11-cross-ports
    No fix yet
  • gcc-12-cross-ports
    No fix yet
  • gcc-opt
    No fix yet
  • gcc-snapshot
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • gcc-5
    No fix yet
  • gccgo-6
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 20.04 LTS

  • gcc-10
    Fixed in 10.5.0-1ubuntu1~20.04.1+esm1
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
  • gcc-9
    No fix yet
  • gcc-9-cross
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.