Severity
High
Analysis Summary
The PHP Foundation has released security updates addressing seven critical vulnerabilities in the PHP programming language that could expose affected web applications and server environments to remote code execution (RCE), memory corruption, and denial-of-service (DoS) attacks. The flaws affect multiple PHP branches and carry a CVSS score of 9.2, indicating a critical security risk. Successful exploitation could allow attackers to execute arbitrary code with PHP worker privileges, manipulate files, compromise application sessions, or disrupt server operations.
The vulnerabilities involve improper input validation, use-after-free memory management issues, Time-of-check Time-of-use (TOCTOU), and inconsistent HTTP request interpretation. The identified vulnerabilities are as follows:
- CVE-2026-115560 – Improper Input Validation: Could allow remote code execution, file modification, session corruption, or denial-of-service (DoS).
- CVE-2026-129182 – Use-After-Free: Could cause memory corruption and potentially enable remote code execution.
- CVE-2026-126714 – TOCTOU Vulnerability: Could allow arbitrary code execution with PHP worker privileges under specific session-handling and application conditions.
- CVE-2026-129289 – HTTP Request Interpretation: Could enable attackers to execute attacker-controlled PHP code through inconsistent HTTP request handling and persistent backend connections.
- CVE-2026-129474 – Use-After-Free: Could lead to remote code execution on PHP 8.5 and later under specific application conditions.
- CVE-2026-129481 – Use-After-Free: Could disrupt session cleanup, corrupt memory, crash PHP workers, or potentially enable remote code execution.
- CVE-2026-129496 – Use-After-Free: Could allow unauthenticated remote attackers to crash PHP workers or execute arbitrary code with their privileges.
Some vulnerabilities can be exploited remotely without authentication or user interaction, while others require specific application configurations, control over session data, or suitable exploitation conditions.
The PHP Foundation has addressed these vulnerabilities in the following patched releases:
- PHP 8.2.36
- PHP 8.3.37
- PHP 8.4.28
- PHP 8.5.13
Separately, the PHP development team has also announced the release of PHP 8.6.0, introducing numerous improvements and new features.
Organizations running affected PHP deployments are advised to upgrade to the appropriate patched versions to mitigate potential exploitation and reduce the risk of remote code execution, memory corruption, and service disruption.
Impact
- Denial-of-Service (DoS)
- Unauthorized Access
- Remote Code Execution
- Memory Corruption
- Service Disruption
Indicators of Compromise
CVE
- CVE-2026-115560
- CVE-2026-129182
- CVE-2026-126714
- CVE-2026-129289
- CVE-2026-129474
- CVE-2026-129481
- CVE-2026-129496
Remediation
- Upgrade affected PHP deployments to the patched versions (8.2.36, 8.3.37, 8.4.28, or 8.5.13) to address the identified vulnerabilities.
- Identify and inventory all servers, applications, and containers running vulnerable PHP versions.
- Review PHP application configurations, particularly session handling, deserialization, and persistent backend connection settings.
- Restrict access to PHP application servers and backend services to trusted sources wherever possible.
- Monitor PHP worker processes for unusual crashes, memory corruption, unexpected execution, and abnormal resource consumption.
- Monitor web server and application logs for suspicious HTTP requests, unexpected PHP execution, and potential exploitation attempts.
- Implement Web Application Firewall (WAF) rules to detect and block suspicious requests targeting vulnerable PHP applications.
- Perform vulnerability assessments to verify that affected PHP deployments have been successfully patched.

