CVE-2024-11235

published 4 Apr 2025 · updated 14 Nov 2026

Reference counting in php_request_shutdown causes Use-After-Free

9.2CriticalCVSS 9.2EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in PHP 8.3.19 and PHP 8.4.5.

In PHP versions 8.3.* before 8.3.19 and 8.4.* before 8.4.5, a code sequence involving __set handler or ??=  operator and exceptions can lead to a use-after-free vulnerability. If the third party can control the memory layout leading to this, for example by supplying specially crafted inputs to the script, it could lead to remote code execution.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
PHP GroupPHP>=8.3.* <8.3.19, >=8.4.* <8.4.58.3.19, 8.4.5

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in PHP, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-11235 severity on Zeptric[![CVE-2024-11235](https://zeptric.io/badge/cve/CVE-2024-11235.svg)](https://zeptric.io/cve/CVE-2024-11235)