home / blog
2026-11-20 · critical
CVE-2026-129496: Critical PHP vulnerability
Critical vulnerability in PHP timezone cache allows remote code execution.

CVE-2026-129496 is a use-after-free vulnerability in PHP's timezone cache that can lead to remote code execution. The bug manifests in non-thread-safe builds when a diagnostic written to a file-based error log during module startup causes the timezone cache to be allocated in startup memory that is freed while a reference to it is kept.
The vulnerability is classified as critical with a CVSS score of 9.2. A GitHub report regarding this vulnerability is already available. Exploits for arbitrary code execution have been demonstrated with known memory addresses.
To protect yourself, promptly apply updates to patched PHP versions. Monitor logs for anomalies and implement rigorous input validation. Consider implementing additional mitigations for high-risk environments.
At a glance
- What
- Use-after-free in timezone cache that can lead to remote code execution
- Severity
- Critical (CVSS 9.2)
- Affected versions
- PHP before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13
- Fix
- Update PHP to patched versions
- Status
- Published in NVD on 11/19/2026
- Action
- Promptly apply patches and monitor for exploitation attempts
Sources: NVD, CVE-2026-129496