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

EPSS: 0.014 (69.8th percentile) — read the EPSS interpretation.

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.

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.