home / blog
2026-11-26 · critical
CVE-2026-129481: Critical use-after-free in PHP
PHP use-after-free vulnerability causing crashes during session shutdown (CVE-2026-129481).

CVE-2026-129481 is a use-after-free vulnerability in PHP that occurs when a fatal error in an application callback interrupts the session shutdown. This causes the retention of a pointer to already freed memory, which can be reused in subsequent requests handled by the same worker, leading to worker crashes or memory corruption.
The vulnerability has a CVSS score of 9.2 classified as 'critical' and affects PHP versions 8.3.* before 8.3.37, 8.4.* before 8.4.28, and 8.5.* before 8.5.13. Public exploits have been reported on GitHub repositories, indicating the vulnerability is actively exploitable. The vulnerability has been officially confirmed and published in the NVD on November 19, 2026.
To protect against this vulnerability, it is recommended to immediately update PHP to the patched versions: 8.3.37, 8.4.28, or 8.5.13. For systems that cannot be immediately updated, it is suggested to closely monitor error logs and consider implementing restrictions on functionalities that could exploit the vulnerability. Applications using PHP sessions should be specifically tested for this vulnerability after applying patches.
At a glance
- What
- Use-after-free after interrupted session shutdown in PHP
- Severity
- Critical (CVSS 9.2)
- Affected versions
- PHP 8.3.* before 8.3.37, 8.4.* before 8.4.28, 8.5.* before 8.5.13
- Fix
- Update PHP to versions 8.3.37, 8.4.28, or 8.5.13
- Status
- Verified vulnerability officially published in NVD
- Action
- Immediately apply security patches
Sources: NVD, CVE-2026-129481