Is PHP Really Dead? Or Still the Boss of the Internet?
If you have been following developer news this week, you have probably seen the headlines: critical PHP vulnerabilities, emergency patches, government websites temporarily taken offline, and AI-assisted security research.
So, is PHP finally showing its age—or is this a reminder of how much of the web still depends on it?
The immediate story is serious. On 21 October 2026, the PHP project released security updates for two critical vulnerabilities that could, under affected conditions, allow an unauthenticated attacker to execute code on a server. Security agencies urged organisations to identify PHP installations and apply the relevant fixes urgently. Some operators chose to isolate or temporarily take services offline while they assessed their exposure.
But a critical security flaw is not proof that a programming language is dead. It is a reason to understand the risk, patch supported runtimes, check vendor guidance for older installations, and take software maintenance seriously.
What happened in the October 2026 PHP security release?
The PHP project released these patched versions on 21 October 2026:
| PHP branch | Fixed release |
|---|---|
| PHP 8.5 | 8.5.12 |
| PHP 8.4 | 8.4.27 |
| PHP 8.3 | 8.3.36 |
| PHP 8.2 | 8.2.35 |
The release addresses two related critical vulnerabilities:
- CVE-2026-109618 — remote code execution through out-of-memory corruption. Under particular conditions, an out-of-memory event could leave internal request data only partly initialised. Later cleanup could treat that data as valid, potentially corrupting memory.
- CVE-2026-109619 — remote code execution through stale internal state. In certain error-handling paths, internal state could outlive the memory it referenced. A later request handled by the same worker could then use stale state before normal initialisation reset it.
The PHP Foundation described remote code execution scenarios affecting both Apache with mod_php and, through application-level paths, PHP-FPM. The UK National Cyber Security Centre (NCSC) and European cybersecurity authorities urged organisations to act quickly. These are runtime-level issues: a Laravel application does not automatically become safe just because its own application code has no known bug.
The practical message is simple: identify the PHP runtime serving your application and apply the fix supplied by your PHP distributor or hosting provider. Do not assume that changing the version returned by a local terminal has updated the runtime used by the live web server.
Does every PHP website have the same exposure?
No two deployments are identical, and the precise exploitability depends on the runtime, configuration, request handling and vendor-provided fixes. Still, the PHP project and security agencies urged users broadly to update and not to dismiss the issue simply because an installation is old or because an application uses a framework.
The PHP project says PHP 8.1 and older no longer receive upstream updates, although some Linux distributions and long-term-support vendors may provide backported fixes. Check the status of the actual package you run rather than assuming that a version number alone tells the whole story.
Official references:
- PHP security release and version guidance
- The PHP Foundation's explanation of the security release
- UK NCSC: Critical security issue affecting PHP
- EU agencies' joint statement on the PHP vulnerabilities
Why did the story become so big?
PHP is not a niche language used by a handful of new projects. It sits underneath a large amount of existing web infrastructure, from content-management systems to e-commerce sites and custom business applications.
W3Techs reported on 21 October 2026 that PHP was used by 69.3% of websites for which it could identify the server-side programming language. That statistic is not a claim that 69.3% of every website on the internet is vulnerable. It does help explain why a flaw in the PHP runtime attracted attention well beyond the PHP community.
The impact of a runtime vulnerability can extend across many unrelated applications because they share a common underlying component. A carefully maintained Laravel app, a legacy PHP portal and a CMS installation may have very different application code, yet all depend on the security of the PHP runtime that executes their requests.
This is why security teams, hosting providers, maintainers and application developers all have a role to play. The runtime needs a fix, vendors need to distribute it, and operators need to make sure it is actually deployed.
AI-assisted research is part of the story—but not the whole story
The disclosure also became a prominent example in the discussion about AI and software security. OpenAI said a model involved in its Patch the Planet initiative helped identify a critical flaw, while security firm Wiz independently reported both vulnerabilities. PHP maintainers led the work to fix and release the issues.
The PHP Foundation's account describes how the out-of-memory issue first surfaced during work following a 2024 external security audit. Fixing it involved difficult trade-offs: potential compatibility breaks, denial-of-service risks and the burden of coordinating changes across PHP's extensive extension ecosystem. The Foundation acknowledged that the decision process and limited specialist capacity contributed to delays.
That is a more useful lesson than saying “AI found a bug, therefore AI can replace security engineers.” AI-assisted tools can help researchers explore complex code and find problems, but responsible disclosure, exploit validation, careful patch design, compatibility testing and coordinated releases still require human expertise and ecosystem collaboration.
For a technical view of the public research, see the community msphp2shell research repository on GitHub. Treat proof-of-concept research as material for authorised security analysis—not as a substitute for patching, and never test it against systems you do not own or have explicit permission to assess.
The same capabilities that help defenders find defects can also lower the barrier for attackers. That makes timely patching and clear vendor communication even more important.
What should Laravel developers and site owners do now?
Laravel is a framework built on PHP; it does not replace the PHP runtime. Updating Laravel packages and updating PHP are separate maintenance tasks, and teams should check both.
Use this practical checklist to guide your response:
- Inventory every PHP runtime. Include production web servers, staging, containers, scheduled commands, queue workers and serverless deployments. Check the PHP version actually used by the service, not only the version in your interactive shell.
- Apply the appropriate vendor fix. For upstream-supported branches, check the fixed releases listed above. If your host or Linux distribution manages PHP packages, confirm that its security update includes the relevant fixes.
- Verify PHP-FPM and web-server configuration. Confirm which FPM pool or PHP binary your Nginx/Apache site uses, update the correct packages, and restart or reload the relevant services when required by your vendor's instructions.
- Refresh long-running workers. Queue workers and other persistent processes may continue using an old runtime until restarted. Follow your deployment process to restart them safely after the update.
- Check managed platforms. If you deploy on a serverless platform or managed hosting, identify the runtime version configured for the deployed function or service and follow that provider's update guidance. Updating a local development machine is not enough.
- If you cannot patch promptly, follow official mitigation advice. The PHP project and relevant security agencies provide guidance for affected installations. If you cannot update or apply an appropriate mitigation in time, consider isolating the exposed service until it can be made safe.
- Review your broader maintenance process. Keep PHP, Laravel, Composer dependencies, operating-system packages and deployment images on a regular update schedule. Test updates in staging, but do not let staging become a reason to leave a critical production fix unaddressed.
These are operational pointers, not a replacement for the official advisory. Exact package names, commands and service-restart requirements vary by operating system, hosting provider and deployment model.
PHP 8.2 is approaching the end of security support
There is another date worth putting on your engineering calendar. According to the official PHP support table, PHP 8.2 reaches the end of upstream security support on 31 December 2026.
The October security release includes PHP 8.2.35, but that does not extend the branch's support lifecycle. Once upstream security support ends, future security fixes may not be available from the PHP project. Some vendors may maintain their own backports; confirm the policy for your particular environment.
For teams still on PHP 8.2, use this moment to plan a supported upgrade path rather than treating every security incident as an isolated emergency. Review framework and package compatibility, run tests against the target PHP version, inspect deprecated behaviour, and make time for staging and rollout.
Laravel's support lifecycle is separate from PHP's. A supported PHP runtime does not automatically mean your Laravel major version is still receiving security fixes, and a framework upgrade does not automatically change the PHP runtime used in production. Check the current Laravel release and support policy alongside the official PHP supported versions table.
So, is PHP really dead?
No—this incident is not evidence that PHP is dead. It is evidence that a widely used runtime is critical infrastructure and that defects in foundational software can have consequences far beyond one application.
PHP continues to run a substantial share of the web. Its mature ecosystem, hosting availability and frameworks such as Laravel make it a practical choice for many products. None of those strengths remove the need for secure coding, active maintenance or a credible upgrade plan. Equally, a serious vulnerability should not be dismissed as internet drama just because a language is popular or familiar.
A better question than “Is PHP dead?” is: Are we maintaining the PHP applications we depend on?
For engineering teams, the answer should include a verified runtime inventory, a process for evaluating security advisories, timely updates, tested deployments and a clear plan for unsupported versions. For businesses, it means treating maintenance as part of the cost of running software—not an optional task to postpone until a headline appears.
Need help reviewing or upgrading a Laravel application?
If your team needs help checking its PHP runtime, planning a Laravel upgrade or improving the maintenance process for an existing application, talk to LaraTribe about your Laravel project.
We can help you clarify the current stack, assess upgrade considerations and plan a practical path for ongoing development and maintenance.
Sources and further reading
- Official PHP security release archive — 21 October 2026
- The PHP Foundation: Today's PHP Security Release, and How We're Strengthening PHP Security
- UK National Cyber Security Centre: Critical security issue affecting PHP
- ENISA and European cybersecurity agencies: Joint statement on critical PHP vulnerabilities
- OpenAI: Patch the Planet and coordinated disclosure of critical vulnerabilities
- PHP supported versions and end-of-life dates
- Laravel releases and support policy
- W3Techs: PHP usage statistics
- Community research: msphp2shell on GitHub
Editorial note: Recheck the official PHP advisory, It is general information, not incident-response or legal advice.