Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-11235

CVE-2024-11235: PHP Use-After-Free RCE Vulnerability

CVE-2024-11235 is a use-after-free remote code execution vulnerability in PHP 8.3.x and 8.4.x involving __set handlers and exceptions. This article covers technical details, affected versions, impact, and mitigation.

Published: April 15, 2026

CVE-2024-11235 Overview

CVE-2024-11235 is a critical use-after-free vulnerability affecting PHP versions 8.3.* before 8.3.19 and 8.4.* before 8.4.5. The vulnerability exists in a code sequence involving the __set handler or the null coalescing assignment operator (??=) combined with exceptions. When triggered, this flaw can lead to memory corruption that may be exploited for remote code execution if an attacker can control the memory layout through specially crafted inputs.

Critical Impact

This use-after-free vulnerability can be exploited remotely to achieve code execution on systems running vulnerable PHP versions, potentially allowing complete system compromise of web servers and applications.

Affected Products

  • PHP versions 8.3.* before 8.3.19
  • PHP versions 8.4.* before 8.4.5

Discovery Timeline

  • 2025-04-04 - CVE CVE-2024-11235 published to NVD
  • 2025-04-30 - Last updated in NVD database

Technical Details for CVE-2024-11235

Vulnerability Analysis

This vulnerability is classified as CWE-416 (Use After Free), a memory corruption vulnerability that occurs when a program continues to use a pointer after the memory it references has been freed. In the context of PHP, this vulnerability manifests in specific code paths involving PHP's magic method __set handler and the null coalescing assignment operator (??=) when exceptions are thrown during these operations.

The attack requires network access and involves complex attack prerequisites where an attacker must be able to supply specially crafted inputs to a PHP script that exercises the vulnerable code path. If the attacker can successfully control the memory layout, they may be able to manipulate freed memory to achieve arbitrary code execution within the PHP interpreter context.

Root Cause

The root cause lies in improper memory management within PHP's internal handling of the __set magic method and the ??= operator when exceptions occur. During exception handling in these code sequences, PHP fails to properly track memory references, leading to a condition where a memory region is freed but a dangling pointer to that memory remains accessible. Subsequent operations using this dangling pointer can read or write to memory that has been reallocated for other purposes, creating an exploitable condition.

Attack Vector

The attack vector is network-based, allowing remote exploitation without requiring authentication or user interaction. An attacker can target vulnerable PHP applications by:

  1. Identifying a PHP application using affected versions that processes user-controlled input
  2. Crafting malicious input designed to trigger the vulnerable __set or ??= code path
  3. Manipulating memory layout through carefully timed inputs to control the freed memory region
  4. Executing arbitrary code within the context of the PHP process

The vulnerability is exploitable through any network-accessible PHP application that processes attacker-controlled data and exercises the vulnerable code paths. Web applications accepting user input via forms, APIs, or file uploads are potential targets.

Detection Methods for CVE-2024-11235

Indicators of Compromise

  • Unexpected PHP process crashes or segmentation faults in web server logs
  • Anomalous memory consumption patterns in PHP-FPM or Apache mod_php processes
  • Unusual child process spawning from PHP interpreter processes
  • Web application log entries showing malformed or exceptionally long input parameters

Detection Strategies

  • Monitor PHP error logs for segmentation faults, memory corruption errors, or unexpected exception chains involving __set handlers
  • Implement web application firewall (WAF) rules to detect and block suspicious payloads targeting PHP applications
  • Deploy runtime application self-protection (RASP) solutions capable of detecting memory corruption attempts
  • Use SentinelOne's Singularity platform to detect anomalous behavior from PHP processes including unexpected system calls or memory access patterns

Monitoring Recommendations

  • Enable verbose PHP error logging and centralize logs for security analysis
  • Configure process monitoring to alert on PHP processes exhibiting abnormal memory behavior
  • Implement network traffic analysis to identify exploitation attempts targeting PHP endpoints
  • Deploy endpoint detection and response (EDR) solutions like SentinelOne to monitor for post-exploitation activity

How to Mitigate CVE-2024-11235

Immediate Actions Required

  • Upgrade PHP to version 8.3.19 or later for the 8.3 branch
  • Upgrade PHP to version 8.4.5 or later for the 8.4 branch
  • Review and restrict network access to PHP applications where immediate patching is not possible
  • Implement web application firewall rules to add an additional layer of protection

Patch Information

PHP has released security updates addressing this vulnerability. Organizations should upgrade to PHP 8.3.19 or 8.4.5 or later versions as appropriate for their deployment. The official security advisory is available at the PHP GitHub Security Advisory which provides detailed information about the fix.

Workarounds

  • Isolate PHP applications using containerization or sandboxing technologies to limit the impact of potential exploitation
  • Implement strict input validation at the application layer to reduce attack surface
  • Consider disabling or restricting the use of __set magic methods in critical applications until patching is complete
  • Deploy SentinelOne Singularity for real-time detection and automated response to exploitation attempts
bash
# Check current PHP version
php -v

# Update PHP on Debian/Ubuntu systems
sudo apt update && sudo apt install php8.3

# Update PHP on RHEL/CentOS systems
sudo dnf update php

# Verify patched version is installed
php -v | grep -E "8\.(3\.19|4\.5)"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechPhp

  • SeverityCRITICAL

  • CVSS Score9.2

  • EPSS Probability1.47%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2024-1874: PHP proc_open() RCE Vulnerability

  • CVE-2024-8926: PHP Command Injection RCE Vulnerability

  • CVE-2024-4577: PHP CGI on Windows RCE Vulnerability

  • CVE-2024-5585: PHP proc_open() RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English