Karen IT Security Response Center (KSRC) Advisory

Advisory ID: KSRC-2026-11193 | Publication Date: 19 November 2026

Critical Security Updates for PHP
Multiple Remote Code Execution Vulnerabilities Including phpAfterShell (CVE-2026-126714) and Session Serializer Issues

Summary

On 19 November 2026 the PHP project released security updates for all supported branches. The releases address approximately 18 vulnerabilities, of which seven are rated Critical (CVSS 9.2).

Among the most significant issues is CVE-2026-126714 (referred to in the community as phpAfterShell), which can allow unauthenticated remote code execution by manipulating partially overwritten session files and bypasses mitigations applied for the earlier PHP2Shell vulnerabilities. Several additional use-after-free and request-smuggling flaws capable of leading to remote code execution are also fixed.

Organizations running any supported version of PHP are strongly advised to upgrade immediately.

Key Vulnerabilities

  • CVE-2026-126714 (phpAfterShell) – Remote code execution via partially overwritten session files (CVSS 9.2)
  • CVE-2026-115560 – Session serializer mismatch / upload progress leading to remote code execution (CVSS 9.2)
  • Multiple use-after-free vulnerabilities in core, timezone cache, magic method backtraces, and session handling that can result in remote code execution
  • PHP-FPM request smuggling through unread HTTP request bodies

While PHP notes that some of the critical issues require non-default configurations or uncommon setups, the presence of working exploitation techniques and the recent history of PHP2Shell make prompt patching essential.

Fixed Versions

  • PHP 8.5.13
  • PHP 8.4.28
  • PHP 8.3.37
  • PHP 8.2.36

PHP 8.1 and earlier branches are end-of-life and will not receive these fixes.

Recommendations

  1. Upgrade all production and development PHP installations to one of the fixed versions listed above as soon as possible.
  2. Restart PHP-FPM, Apache mod_php, or other PHP workers after upgrading.
  3. If immediate upgrade is not possible, ensure session.upload_progress.enabled = 0 is set and PHP workers are restarted (this mitigates the known path for CVE-2026-115560 but does not address the other critical issues).
  4. Review applications that use custom session handlers or process untrusted file uploads.
  5. Monitor official PHP changelogs and security announcements for any additional guidance.

Support from KSRC

KSRC (Karen IT Security Response Center) is fully prepared to assist organizations with impact assessment, prioritization, and remediation related to these PHP vulnerabilities.


Karen IT
We make the Internet harder to abuse.