CVE-2026-129182 — PHP Group PHP
One of 17 PHP Group PHP vulnerabilities published together by NVD: our article covers all of them.
PHPApacheWebVulnerabilitiesSummary
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.
Severity breakdown
Critical · 9.2
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
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP Group PHP | ≥ 8.5.0, < 8.5.13 | 8.5.13 |
References by type
Vendor advisories
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
- CVE-2026-104998 — tychesoftwares Product Input Fields for WooCommerce
- TastyIgniter Media Manager upload path traversal (CVE-2026-69181) allows admin-authenticated file writes outside media/uploads
- GHSA-g9x9-q7qj-6mv5 / CVE-2026-63305 — AVideo API FFmpeg process permits OS command injection via notifyCode/callback
- AVideo before 29.1.0: OS command injection via unescaped FFmpeg process keyword in API (CVE-2026-63492)
- Forminator Forms Plugin Vulnerable to Stored XSS via File Upload Field