Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

PHP Patches Seven Critical RCE Vulnerabilities

Successful exploitation could allow attackers to crash the worker process and execute code with the PHP worker’s privileges.

PHP2Shell PHP exploited

PHP on Thursday rolled out a fresh set of security patches as part of its four-week update schedule, including fixes for seven critical-severity remote code execution (RCE) vulnerabilities.

First in line is CVE-2026-115560, which was publicly disclosed last month, two days after PHP2Shell patches landed. Residing in the session upload progress feature, it could be triggered to write attacker data using one session serialization format and then read it using another.

“A mismatched decoder can interpret part of a session key as serialized object data. An application with a suitable object gadget chain can then execute code with the privileges of the PHP worker,” PHP’s advisory reads.

Next in line is CVE-2026-129481, described as a use-after-free that occurs after a session shutdown has been interrupted, and which PHP describes as an incomplete fix for CVE-2026-109619, one of the two PHP2Shell flaws fixed in October and now widely exploited.

“An attacker who can cause an application’s session cleanup to fail in this way may corrupt memory or crash a reused PHP worker. The use-after-free could potentially lead to remote code execution, but code execution through this specific field has not been demonstrated,” PHP notes, adding that PHP 8.2 is not affected.

Another use-after-free, CVE-2026-129182, covers additional exploitation scenarios for CVE-2026-109619, an RCE via stale global state. According to PHP, however, RCE via these scenarios has not been demonstrated.

Advertisement. Scroll to continue reading.

Impacting PHP 8.5 and later, CVE-2026-129474 is a use-after-free weakness that could allow an unauthenticated attacker to cause a fatal error and achieve RCE. “Exploitation depends on the application and requires control over enough request data to influence memory allocation, a reachable magic method call, and a fatal error at the relevant point,” PHP says.

Attackers able to influence session contents and interrupt the write of serialized data to a session file may trigger the deserialization of attacker-controlled content when the session is next opened. Tracked as CVE-2026-126714, the flaw could lead to RCE via a suitable object gadget chain in the application.

PHP also patched CVE-2026-129289, a PHP-FPM request smuggling issue caused by PHP reading a request-body stream lazily, treating a request body as handled during request shutdown and skipping the normal cleanup that discards unread input.

“PHP can fail to discard unread bytes from an HTTP request body before reusing a persistent PHP-FPM or LSAPI connection. In PHP-FPM, an unauthenticated attacker can make those bytes form a separate FastCGI request, bypass front-end routing and execute attacker-controlled PHP code with the privileges of the worker,” PHP explains.

The seventh critical-severity vulnerability patched today, CVE-2026-129496, resides in the timezone cache. PHP can retain a reference to it when writing a diagnostic to a PHP error log file during process startup, and a later diagnostic can access the freed cache before it is reset.

“On affected configurations, a remote attacker can trigger memory corruption, cause a worker to crash, and potentially execute arbitrary code with the privileges of the PHP worker,” PHP explains.

PHP 8.6.0 and PHP 8.5.13 were rolled out with fixes for all critical bugs and for 10 high and medium-severity flaws. Patches for most issues were also included in PHP 8.4.28, PHP 8.3.37, and PHP 8.2.36. More information is available on PHP’s news archive page.

Related: PHP Readies Critical Security Updates to Patch Another RCE Flaw

Related: Hackers Exploit Cisco Expressway Vulnerability Soon After PoC Release

Related: Critical Apache Roller, Axis Vulnerabilities Exploited in Attacks

Related: Splunk Patches Nearly 140 Flaws Across Three Core Products

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing for the latest cybersecurity threats, trends, and expert insights.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

NOW LIVE: CISO Forum 2026 Summit

Join as we bring together CISOs, senior cybersecurity executives, practitioners, industry experts, and other security leaders to share practical experience and examine the issues shaping enterprise cybersecurity strategy.

Register

Join to learn the four levels of architecting security into the agentic SDLC – from securing the code your developers' agents write to running a coordinated system of security agents you've built yourself.

Register

People on the Move

Zeke Maldonado has been named Principal Deputy CIO at the US Department of Commerce.

FusionAuth has appointed Phil Allen as CRO.

Dave Farrow has become CISO at Bitwarden.

More People On The Move

Expert Insights

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity news, threats, and expert insights. Unsubscribe at any time.