Use After Free in PHP

CVE-2024-11235

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.

Vulnerability class: Use-After-Free

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.015 (72.5th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 72nd percentile — 72.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2024-11235: held from 0.014 to 0.015.

EPSS over last 30 days · oldest: 0.014 · newest: 0.015 · change: +0.001

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-11235?
CVE-2024-11235 is a high-severity vulnerability in PHP, classified under Use After Free. CVSS score: 8.1/10. Published 2025-04-04.
How severe is CVE-2024-11235?
High severity. CVSS v3 base score is 8.1 out of 10.
Is CVE-2024-11235 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.