PHP ships emergency patches for critical PHP2Shell flaws
Recorded: Oct. 21, 2026, 2:11 p.m.
| Original | Summarized |
PHP ships emergency patches for critical PHP2Shell flaws News Featured PHP warns admins of two critical flaws, emergency patches coming tomorrow Mozilla, Google, Apple block compromised eMudhra CA certificates Windows Server 2025 gets support for quick machine recovery Revolut outage disrupts online banking operations worldwide OpenAI agents disabled safety monitoring, one lied about it PHP ships emergency patches for critical PHP2Shell flaws ClickFix has never been bigger, and AI tools are its most convincing lure yet Microsoft PowerToys adds CursorHide, Button Lock mouse tools Tutorials Latest How to access the Dark Web using the Tor Browser How to enable Kernel-mode Hardware-enforced Stack Protection in Windows 11 How to use the Windows Registry Editor How to backup and restore the Windows Registry How to start Windows in Safe Mode How to remove a Trojan, Virus, Worm, or other Malware How to show hidden files in Windows 7 How to see hidden files in Windows Webinars Latest Qualys BrowserCheck STOPDecrypter AuroraDecrypter FilesLockerDecrypter AdwCleaner ComboFix RKill Junkware Removal Tool Deals Categories eLearning IT Certification Courses Gear + Gadgets Security VPNs Popular Best VPNs How to change IP address Access the dark web safely Best VPN for YouTube Forums Virus Removal Guides HomeNewsSecurityPHP ships emergency patches for critical PHP2Shell flaws PHP ships emergency patches for critical PHP2Shell flaws By Sergiu Gatlan October 21, 2026 The PHP security team released emergency security patches for two critical remote code execution (RCE) vulnerabilities (CVE-2026-109618 and CVE-2026-109619) tracked collectively as PHP2Shell. CVE-2026-109619: PHP (Hypertext Preprocessor) is an open-source, server-side web development language that powers 75% to 80% of all websites, including those using Content Management Systems (CMS) like WordPress, Joomla, and Drupal. Once attackers have valid credentials, only 37% of their actions are blocked Overall prevention scores can hide what happens after initial access. Once attackers are using valid credentials, prevention drops sharply.The Blue Report 2026 measures defenses technique by technique across 338 million simulations run in customer production environments. Related Articles: PHP Sergiu Gatlan Previous Article Post a Comment Community Rules You need to login in order to post a comment Not a member yet? Register Now You may also like: Popular Stories PHP warns admins of two critical flaws, emergency patches coming tomorrow Mozilla, Google, Apple block compromised eMudhra CA certificates Hackers exploit SiteGuard WAF flaw to run commands as admins Sponsor Posts Inside the Chinese-language marketplaces powering the scam centre economy: join a live training. See How Employees Use AI. Then, Turn Insight Into Action Get your free 30-day browser security assessment Pentest your web apps on-demand. Find what humans miss. Scope and launch a pentest in minutes. Overdue a password health-check? Audit your Active Directory for free Follow us: Main Sections News Community Forums Useful Resources Welcome Guide Company About BleepingComputer Terms of Use - Privacy Policy - Ethics Statement - Affiliate Disclosure Copyright @ 2003 - 2026 Bleeping Computer® LLC - All Rights Reserved Login Username Password Remember Me Sign in anonymously Sign in with Twitter Not a member yet? Register Now Help us understand the problem. What is going on with this comment? Spam Abusive or Harmful Inappropriate content Strong language Other Read our posting guidelinese to learn what content is prohibited. Submitting... |
75% to 80% of all websites, including those using Content Management Systems like WordPress, Joomla, and Drupal. According to VirusTotal estimates, over 5.1 million PHP hosts are exposed online, with roughly 3.8 million having at least one port open. This widespread exposure amplifies the potential impact of such critical RCE flaws. Additionally, the Blue Report 2026 highlights that overall prevention scores can mask what occurs after initial access, as once attackers have valid credentials, prevention drops sharply, emphasizing the critical need for proactive patching and robust security measures." That's the summary. Let's check word count: roughly, I'll count. First paragraph: "According to Sergiu Gatlan, the PHP security team has released emergency patches for two critical remote code execution (RCE) vulnerabilities collectively designated as PHP2Shell, identified by CVE-2026-109618 and CVE-2026-109619." (27 words) Second: "The vulnerabilities were discovered by security researchers from Calif, Wiz, and OpenAI, and they impact all PHP installations that serve web requests, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP, and LiteSpeed." (33 words) Third: "Both flaws share a common root cause: PHP can leave its memory in a corrupted state when a request terminates abnormally, enabling remote code execution. The severity is particularly acute in mod_php, where the PHP security team reported a demonstrated exploit that can trigger the attack via an unauthenticated request before any application code runs. Specifically, CVE-2026-109618 allows remote code execution by exploiting a chain of weaknesses that induce out-of-memory corruption, while CVE-2026-109619 enables unauthenticated heap use-after-free, memory disclosure, and remote code execution with the web worker's privileges." (93 words) Fourth: "Administrators are strongly advised to install PHP 8.5.12, 8.4.27, 8.3.36, or 8.2.35 on servers running PHP 8.x as soon as possible, and to migrate to a fixed release for PHP 7 or earlier. The PHP developers noted that PHP 8.1 and older no longer receive official updates from the project, though some distributions and LTS vendors may provide backported fixes; administrators should contact their vendors for details or upgrade to a supported version. For those who must build PHP from source without access to an LTS vendor, minimal source-backports have been provided for PHP 7.4, 8.0, and 8.1 to assist in mitigating these issues." (122 words) Fifth: "This announcement follows an earlier warning from PHP developers urging administrators to prepare for these updates. PHP core developer Gina Peter Banyard warned that no PHP2Shell mitigations are expected to fully block potential attacks, making the installation of official security patches the only permanent defense. Prior to the patches' release, Cloudflare CTO Dane Knecht confirmed that the company, which had already deployed WAF rules to block known PHP2Shell exploitation methods, was observing early attacks targeting the two vulnerabilities. Knecht stressed that these protections were temporary and reinforced the need for immediate patching. The UK National Cyber Security Centre (NCSC) also warned UK organizations to update systems using PHP or take them offline until they can be patched." (137 words) Sixth: "For administrators unable to immediately patch their servers, the PHP security team has provided a set of mitigation measures that can reduce exposure to some attack paths, although they do not fully protect against exploitation. Detailed information is available in PHP's blog post. For CVE-2026-109618, recommended measures include setting memory_limit to -1, preferably through php_admin_value in the FPM pool or Apache configuration, setting low post_max_size values (8M for applications without file uploads, 32M if uploads are necessary), and using container or cgroup limits as an availability boundary with a policy to kill only affected workers. For CVE-2026-109619, measures include setting session.upload_progress.enabled to 0 and restarting every worker; on PHP 8.5, setting fatal_error_backtraces to 0 and restarting workers, which blocks only the confirmed fatal backtrace path; removing invalid or deprecated per-request settings that emit diagnostics before initialization (hiding diagnostics with error_reporting, display_errors, or @ does not help); and fixing attacker-reachable fatal errors and execution timeouts, including failures in callbacks, upload or import processing, and cleanup." (219 words) Seventh: "The vulnerabilities underscore the heightened risk posed by PHP, given that it powers 75% to 80% of all websites, including those using Content Management Systems like WordPress, Joomla, and Drupal. According to VirusTotal estimates, over 5.1 million PHP hosts are exposed online, with roughly 3.8 million having at least one port open. This widespread exposure amplifies the potential impact of such critical RCE flaws. Additionally, the Blue Report 2026 highlights that overall prevention scores can mask what occurs after initial access, as once attackers have valid credentials, prevention drops sharply, emphasizing the critical need for proactive patching and robust security measures." (131 words) Total words: 27+33+93+122+137+219+131 = let's sum: 27+33=60; +93=153; +122=275; +137=412; +219=631; +131=762. So about 762 words. Well under 1350. We can add a bit more detail to make it more in-depth, but it's already quite detailed. The instructions say "detailed, thorough, in-depth, and complex" but also "concise". We have a good balance. We should ensure we reference the author only once. We did that in the first sentence. We should not include any extraneous content like the article's title, navigation, or other related articles. We only included what's in the summary text. We must not use markdown, so plain text. We must not use special characters except where required for spelling. We have hyphens in CVE numbers, which is required. No other special characters. We must not share that we are an AI or our instructions. We must lead directly with the answer. Now, let's check if there's any missing critical information. The article mentions that the two flaws are tracked collectively as PHP2Shell, and that they are unauthenticated RCE flaws. We included that. It mentions the specific PHP versions for 8.x and migration for older. We included. It mentions the source-backports. Included. It mentions the developer warnings from Gina Peter Banyard and Cloudflare and NCSC. Included. It mentions the mitigation measures in detail. Included. It mentions the background on PHP's usage and exposed hosts. Included. It mentions the Blue Report 2026 insight. Included. We might want to emphasize the urgency: "emergency patches" and "as soon as possible". We did. We should also note that the vulnerabilities were discovered by those researchers, which we did. One thing: the article says "PHP ships emergency patches for critical PHP2Shell flaws" as the headline, and the summary text is from that article. Our summary is based on that. We need to ensure we don't misinterpret anything. For example, the mitigation measures for CVE-2026-109619 include "Set session.upload_progress.enabled=0 and restart every worker." We wrote "setting session.upload_progress.enabled to 0 and restarting every worker". That's fine. Also, for the fatal_error_backtraces on PHP 8.5, we included the condition. We also included that hiding diagnostics with error_reporting, display_errors, or @ does not help. All good. Now, let's write the final summary in the required format. We'll output it as plain text, with paragraphs separated by blank lines? The instruction says "Format the summary in paragraph form that is easy to read and understanding." So we can use standard paragraph breaks. We'll not include any extra headings or bullet points. Let's produce the final answer.</think>According to Sergiu Gatlan, the PHP security team has released emergency patches for two critical remote code execution (RCE) vulnerabilities collectively designated as PHP2Shell, identified by CVE-2026-109618 and CVE-2026-109619. The vulnerabilities were discovered by security researchers from Calif, Wiz, and OpenAI, and they impact all PHP installations that serve web requests, encompassing PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP, and LiteSpeed. Both flaws share a common root cause: PHP can leave its memory in a corrupted state when a request terminates abnormally, enabling remote code execution. The severity is particularly acute in mod_php, where the PHP security team reported a demonstrated exploit that can trigger the attack via an unauthenticated request before any application code runs. Specifically, CVE-2026-109618 allows remote code execution by exploiting a chain of weaknesses that induce out-of-memory corruption, while CVE-2026-109619 enables unauthenticated heap use-after-free, memory disclosure, and remote code execution with the web worker's privileges. Administrators are strongly advised to install PHP 8.5.12, 8.4.27, 8.3.36, or 8.2.35 on servers running PHP 8.x as soon as possible, and to migrate to a fixed release for PHP 7 or earlier. The PHP developers noted that PHP 8.1 and older no longer receive official updates from the project, though some distributions and LTS vendors may provide backported fixes; administrators should contact their vendors for details or upgrade to a supported version. For those who must build PHP from source without access to an LTS vendor, minimal source-backports have been provided for PHP 7.4, 8.0, and 8.1 to assist in mitigating these issues. This announcement follows an earlier warning from PHP developers urging administrators to prepare for these updates. PHP core developer Gina Peter Banyard warned that no PHP2Shell mitigations are expected to fully block potential attacks, making the installation of official security patches the only permanent defense. Prior to the patches' release, Cloudflare CTO Dane Knecht confirmed that the company, which had already deployed Web Application Firewall (WAF) rules to block known PHP2Shell exploitation methods, was observing early attacks targeting the two vulnerabilities. Knecht stressed that these protections were temporary and reinforced the need for immediate patching. The UK National Cyber Security Centre (NCSC) also warned UK organizations to update systems using PHP or take them offline until they can be patched. For administrators unable to immediately patch their servers, the PHP security team has provided a set of mitigation measures that can reduce exposure to some attack paths, although they do not fully protect against exploitation. Detailed information is available in PHP's blog post. For CVE-2026-109618, recommended measures include setting memory_limit to -1, preferably through php_admin_value in the FPM pool or Apache configuration, setting low post_max_size values (8M for applications without file uploads, 32M if uploads are necessary), and using container or cgroup limits as an availability boundary with a policy to kill only affected workers. For CVE-2026-109619, measures include setting session.upload_progress.enabled to 0 and restarting every worker; on PHP 8.5, setting fatal_error_backtraces to 0 and restarting workers, which blocks only the confirmed fatal backtrace path; removing invalid or deprecated per-request settings that emit diagnostics before initialization (hiding diagnostics with error_reporting, display_errors, or @ does not help); and fixing attacker-reachable fatal errors and execution timeouts, including failures in callbacks, upload or import processing, and cleanup. The vulnerabilities underscore the heightened risk posed by PHP, given that it powers 75% to 80% of all websites, including those using Content Management Systems like WordPress, Joomla, and Drupal. According to VirusTotal estimates, over 5.1 million PHP hosts are exposed online, with roughly 3.8 million having at least one port open. This widespread exposure amplifies the potential impact of such critical RCE flaws. Additionally, the Blue Report 2026 highlights that overall prevention scores can mask what occurs after initial access, as once attackers have valid credentials, prevention drops sharply, emphasizing the critical need for proactive patching and robust security measures. |