Critical PHP2Shell Vulnerabilities: Detection and Remediation with Vulnerability Manager Plus

Critical PHP2Shell Vulnerabilities: Detection and Remediation with Vulnerability Manager Plus

PHP has released security updates for all currently supported PHP branches to address multiple vulnerabilities, including issues that can lead to remote code execution (RCE).

The following fixed versions were released on November 19, 2026:

PHP Branch

Fixed Version

PHP 8.5

8.5.13

PHP 8.4

8.4.28

PHP 8.3

8.3.37

PHP 8.2

8.2.36

PHP recommends that users of the affected branches upgrade to the corresponding fixed version.


Security Highlights  

The release addresses several vulnerabilities across PHP Core, CGI, Date, DOM, FPM, Session, PHAR, SOAP, and other components.

Some of the key vulnerabilities fixed include:

 

CVE ID

Vulnerability

CVE-2026-129474

Use-after-free in magic method backtraces that can lead to remote code execution

CVE-2026-129496

Timezone cache use-after-free that can lead to remote code execution

CVE-2026-126714

Partially overwritten session files that can lead to remote code execution

CVE-2026-115560

Session serializer mismatch that can lead to remote code execution

CVE-2026-129182

Use-after-free involving last_fatal_error_backtrace

CVE-2026-129538

PHP-CGI out-of-bounds read and write during PATH_INFO correction

CVE-2026-129291

PHP-FPM epoll use-after-free that can lead to local privilege escalation

CVE-2026-129289

PHP-FPM request smuggling through an unread HTTP request body

CVE-2026-129292

PHP-FPM status endpoint cross-site scripting

CVE-2026-129501

Double free during DOM XML serialization

The PHP changelog confirms these fixes in the November security releases.

 

Patch Details  

Linux Patch Details  

The following Linux patches provided in the patch repository are mapped to CVE-2026-91768.

Ubuntu Packages  

PHP Version / Package Family

Patch IDs

PHP 8.1.2-1ubuntu2.27

765324, 765326–765329, 765334–765343, 765349–765350, 765354

PHP 8.3.6-0ubuntu0.24.04.12

765325, 765330–765332, 765351, 765353, 765355, 765359–765360

PHP 8.5.4-0ubuntu1.4

765333, 765344–765348, 765352, 765356–765358

These include PHP CLI, CGI, FPM, Apache module, embedded PHP, MySQL, SOAP, PHPDBG, and related packages.


Debian Packages  

PHP Version / Package Family

Patch IDs

PHP 8.4.26-1~deb13u1

827147–827210

The Debian patch set includes PHP CGI, CLI, FPM, Apache module, PHPDBG, MySQL, PostgreSQL, SOAP, ZIP, XML, LDAP, cURL, GD, BCMath, Intl, Opcache, and other PHP components.


Enterprise Linux Packages  

PHP Version / Package Family

Patch IDs

PHP 8.0.30-9.el9

984947–984972

PHP 7.4.33 EL8 package set

1686549–1686585

PHP 7.4.33 EL8 package set

2551867–2551915

PHP 7.4.33 EL8 package set

3032924–3032960

PHP 7.4.33 EL8 package set

3339187–3339223

These patch sets include PHP core packages and associated modules such as FPM, CLI, MySQL, PostgreSQL, LDAP, SOAP, XML, GD, BCMath, Opcache, PDO, and other PHP components.


SUSE Packages  

PHP Version / Package Family

Patch IDs

PHP 8.3.35-150700.3.21.1

3715838–3715944

PHP 7.4.33-150400.4.81.1

3719049–3719054

PHP 8.4.26-160000.1.1

3719258–3719366

The SUSE package sets include Apache PHP modules, PHP CLI, PHP-FPM, FastCGI, DOM, SOAP, XML, MySQL, PostgreSQL, LDAP, OpenSSL, ZIP, and numerous other PHP modules.


Fedora Packages  

PHP Version

Patch ID

PHP 8.4.26-1.fc43

4509646

PHP 8.5.11-1.fc44

4509640

 


Note: The Linux patches listed above are specifically associated with CVE-2026-91768 in the supplied patch data. They should not be interpreted as the patch set for every CVE addressed in PHP 8.5.13, 8.4.28, 8.3.37, and 8.2.36.

 

Recommended Action  

  • Identify affected systems through the Vulnerabilities view:

    • In Vulnerability Manager Plus, navigate to Threats → Vulnerabilities → Affected Systems.

  • Upgrade to the corresponding fixed release:

    • PHP 8.5 → 8.5.13 or later

    • PHP 8.4 → 8.4.28 or later

    • PHP 8.3 → 8.3.37 or later

    • PHP 8.2 → 8.2.36 or later

 

  • Prioritize internet-facing PHP servers and web applications.

  • Where PHP is bundled with a third-party application or appliance, obtain the fixed build from the respective vendor.

  • After updating, run or wait for the next vulnerability scan and verify that the vulnerability is no longer listed for the affected systems in the Vulnerabilities view.

 

PHP 8.2 is scheduled to reach end of life on December 31, 2026, so organizations using PHP 8.2 should also plan their migration to a supported PHP branch.

For more information, refer to:

https://www.php.net/archive/2026.php

Regards,
The ManageEngine Team