Servers and applications
CVE-2026-129182
Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown
- Severity
- Critical 9.2
- Published
- 19 Nov 2026
- Last changed
- 20 Nov 2026
- Added to UpHeron
- 19 Nov 2026
- Fixed in
- 8.5.13
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS 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- Sources
- CVE Program
Description
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 software
| Software | Affected versions |
|---|---|
PHPServers and applications · cna:php group|php |
|
PHPServers and applications · cpe:a:php:php |
|
About PHP
scripting language focused on web development
- Share of websites with a known server-side language
- 68.2%W3Techs, Nov 2026
- Developers who used it in the past year
- 18.9%Stack Overflow Developer Survey 2025, 2025
- Docker Hub pulls
- 1,405,401,976Docker Hub, 15 Nov 2026
- GitHub stars
- 41,786GitHub, 15 Nov 2026
- Forks
- 8,531GitHub, 15 Nov 2026
- Latest release
- php-8.5.12GitHub, 15 Nov 2026
- Released
- 21 Oct 2026GitHub
- Developer
- Rasmus LerdorfWikidata
- License
- PHP License, 3-clause BSD LicenseWikidata
- Written in
- CWikidata
- First released
- 8 Jun 1995Wikidata
- First published on GitHub
- 16 Jun 2011GitHub
Website Source code Docker image
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 8.5 | 8.5.12 | Until 31 Dec 2029 |
| 8.4 | 8.4.27 | Until 31 Dec 2028 |
| 8.3 | 8.3.36 | Until 31 Dec 2027 |
| 8.2 | 8.2.35 | Until 31 Dec 2026 |
| 8.1 | 8.1.34 | Ended 31 Dec 2025 |
| 8.0 | 8.0.30 | Ended 26 Nov 2023 |
From endoflife.date.
Vulnerabilities in PHP
- In our list
- 755
- Published in the last 12 months
- 47
- Critical, last 12 months
- 10
- High, last 12 months
- 11
- Known exploited
- 5
- CVE-2026-129501Double free during DOM XML serializationMedium 6.3 19 Nov 2026
- CVE-2026-129289PHP-FPM request smuggling through an unread HTTP request bodyCritical 9.2 19 Nov 2026
- CVE-2026-15353SOAP information disclosure through malformed array dimensionsMedium 6.3 19 Nov 2026
- CVE-2026-127960Denial of service through folded HTTP response headersHigh 8.7 19 Nov 2026
- CVE-2026-129438Incorrect RFC 3986 URI serialization for oversized inputMedium 6.3 19 Nov 2026
- CVE-2026-129291PHP-FPM epoll use-after-free can lead to local privilege escalationHigh 8.8 19 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-129182