PHP updates fix 18 flaws after PHP2Shell, including critical PHP-FPM smuggling. Exposed servers risk unauthenticated code execution and data leaks.
PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 patch 18 security flaws after PHP2Shell, including a critical request smuggling issue that could let unauthenticated attackers execute code on exposed servers. The release lands while enterprises are still dealing with the fallout from PHP2Shell, a pair of 9.2-severity-rated vulnerabilities disclosed in October. PHP2Shell caused some government websites to shut down and, by some estimates, absorbed millions of exploit attempts.

For operators running PHP, the practical question is not only whether a newer version exists. It is whether every PHP runtime in their environment has been identified, checked against the right configuration state, and patched before a smaller flaw becomes a foothold.
What PHP fixed in this release
The patches address 18 vulnerabilities affecting PHP’s core engine, session handling, process manager, and the Common Gateway Interface, or CGI, which bridges web servers with external application programs. The updates were released for all supported PHP versions, with PHP 8.5.13, PHP 8.4.28, PHP 8.3.37 and PHP 8.2.36 containing the fixes.
Frank Dickson of Dickson Research described the release as PHP2Shell’s aftershock: smaller, but still shaking the same walls.
| Release | What the source article states | Operational meaning |
|---|---|---|
| PHP 8.5.13 | Contains the fixes; PHP 8.5 is the only branch exposed to the new backtrace flaw, and fatal error backtraces are on by default there | Highest priority for internet-facing PHP 8.5 servers |
| PHP 8.4.28 | Contains the fixes | Patch on a fast cycle, especially if exposed to the internet |
| PHP 8.3.37 | Contains the fixes | Patch on a fast cycle; check configuration and inventory |
| PHP 8.2.36 | Contains the fixes; PHP 8.2 has just six weeks to live and will receive no security fixes after December 31, 2026 | Migration away from 8.2 becomes urgent |
The critical CVE-2026-129289 request smuggling flaw
One of the most serious flaws disclosed this week, CVE-2026-129289, is rated critical 9.2 on the Common Vulnerabilities Scoring System, or CVSS. The request smuggling vulnerability impacts PHP-FPM, a background service that executes code for high-volume websites and applications.
If exploited, the flaw could allow unauthenticated actors to execute PHP code remotely on vulnerable servers that reuse connections to PHP-FPM under certain conditions. It impacts specific nginx, Apache, HAProxy, and LSAPI configurations that reuse backend connections to PHP-FPM.
Dickson explained that when paired with a code execution bug, the flaw can carry an attacker from the web worker toward the whole server. That is the core danger: PHP workers often hold access to the application’s most sensitive operational material.
Less severe flaws can still matter
Several other patches also address vulnerabilities that could allow remote code execution. Still others address information disclosure, memory corruption, denial of service interruptions, potentially unsafe handling of HTTPS and FTPS URLs, and cross-site scripting.
Dickson said the lesser flaws still matter. In one case, a URL written as HTTPS:// or FTPS:// with an uppercase S could send passwords, tokens, form data, and files in plaintext, even through a redirect, to anyone watching the network. A single capital letter can turn off the protection an operator expected.
This release also touches areas PHP warned about during PHP2Shell: session upload progress, fatal error backtraces, and how PHP behaves when it runs out of memory. Dickson noted that PHP warned PHP2Shell puts every installation serving web requests at risk, with no login required, and said this release returns to the same neighborhood.
Why the PHP worker is the prize
An attacker who exploits a PHP code-execution flaw gains access to whatever the PHP worker can touch. Dickson said that is “just about everything.” Successful exploitation executes code with the privileges of the PHP worker, which holds the database password, API keys, cloud credentials, and session data.
He described what he called an “ugly” attack path:
- The threat actor gets in through the web application.
- The attacker reads the configuration file.
- The attacker dumps the customer database.
- The attacker plants a web shell to come back later.
This sequence is why runtime flaws deserve serious attention. The application layer may appear to be the entry point, but the damage often spreads through credentials and services reachable from the PHP process.
Is this a PHP2Shell-level emergency?
Fritz Jean-Louis, principal cybersecurity advisor at Infotech, agreed that this is a high-priority patching event, though not necessarily a PHP2Shell-level emergency. Although several critical vulnerabilities require specific configurations or uncommon deployment scenarios, he noted that they still affect one of the most widely deployed web runtimes in the world.
Jean-Louis said remote code execution is the most concerning outcome because it can give an attacker control over the application server. From there, an attacker may be able to access sensitive business data, steal credentials or session tokens, deploy persistent backdoors, modify application behavior, or use the compromised system as a foothold for deeper intrusion.
He also warned that vulnerabilities appearing less severe, such as information disclosure or memory corruption, can become highly impactful when chained together by a determined attacker.
What enterprises should do now
Dickson emphasized that a PHP version number alone will not tell security teams whether they are exposed. Checking the version number is the easy part, but Linux distributions often backport fixes without changing the version string. In those cases, the package changelog tells more than the version number does.
The harder task is finding every copy. Web servers, containers, hosting control panels, and appliances can all quietly bundle PHP. After inventory, security teams should check the settings that matter:
- Is session upload progress on?
- Do PHP 8.5 workers include arguments in error backtraces?
- Does php-cgi face the internet?
- Is the PHP-FPM status page reachable from outside?
Dickson advised security teams to start with internet-facing PHP 8.5 servers, anything with session upload progress enabled, and any setup where several applications share one session store. PHP 8.5 should be first because it is the only branch exposed to the new backtrace flaw, and fatal error backtraces are on by default there.
Then patch everything else on a normal fast cycle.
PHP 8.2 and older branches raise the stakes
The release timing also puts version support on the table. PHP 8.2 has just six weeks to live; it will receive no security fixes after December 31, 2026. That means this release may be one of the last it receives. Running PHP 8.2 into January is a risk decision, while PHP 8.1 and older receive no fixes from the PHP project.
Dickson also pointed to a cautionary detail: PHP’s advisory for the new PHP 8.5 backtrace flaw says a change in 8.5.12, the PHP2Shell release, is what made the new attack path reachable. His note was blunt: emergency fixes are built fast, and fast work sometimes creates a new vulnerability.
In light of that, he advised teams to preserve the PHP inventory built for PHP2Shell and keep it current, because no one ever said during an incident, “We knew about too many of our PHP servers.”
The broader lesson for security teams
Jean-Louis agreed that security teams should immediately inventory all PHP deployments, including those embedded in vendor products and appliances. They should prioritize internet-facing systems, verify PHP-FPM and session management configurations, and deploy the latest supported PHP versions as quickly as operationally feasible.
He said organizations should view this as a continuation of the lesson learned from PHP2Shell: runtime vulnerabilities deserve the same attention as application vulnerabilities. PHP2Shell was more immediately exploitable and quickly attracted real-world attacks, while this release reinforces the need for strong asset inventory, rapid patch deployment, and visibility into underlying software components.
The biggest question for CISOs is not whether they run PHP, Jean-Louis said. It is whether they know everywhere it runs.
Neutral takeaways
What this release provides:
- Fixes for 18 vulnerabilities across supported PHP versions.
- A critical patch for CVE-2026-129289, which affects PHP-FPM request handling under certain configurations.
- Clear guidance to prioritize PHP 8.5, exposed PHP-FPM configurations, session upload progress, and shared session stores.
- A reminder that version numbers can be misleading when distributions backport fixes.
What it does not provide:
- A guarantee that all PHP installations are safe after upgrading.
- Protection for PHP 8.1 and older, which receive no fixes from the PHP project.
- A simple check based only on the PHP version string.
- Immediate resolution of inventory gaps in containers, appliances, control panels, and vendor products.
Limitations
The source article does not give a public exploit status, a complete technical breakdown of every vulnerability, or a definitive exposure assessment for any specific deployment. Some critical issues require particular configurations, such as PHP-FPM connection reuse in nginx, Apache, HAProxy, or LSAPI environments. That means risk varies by architecture, but the article still treats the release as high priority because PHP is widely deployed.
There is also operational uncertainty around backported patches. A system may appear to be running an older version string while already containing some fixes, or it may appear updated while still exposing vulnerable configurations. Inventory and configuration review remain essential.
FAQ
Does every PHP server need to be patched immediately?
No. The source article recommends prioritizing internet-facing PHP 8.5 servers, systems with session upload progress enabled, setups where applications share one session store, and configurations involving PHP-FPM or php-cgi exposure. Other systems should be patched on a normal fast cycle.
Does upgrading to PHP 8.5.13 remove all exposure?
No. PHP 8.5.13 contains the fixes, but exposure still depends on configuration, deployment model, inventory accuracy, and whether the software was patched or backported correctly.
Is PHP 8.2.36 safe to keep using?
The source article says PHP 8.2 will receive no security fixes after December 31, 2026, making continued use after that date a risk decision. PHP 8.1 and older receive no fixes from the PHP project.
Why is CVE-2026-129289 especially important?
It is rated 9.2 on CVSS and can allow unauthenticated remote code execution on vulnerable servers that reuse connections to PHP-FPM under certain conditions. It affects specific nginx, Apache, HAProxy, and LSAPI configurations.
Sources
Original article appeared on CSOonline. Referenced figures and statements come from Frank Dickson of Dickson Research and Fritz Jean-Louis of Infotech. Version identifiers and vulnerability details are taken from the source article, including PHP 8.5.13, PHP 8.4.28, PHP 8.3.37, PHP 8.2.36, CVE-2026-129289, CVSS 9.2, PHP2Shell, and the December 31, 2026 PHP 8.2 support date.
Last updated: 2026-06-15
Reader notes 0
- No notes yet. Corrections and first-hand test results are welcome.
