Vendors › PHP

CVE-2024-11235

Medium (no CVSS assigned) EPSS 1.5% PHP · core

Reference counting in php_request_shutdown causes Use-After-Free

Exception handler frees variables via cleanup_live_vars for termination. However, the subsequent php_request_shutdown performs reference counting on these variables using zend_gc_refcount(read) and zend_gc_delref(write), resulting in use-after-free.

Published2025-03-13
Updated2025-03-13
AffectedPHP versions < 8.3.18; PHP versions < 8.4.5
FixUpgrade to 8.3.19, 8.4.5 (first fixed release per supported branch).
Vendor advisoryhttps://github.com/php/php-src/security/advisories/GHSA-rwp7-7vc6-8477

CVEs (1)

CVECWETypeImpactLinks
CVE-2024-11235CWE-416Memory CorruptionCode ExecutionNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.