CVE-2024-11235

Reference counting in php_request_shutdown causes Use-After-Free

State
Published
Severity
9.2 Critical
Published
Apr 4, 2025
Updated
Feb 26, 2026
Reserved
Nov 15, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.09.2 CriticalCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/U:Amberphp

Weaknesses

Affected Products

ProductVersions
PHPPHP Group
  • 8.4.* to before 8.4.5Affected
  • 8.3.* to before 8.3.19Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.