
Cybersecurity Essentials Every Small Business Needs in 2026
6 min

On 21 October 2026, the PHP project released an emergency security update that fixes two critical remote code execution (RCE) vulnerabilities. Under the right conditions, an unauthenticated attacker can run code on a server simply by sending a web request — no login, no application bug required. The PHP Foundation rated both issues CVSS v4.0 9.2 (critical) and the official advisory carries a blunt headline: "update now." If you run PHP anywhere in your stack, this one is not optional.
Both flaws live deep in PHP's core memory management and error handling, which is why they affect PHP itself rather than any single framework or CMS. The nickname circulating in the security community is "PHP2Shell." Here is what each one does, with the official identifiers:
According to php.net, the vulnerabilities affect all PHP installations serving web requests. The risk is considered highest for mod_php, where a demonstrated exploit lets an unauthenticated request trigger the attack before application code runs. Affected server configurations include:
The only complete fix is to upgrade to a patched PHP version. The PHP project released fixes across all supported branches — update to whichever matches your current major/minor line:
php.net is explicit that these mitigations are NOT a substitute for updating — they only reduce exposure until you can deploy a patched build. Apply them via server-level configuration (php_admin_value in your FPM pool or Apache config), not via ini_set() or a .user.ini file, which attackers may be able to work around:
Before and after patching, confirm the exact version on every host (web servers, containers, and CLI workers can differ). From a shell run `php -v`, and for the version your web requests actually use, create a temporary file containing `<?php phpversion();` or check a locked-down phpinfo() page — then delete it. In Docker, rebuild from an updated base image rather than patching a running container. Don't forget background/queue workers and cron jobs, which often run a separate PHP binary.
Treat this as a same-day action item. If we manage your hosting or application, we are auditing PHP versions across your environments and rolling out the patched builds. If you self-host, prioritise internet-facing mod_php servers first, apply the vendor update, and verify the new version is live on every worker. If you're unsure what you're exposed to, get in touch and we'll review it with you.
All facts in this article come directly from the official PHP announcement and advisories. Always verify against these primary sources:
Blinknbuild Systems
Content writer at Blinknbuild Systems, covering the latest in technology and digital transformation.