Back to Insights
Cybersecurity · Technology strategyPERSPECTIVE / 020

PHP keeps facing critical flaws. Is it time to seriously consider an alternative language?

Two major security releases in less than a month—and an incomplete fix from October—raise questions about PHP's long-term maintenance cost and risk for enterprise systems.

Automize InsightsPublished: Nov 20, 20267 min read
An iceberg shows a small visible application layer above water and a much larger PHP runtime risk below the surface.

On November 19, 2026, PHP released security updates 8.2.36, 8.3.37, 8.4.28 and 8.5.13, addressing 17 disclosed vulnerabilities, seven rated Critical. The releases came just 29 days after emergency patches on October 21 for two remote code execution (RCE) vulnerabilities collectively dubbed PHP2Shell.

When applying a patch is no longer the end of the story

This was more than another routine maintenance release. The newly disclosed flaws involved PHP internals—including session handling, memory management and communication between web servers and PHP-FPM. Most notably, the PHP team confirmed that one of November's vulnerabilities resulted from an incomplete October fix.

For businesses running corporate websites, online stores and internal applications on PHP, the question is no longer just which version to install. It is whether the language's development speed and low initial cost still provide the right trade-off once years of security maintenance and operational risk are included.

October's CVE-2026-109618 and CVE-2026-109619 attracted attention because they could enable remote code execution under their respective exploit conditions. PHP issued urgent updates and urged operators to patch.

On November 19, however, an official PHP security advisory identified CVE-2026-129481 as an incomplete fix for CVE-2026-109619. The problem is a use-after-free: software continues to access memory after that memory has been released.

That distinction matters operationally. A server that was fully patched in October could still be exposed to a related issue discovered in November. Successfully installing a security update does not guarantee that every path to exploiting the original defect has been eliminated.

In the same release cycle, security researchers at depthfirst disclosed phpAfterShell, CVE-2026-126714, with a CVSS v4.0 score of 9.2. If a session-file write is interrupted, PHP may leave inconsistent data that can later be deserialized into an unexpected object. Under suitable conditions, the researchers demonstrated a path to remote code execution.

Another November issue, CVE-2026-129289, concerns request smuggling in PHP-FPM when FastCGI connections are reused. Whether it is exploitable depends on the web server configuration and request-handling behavior; the disclosure does not mean every PHP website is vulnerable.

None of these findings proves that arbitrary PHP sites can be taken over. Nor does publication of a critical CVE establish that attackers exploited it as a zero-day before a fix existed. But recurring vulnerabilities inside the runtime—the layer beneath application code—highlight risks that careful application programming alone cannot remove.

Cheap to build—but is it still cheap to operate?

PHP retains genuine strengths: straightforward deployment, widely available hosting, a broad developer base and mature platforms such as WordPress, Laravel and WooCommerce. For many content sites and relatively simple applications, it remains an economical choice.

Yet the initial development bill is only one part of a system's total cost of ownership.

Every critical vulnerability means identifying affected versions, assessing compatibility, upgrading the runtime, performing regression tests and monitoring production after deployment. For long-lived applications tied to legacy plugins or soon-to-expire PHP versions, the work can be substantial.

Response time matters as much as the advisory itself. An organization able to test and deploy a fix within hours faces a different exposure window from one that needs days to coordinate developers, hosting providers and testing. Comparing CVE totals across languages alone cannot account for that difference.

PHP 8.2, in particular, is scheduled to reach the end of security support on December 31, 2026. Organizations still relying on that branch have an immediate lifecycle decision to make rather than another upgrade to postpone indefinitely.

For new projects, maintenance capacity, patch deployment speed and support lifecycle deserve the same weight as development velocity.

Should teams consider Go, Java or Rust instead?

Considering an alternative to PHP does not mean assuming every other language is free of security vulnerabilities.

Go offers automatic memory management, self-contained compiled binaries and a relatively simple deployment model for services and APIs. Java and C# offer managed runtimes and extensive enterprise ecosystems. Rust emphasizes memory safety at compile time, reducing some classes of memory errors in safe Rust code, although it often requires more specialized expertise and development investment.

These options merit serious evaluation. But there is no basis for claiming that moving to Go, Java or Rust automatically makes an application safer. Runtimes, frameworks, dependencies and deployment configurations in every ecosystem can contain vulnerabilities.

What matters is the match between technology, workload and team. An organization starting a sensitive-data backend, looking for independent service deployment and already skilled in Go may have a sound reason not to default to PHP. Conversely, rewriting a stable Laravel application solely because of one critical CVE release could introduce more risk than it removes.

For existing systems, upgrading the runtime, retiring unsupported dependencies and improving automated tests are usually more defensible first steps. Teams can isolate new services when there is a clear architectural benefit. Greenfield projects offer the chance to compare languages without the cost of migrating an entire live application.

PHP need not disappear—but it should not be chosen by habit

Two closely spaced security releases are not sufficient evidence that PHP has become less secure than competing languages. Disclosure counts also reflect research activity, detection capability and the transparency of each ecosystem.

Even so, October and November 2026 provide concrete reasons to revisit technology choices, particularly after a serious vulnerability required further work in a subsequent patch release.

For existing PHP estates, patching and sound operational controls remain the immediate priorities. For software expected to serve a business for five to ten years, the strategic question is larger: not simply whether PHP meets today's needs, but whether the organization can maintain and defend that stack throughout the product's life.

Perhaps it is time to stop choosing PHP by default just because the team knows it, hosting is convenient and early development seems inexpensive. The point is not to abandon PHP at any cost, but to ensure that continuing to use it is a deliberate engineering and economic decision.

Turn technology into business outcomes.

From strategy and business processes to delivery and operations, let’s explore what matters.

Talk to Automize

Related insights