A Pillar of the Web Shows Cracks
PHP is a server-side scripting language that acts as the engine for a vast portion of the internet. It powers an estimated 76% of all websites where the server-side language is known. In India, it is the backbone for countless businesses, from small blogs
to large e-commerce platforms, largely due to its integration with popular content management systems (CMS) like WordPress, which itself runs over 40% of the entire web. The October 2026 disclosure, however, involves two critical vulnerabilities, tracked as CVE-2026-109618 and CVE-2026-109619. Unlike flaws in a specific plugin or theme, these are in the core of PHP itself, making the potential impact far more widespread.
Understanding the 'PHP2Shell' Flaws
Collectively named 'PHP2Shell', both vulnerabilities are severe because they can allow for unauthenticated Remote Code Execution (RCE). In simple terms, this means an attacker doesn't need a username or password to exploit the flaw; they can run their own malicious code on a target server from anywhere in the world. The first flaw, CVE-2026-109618, relates to how PHP handles 'out-of-memory' errors. An attacker can craft a specific request that causes the server to run out of memory in a controlled way, leading to a state where malicious code can be executed. The second, CVE-2026-109619, exploits how memory is managed after a fatal error, potentially leaving behind data from a previous request that a new, malicious request can use to take control. Both flaws received a 'Critical' severity score of 9.2 out of 10.
Who Is at Immediate Risk?
The vulnerabilities affect an extensive range of PHP versions, from the very old 5.4 up to version 8.5.11. This means a huge number of live websites are potentially vulnerable. The official patches were released for currently supported versions: PHP 8.2, 8.3, 8.4, and 8.5. However, older versions like PHP 8.1 and the entire 7.x series, which are still widely used, are considered 'end-of-life' and did not receive official binary releases, though source code patches were provided. Any website running on an unpatched version within this range is at risk. This includes not just WordPress sites but also those built on Drupal, Joomla, Laravel, and custom-coded applications. Security agencies like the US Cybersecurity and Infrastructure Security Agency (CISA) have already added these vulnerabilities to their Known Exploited Vulnerabilities catalog, confirming that attackers are actively trying to use them.
The Real-World Consequences
A successful RCE attack is one of the worstest scenarios in cybersecurity. Attackers who exploit PHP2Shell can gain complete control of the web server. This allows them to steal sensitive data, such as customer information and payment details, deface the website, or install further malware like ransomware or crypto-miners. They could also use the compromised server to attack other systems, making your website an unwitting launchpad for broader cybercrime. For businesses in India, this could lead to devastating financial loss, severe damage to their reputation, and legal trouble over data breaches.
Your Essential Action Plan
Immediate action is crucial. First, you need to identify what version of PHP your website is using. For WordPress users, this information can be found in the dashboard under 'Tools' > 'Site Health' > 'Info' > 'Server'. For other sites, your hosting control panel (like cPanel) often has a 'PHP Version Manager', or you may need to ask your hosting provider directly. The primary solution is to update. You must patch to one of the secure versions: 8.2.35, 8.3.36, 8.4.27, or 8.5.12. If your site is running an older, unsupported version like PHP 7.4, it is strongly recommended to upgrade to a supported version immediately. If you cannot patch right away, CISA advises taking vulnerable systems offline. Always back up your website before making any major changes. Contact your web developer or hosting support for assistance if you are unsure how to proceed.













