1. Accueil
  2. Vulnérabilités
  3. CVE-2026-129182

CVE-2026-129182

Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown

Publiée le 19 nov. 2026 · modifiée le 24 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 64/100

Résumé

Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown. A fatal error raised while modified INI settings are restored during request shutdown can repopulate the stored fatal error backtrace after the executor has been cleaned up. The request memory is then freed, and a diagnostic emitted before executor initialization in a later request handled by the same PHP-FPM or mod_php worker can access the stale backtrace. The shutdown error requires per-path configuration of max_memory_limit, or of zlib.output_compression together with output_handler (which .user.ini can also set). The early diagnostic requires Apache per-directory configuration or, for PHP-FPM, a PHP_VALUE or PHP_ADMIN_VALUE parameter sent by the front end. This can cause memory corruption and worker crashes, and may allow remote code execution. This issue affects PHP versions 8.5.* before 8.5.13.

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

Produits et versions affectés

PHP Group (1 ligne(s))
PHP Group
ProduitVersionsCorrigé dansSource
PHP de 8.5.0 (inclus) à 8.5.13 (exclu) — CNA (éditeur ou attributeur)

Correctif

Mise à jour — 8.5.13source officielle

Source : CERT-FR · Ouvrir

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

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

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N (CVSS 4.0, CNA:php)
Faiblesse
CWE-416 · Corruption mémoire

Comment sont obtenues et calculées ces données