Skip to main content Skip to local navigation

Multiple Critical PHP Vulnerabilities (PHPAfterShell)

 

A picture containing text  Description automatically generated

 


Information Security Advisory

A recently disclosed set of vulnerabilities affects supported PHP versions and may allow unauthenticated remote attackers to execute arbitrary code, corrupt memory, escalate privileges, disclose sensitive information, bypass security controls, or disrupt affected services under specific configurations.

Severity level:
CVSS Score: 9.2/Critical

Description:

The November 2026 security update addresses seven critical vulnerabilities and 11 additional security flaws affecting PHP Core, PHP-FPM, PHP-CGI, session handling, XML processing, PHAR verification, and URL handling. The critical vulnerabilities include use-after-free, request-smuggling, session-handling, and memory-corruption flaws that may allow attackers to execute arbitrary code on affected systems. Successful exploitation could lead to sensitive-data exposure, service disruption, or complete compromise of PHP-hosted applications and their underlying servers.

The vulnerabilities mentioned below:

  • CVE-2026-126714 - Partially overwritten session files that could lead to remote code execution.
  • CVE-2026-129481 - Use-after-free vulnerability triggered during interrupted session shutdown.
  • CVE-2026-129474 - Use-after-free vulnerability involving magic-method backtraces.
  • CVE-2026-129182 - Use-after-free vulnerability involving the repopulation of the last fatal error backtrace after shutdown.
  • CVE-2026-129496 - Use-after-free vulnerability in PHP’s time-zone cache.
  • CVE-2026-129289 - PHP-FPM request-smuggling vulnerability that may allow unauthenticated remote code execution when FastCGI backend connections are reused.
  • CVE-2026-115560 - Session-serialization mismatch vulnerability.

Affected Versions:

 

  • PHP 8.2.x before 8.2.36
  • PHP 8.3.x before 8.3.37
  • PHP 8.4.x before 8.4.28
  • PHP 8.5.x before 8.5.13

 

Impact:
Successful exploitation may allow attackers to execute arbitrary PHP code without authentication.

Resolution:
Upgrade immediately to applicable patched release:

 

  • PHP 8.2.36 or later.
  • PHP 8.3.37 or later.
  • PHP 8.4.28 or later.
  • PHP 8.5.13 or later.

 

Mitigation:
If immediate patching is not possible:

 

  • Disable persistent FastCGI backend connections.
  • Do not expose PHP-FPM TCP or Unix socket listeners directly to untrusted networks.
  • Restrict PHP-FPM listeners to the local host, trusted web servers, or protected internal networks.
  • Review NGINX, Apache, HAProxy, and LSAPI configurations for backend connection reuse.
  • Restrict internet-facing legacy PHP applications.
  • Isolate legacy applications on dedicated hosts or containers to reduce the impact of a compromise.

 

 

Reference:

https://www.bleepingcomputer.com/news/security/php-security-updates-fix-18-flaws-including-critical-rce-bugs/

https://www.infosecurity-magazine.com/news/php-releases-patches-fix-18/

https://thehackernews.com/2026/11/php-fixes-7-critical-flaws-including.html

 


UIT Information Security



Contact

IT Client Services at askIT@yorku.ca or 416 736 5800

 

PRIVACY POLICY | VISIT WWW.YORKU.CA
This email was sent by: York University, 4700 Keele Street, Toronto, Ontario M3J 1P3

This email is viewed best in Microsoft Outlook for web