1. Accueil
  2. Vulnérabilités
  3. CVE-2023-4039

CVE-2023-4039

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

Publiée le 13 sept. 2023 · modifiée le 14 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 43/100

Résumé

**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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Arm (1 ligne(s))
Arm
ProduitVersionsCorrigé dansSource
Gnu toolchain Versions non précisées — CNA (éditeur ou attributeur)
Gnu (2 ligne(s))
Gnu
ProduitVersionsCorrigé dansSource
Gcc Versions non précisées — CNA (éditeur ou attributeur)
Gcc avant 2023-09-12 (exclu) — NVD

Correctif

Correctifsource officielle

Recompile vulnerable code using an updated toolchain.

Source : CNA (éditeur ou attributeur)

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Exploit signalé par les sources

Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1486)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N (CVSS 3.1, NVD)
Faiblesse
NVD-CWE-Other · Non classé

Comment sont obtenues et calculées ces données