CVE-2026-129182

Published Nov 19, 2026

Last updated 6 hours ago

CVSS critical 9.2
PHP
Apache
PHP-FPM

Overview

AI description

Automated description summarized from trusted sources.

CVE-2026-129182 is a use-after-free vulnerability in PHP that stems from an incomplete fix for a previous flaw, CVE-2026-109619. The issue affects PHP 8.5 releases prior to version 8.5.13, where a global variable tracking fatal error backtraces can be repopulated during the shutdown process after the executor has already been cleaned up. This repopulation can occur when PHP restores modified INI settings—such as conflicting memory limits or compression configurations—which triggers a fatal diagnostic that recreates the backtrace. Once the request heap is released, a subsequent request handled by the same worker can access this stale backtrace before normal executor initialization, leading to memory corruption and potential remote code execution. The vulnerability primarily impacts environments using PHP-FPM or mod_php under specific configurations. To exploit the flaw, an attacker must trigger a diagnostic before executor initialization in a subsequent request handled by the same worker. The PHP Foundation addressed this issue in PHP 8.5.13 and 8.6.0 by ensuring that PHP no longer creates or consumes the fatal-error backtrace while the executor is inactive. As a temporary mitigation, administrators can disable fatal error backtraces by setting `fatal_error_backtraces=0` in their configuration.

Description
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.
Source
security@php.net
NVD status
Awaiting Analysis

Risk scores

CVSS 4.0

Type
Secondary
Base score
9.2
Impact score
-
Exploitability score
-
Vector string
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Severity
CRITICAL

Weaknesses

security@php.net
CWE-416

Social media

Hype score is a measure of social media activity compared against trending CVEs from the past 12 months. Max score 100.

Hype score

28

  1. MantisHub servers have been patched against the recently disclosed PHP security vulnerabilities, including seven critical vulnerabilities (CVE-2026-115560, CVE-2026-126714, CVE-2026-129182, CVE-2026-129289, CVE-2026-129474, CVE-2026-129481, and CVE-2026-129496).

    @mantishub

    20 Nov 2026

    108 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  2. ひとまず、整理しよう、PHPの脆弱性は何点あるがCriticalは7つ CVE番号:バージョン CVE-2026-129474:8.5 CVE-2026-129182:8.5 CVE-2026-129496:8.2〜8.5 CVE-2026-129289:8.2〜8.5 CVE-2026-126714:8.2〜8.5 CVE-2026-115560:8.2〜8.5 CVE-2026-1294

    @uemuragame5683

    19 Nov 2026

    1247 Impressions

    0 Retweets

    2 Likes

    3 Bookmarks

    1 Reply

    0 Quotes

  3. RCEするのは CVE-2026-129474 CVE-2026-129496 CVE-2026-129289 CVE-2026-129182 4つでおけ?

    @okumuri

    19 Nov 2026

    73 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  4. CVE-2026-129182, CVE-2026-129474, CVE-2026-129496, CVE-2026-129289, CVE-2026-115560, CVE-2026-126714, CVE-2026-129481がCritical?

    @seiyakubo

    19 Nov 2026

    114 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  5. PHP 8.5.13'te güvenlik açıkları giderildi PHP 8.5.13, 19 Kasım 2026'da yayımlanan sürümde çekirdek, PHP-CGI, PHP-FPM ve çeşitli eklentilerdeki güvenlik açıklarıyla hata ve bellek yönetimi sorunlarını gideriyor. NE DEĞİŞTİ? • Çekirdekteki CVE-2026-129474

    @bildirgectr

    19 Nov 2026

    303 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  6. PHP again! Vulns 7 critical CVEs: CVE-2026-126714, CVE-2026-115560, CVE-2026-129289, CVE-2026-129496, CVE-2026-129481, CVE-2026-129474, CVE-2026-129182 more: https://t.co/4k6qj8xuBE Security updates: PHP 8.2.36, 8.3.37, 8.4.28, 8.5.13. PHP 8.6 is also arriving!

    @danielkalinka

    19 Nov 2026

    40 Impressions

    0 Retweets

    1 Like

    0 Bookmarks

    0 Replies

    0 Quotes

  7. PHP 8.5.13 released - 164 fixes in 42 components, including security fixes (CVE-2026-129474, CVE-2026-129182, CVE-2026-129538). Changelog + downloads: https://t.co/aEpzewexe0

    @php_net

    19 Nov 2026

    15358 Impressions

    73 Retweets

    207 Likes

    30 Bookmarks

    6 Replies

    6 Quotes

  8. PHP脆弱性まとめ(メモ) Critical, High CVE-2026-129289 CVE-2026-126714 CVE-2026-115560 CVE-2026-129496 CVE-2026-129474 CVE-2026-129182 CVE-2026-129291 https://t.co/XW9aoqGjoN

    @tabimoba

    19 Nov 2026

    9895 Impressions

    5 Retweets

    26 Likes

    25 Bookmarks

    3 Replies

    0 Quotes

  9. PHPの更新来た。セッションか!! PHP 8.5.13(2026-11-19)のヤバい修正まとめ(主にセキュリティ) RCE(リモートコード実行)や権限昇格につながるものが特に危険です。 特にヤバい(RCE系) CVE-2026-129474: マ

    @game_idaa

    19 Nov 2026

    4497 Impressions

    5 Retweets

    12 Likes

    4 Bookmarks

    1 Reply

    0 Quotes

References

Sources include official advisories and independent security research.