Use-after-free in PHP - CVE-2026-129481
Published: November 19, 2026
Vulnerability details
The vulnerability allows a remote attacker to corrupt memory or crash a reused PHP worker and potentially execute arbitrary code, although code execution has not been demonstrated.
The vulnerability exists due to a heap use-after-free in PHP's session extension when a fatal error interrupts session shutdown and leaves a script filename pointer behind after the request heap is freed. A remote attacker can trigger the cleanup failure through an affected application path to corrupt memory when the same worker later releases the stale string during session startup or session-module shutdown.
The recorded script filename must be allocated on the request heap. A filename stored in persistent OPcache memory does not become a dangling pointer through this path.
Affected software
Fedora
php
How to mitigate CVE-2026-129481
php - addressed in versions 8.4.28-2.fc43, 8.5.13-1.fc44, 8.5.13-1.fc45