Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › PHP

CVE-2026-129182 — PHP Group PHP

Critical · CVSS 9.2EPSS 0.7% First seen November 19, 2026

One of 17 PHP Group PHP vulnerabilities published together by NVD: our article covers all of them.

PHPApacheWebVulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Critical · 9.2 CVSS 4.0 base score from the CNA (php.net)

An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Special conditions
only in some setups or conditions
Login needed
no
User action needed
no
Impact
high on confidentiality, integrity and availability
Impact on other systems
none

Vector 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

Weakness

Affected and fixed versions

ProductAffected versionsFixed in
PHP Group PHP≥ 8.5.0, < 8.5.138.5.13

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Details from NVD (public domain).

Affected

  • PHP Group PHP

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-129182?

Use-after-free via repopulation of lastfatalerrorbacktrace 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. Weakness type: Use After Free (CWE-416).

How severe is CVE-2026-129182?

CVE-2026-129182 has a CVSS 4.0 base score of 9.2 (critical), from the CNA (php.net). An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.

Is CVE-2026-129182 being exploited?

Not as far as is known: CVE-2026-129182 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.7% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-129182?

PHP Group PHP ≥ 8.5.0, < 8.5.13 (fixed in 8.5.13).

How do I fix CVE-2026-129182?

Update to a fixed release: PHP Group PHP 8.5.13.

Timeline & sources

References

Related vulnerabilities & news