Skip to content
Welcome, thoughtbot's Giant Robots listeners!Start here
PHP
AI-generated illustration
Technology

PHP

Open-source scripting language behind much of the web, maintained by the PHP project.

On 21 October, the PHP project patched two command-execution flaws rated 9.2, while PHP 8.1 and older received no fix and required a full upgrade.

Last refreshed: 22 October 2026 · Appears in 1 active topic

Key Question

Can unsupported PHP sites migrate before working PHP2Shell exploits spread?

Timeline for PHP

#15 21 Oct

Shipped fixed versions for two remote code flaws

Cybersecurity: Threats and Defences: PHP2Shell: no fix for PHP 8.1 and older
View full timeline →

Background

PHP is an open-source scripting language maintained by the PHP project. It underpins a large share of websites and runs code on web servers, which means a remote command-execution flaw can expose both the application and its host system.

On 21 October 2026, the PHP project shipped fixes for two flaws rated 9.2 that allowed unauthenticated attackers to run commands on a web server. Hundreds of sites, including Nintendo and Berlin's Charité hospital, had gone offline before the fixes appeared. PHP 8.1 and older received no upstream fix. Detectify researcher Joviane Jardim estimated that roughly half of PHP websites used those older releases, leaving a full upgrade as their route to the corrected code.

That split between maintained and unsupported branches makes version age part of the security boundary. Administrators on current releases could apply the project's fixes, while users of the older branches had to move to a supported version before receiving the corrected code.

Common Questions
What is PHP used for?
PHP is an open-source scripting language used mainly to generate dynamic web content on servers.Source: PHP project
What PHP versions fix PHP2Shell?
The PHP project fixed the two critical flaws in versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35.Source: PHP project
Why must old PHP websites migrate after PHP2Shell?
PHP 8.1 and older receive no regular upstream fixes, so operators need a supported release or a verified vendor backport.Source: PHP project
How dangerous are the PHP2Shell flaws?
Both flaws scored 9.2 and can let an unauthenticated attacker run code on an affected web server.Source: PHP project
Source Material

Written with AI from Lowdown's published reporting. Not individually reviewed by an editor. Updated 22 October 2026. Editorial standards.