CVE-2024-11235

Severity CVSS v4.0:
CRITICAL
Type:
CWE-416 Use After Free
Publication date:
04/04/2025
Last modified:
30/04/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 8.3.0 (including) 8.3.19 (excluding)
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 8.4.0 (including) 8.4.5 (excluding)