CVE-2024-11235 in Php
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 l...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Php | Php | ≥ 8.3.0, < 8.3.19 ≥ 8.4.0, < 8.4.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-11235 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-182182-H |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-04-04 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Analysis AI-written, not human-reviewed
A use-after-free vulnerability exists in PHP versions 8.3.* before 8.3.19 and 8.4.* before 8.4.5 due to improper handling of the __set handler or ??= operator and exceptions, which could potentially lead to remote code execution if exploited.
The vulnerability arises from a specific code sequence involving the __set handler or ??= operator and exceptions. An attacker could exploit this by supplying specially crafted inputs to the script, potentially leading to remote code execution if they can control the memory layout.
Questions
What is CVE-2024-11235?
A use-after-free vulnerability exists in PHP versions 8.3.* before 8.3.19 and 8.4.* before 8.4.5 due to improper handling of the __set handler or ??= operator and exceptions, which could potentially lead to remote code execution if exploited.
What is the CVSS score for CVE-2024-11235?
CVE-2024-11235 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.5%.
Is CVE-2024-11235 actively exploited?
No confirmed active exploitation of CVE-2024-11235 as of 2026-09-25.
How do I remediate CVE-2024-11235?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2024-11235?
CVE-2024-11235 affects Php Php.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Php","product":"Php","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.