Skip to content
Critical

CVE-2026-129182PHP Use-After-Free

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

Published Nov 19, 2026 · Updated Nov 20, 2026 · Also known as EUVD-2026-130122, GHSA-2fjv-p558-g82m

Key Facts

Patch in the next maintenance window
  • CVE-2026-129182 is a critical-severity vulnerability (CVSS 9.2 v4) affecting PHP, php8.2 (debian), php8.4 (debian) and 7 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 8.5% probability of exploitation in the next 30 days.
  • Fixed versions are available, including engine 8.5.13, PHP 8.5.13, php-8.1 8.1.34.
  • Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.

Scores

CVSS v4

9.2

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

EPSS (30-day exploit likelihood)

8.5%

Higher than 95.1% of all scored CVEs

Exploit maturity

None known

ATLAS score

38/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

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.

Affected Products

14 affected entries in total
ProductAffected versionsFixed in
PHPPHP>= 8.5.08.5.13
php8.2debianSee advisory0
php8.4debianSee advisory0
php-8.1echoSee advisory8.1.34
php-8.5echoSee advisory8.5.13+e1
5 more affected products in the full CVE brief

Patched Releases

engine

8.5.13

PHP

8.5.13

php-8.1

8.1.34

php-8.5

8.5.13+e1

php-8.5-zts

8.5.13+e1

php-8.6

8.6.0+e1

php-8.6-zts

8.6.0+e1

php/php-src

8.5.13

pkg:software-id/php.net/php

8.5.13

Timeline

  1. Publicly disclosed

    Nov 19, 2026

  2. Last updated

    Nov 20, 2026

Weakness Type

  • CWE-416 Use After Free
  • CWE-459 Incomplete Cleanup
  • CWE-825 Expired Pointer Dereference

References

3 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2026-129182 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Nov 27, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.