PHP End-of-Life Is a Business Risk: What “PHP2shell” Reveals About Patch Responsibility

Table of contents

For websites, commercial services, and enterprise systems, support deadlines are not merely a technical concern. Leaving vulnerabilities unpatched is a management and operational challenge that can directly lead to business disruption, a loss of customer trust, and budgetary impact.

This article uses PHP as a case study to explain why the expiration of software support poses a business risk, and what lessons can be drawn from real-world instances where vulnerabilities were exploited. It also outlines the key points that management, administrators, and engineers on the front lines should verify.

While this article focuses on PHP—a prominent example of a server-side application engine—it is important to note that similar levels of caution, consideration, and proactive measures are required for all other software and infrastructure components.

Key takeaways for executives and managers Key takeaways for executives and managers

Key pointWhy it matters to the organizationWhat to check first
End of support does not mean a system will stop running immediatelyA system may continue to work while no further fixes are provided for its versionInstalled PHP versions and their official support deadlines
A supported version can still be vulnerable before a fix is appliedCritical vulnerabilities such as PHP2shell can require urgent action even on supported branchesWhether each system is affected and whether the fixed release is installed
Upgrades are not an engineering-only taskTesting, business coordination, budget, and vendor responsibilities all matterNamed owners, deadlines, budget, and authority to approve a cutover
“We have not had an incident” is not proof of safetyUnknown systems and undetected compromise may remainAsset inventory, logs, and recovery procedures

Background: PHP2shell and the risks of unsupported versions Background: PHP2shell and the risks of unsupported versions

On 21 October 2026, the PHP development team released security updates for two critical vulnerabilities that became known collectively as PHP2shell. If exploited, the flaws could allow an unauthenticated remote attacker to execute code. On 26 October, the U.S. Cybersecurity and Infrastructure Security Agency (CISA) added both vulnerabilities to its Known Exploited Vulnerabilities (KEV) Catalog, which lists vulnerabilities for which there is evidence of exploitation. [1][3]

The reporting picture continued to develop. In an update dated 27 October, Wiz Research said it had observed a limited number of related attempts in its telemetry but had not observed successful attempts in that telemetry as of publication. It also noted that partners had privately shared working exploits. A lack of observed success in one telemetry source should not be interpreted as proof that exploitation has not occurred elsewhere. [2]

PHP2shell is not exclusively an end-of-life problem. A supported PHP branch can still be vulnerable if it is running a release from before the fix.

Conversely, when a branch is no longer supported, a newly discovered vulnerability may not receive a fix from the PHP project. Organizations may then need to migrate to a supported release or establish whether their operating-system or hosting provider offers a separately maintained package and what that support covers. [1][4][5]

1. The risks of leaving old versions in place 1. The risks of leaving old versions in place

Versions of PHP (or general-purpose software) are not supported indefinitely. The PHP project provides a period of active support followed by a period of security support. Once a branch reaches end of life (EOL), it is no longer supported by the PHP project. The application does not necessarily stop working on that date. That can make an unsupported installation easy to overlook: it appears to work normally even though its maintenance options have narrowed.

Check PHP’s support status Check PHP’s support status

As of 28 October 2026, PHP 8.2 through 8.5 are within the PHP project’s supported branches. However, security support for PHP 8.2 is scheduled to end on 31 December 2026. Even organizations using a supported branch should know when its support window closes and plan the next upgrade before it becomes urgent.

PHP branchEnd of official security supportStatus as of 28 October 2026
PHP 5.631 December 2018Unsupported
PHP 7.428 November 2022Unsupported
PHP 8.026 November 2023Unsupported
PHP 8.131 December 2025Unsupported
PHP 8.231 December 2026Supported, but security support ends soon
PHP 8.331 December 2027Supported; plan the next migration
PHP 8.431 December 2028Supported
PHP 8.531 December 2029Supported

Sources: the PHP project’s Supported Versions and Unsupported Branches pages. [4][5] Some operating-system distributions, hosting providers, or commercial vendors may supply their own extended maintenance. Verify the terms, affected packages, and responsibility boundaries rather than assuming such coverage exists.

The main risks of continuing to run an unsupported version include:

RiskWhat may happenBusiness or management impact
No upstream fixesA newly disclosed vulnerability may not receive an official fix for the branchThe organization may have to keep operating with a known, unresolved risk
Exposure to known weaknessesAttackers may use public information and automated scanning to find vulnerable systemsWebsite defacement, data exposure, or business interruption may result
Related software becomes harder to updateAn old PHP runtime may prevent upgrades to a CMS, framework, plugin, or libraryMigration work becomes more expensive and options become more limited
Maintenance capability erodesDocumentation is missing, the original developer has left, or a maintenance contract has endedResponse time and cost increase further

Counting the number of published vulnerabilities in an old release is not, by itself, a sufficient risk assessment. Counts vary with the database and inclusion criteria. The management questions are more practical: Is the system supported? Can a fix be applied? Is there a team or vendor able to maintain it continuously?

Why old PHP installations are left behind Why old PHP installations are left behind

A system that continues to run can make its risks less visible. Updates are often postponed because a service is difficult to take offline, an upgrade might break old application code, or nobody remains who understands the original implementation. Postponement does not remove the risk; it can accumulate work until a migration becomes urgent.

=== RISK & IMPACT PATH ===

  [ PHP branch reaches end of support ]
                   |
                   v
  [ Upstream fixes may no longer be available ]
                   |
                   v
  [ Known weaknesses remain and related ]
  [ components become harder to update  ]
                   |
                   v
  [ Higher risk of compromise, interruption, ]
  [ and prolonged recovery                   ]

This diagram does not mean that end of support automatically leads to a compromise. It shows how the loss of upstream maintenance can narrow an organization’s options. The next oneshows how a managed migration can improve its position.

=== MIGRATION & MITIGATION PATH ===

  [ Inventory assets and plan migration ]
                   |
                   v
  [ Assign an owner, budget, and deadline ]
                   |
                   v
  [ Migrate to a supported release and maintain it ]
                   |
                   v
  [ Review residual risk regularly ]

2. What real incidents teach us about PHP vulnerability response 2. What real incidents teach us about PHP vulnerability response

Case 1: Web shells associated with CVE-2024-4577 Case 1: Web shells associated with CVE-2024-4577

In July 2024, Japan’s Information-technology Promotion Agency (IPA), a public information-security organization, reported that CVE-2024-4577 had been exploited against multiple organizations in Japan and that web shells had reportedly been installed on affected web services. International advisories also reported active exploitation of the vulnerability.

A web shell is malicious code placed on a compromised web server to let an attacker issue commands or otherwise operate the server remotely. It can provide a foothold for further activity, including attempts to move into other systems or use the compromised server as infrastructure for attacks against others. The consequences may therefore extend beyond defacement of the original website.

This example does not mean that every old PHP installation will be compromised. It shows that a remotely reachable system with an exploitable flaw can become an entry point when the flaw is not fixed in time. CVE-2024-4577 had specific conditions: it affected certain PHP versions when running in CGI mode on Windows, particularly with Apache and particular code-page configurations. It did not affect every PHP deployment equally. As with any vulnerability, teams must verify the affected versions, operating system, and execution configuration rather than making assumptions based only on the language name. [6]

Case 2: PHP2shell—urgent fixes may be needed even on supported branches Case 2: PHP2shell—urgent fixes may be needed even on supported branches

PHP2shell comprises two vulnerabilities: CVE-2026-109618, associated with out-of-memory error handling, and CVE-2026-109619, associated with request processing and stale internal state. Successful exploitation could allow a remote, unauthenticated party to execute code.

On 21 October 2026, the PHP project released fixes in the following versions and strongly urged users to update.

PHP branchMinimum release containing the PHP2shell fixesSupport note
PHP 8.28.2.35Security support is scheduled to end on 31 December 2026
PHP 8.38.3.36Security support is scheduled to end on 31 December 2027
PHP 8.48.4.27Security support is scheduled to end on 31 December 2028
PHP 8.58.5.12Security support is scheduled to end on 31 December 2029
PHP 8.1 and earlierCheck branch and vendor statusThe PHP project no longer supports these branches; plan migration or verify separately maintained vendor support

Sources: PHP’s official 2026 release archive, the PHP support-status pages, and security research by Wiz. [1][2][4][5] These are minimum versions that include the fixes. Before deploying, check the current release supplied by the relevant operating-system distribution, hosting provider, or vendor.

Wiz Research reported that versions of PHP going back to 5.4 were affected by at least one of the two vulnerabilities. For unsupported branches, the PHP project’s normal release process does not provide the necessary fixes; a migration to a supported branch or a verified vendor-maintained product may therefore be required.

On 26 October 2026, CISA added both CVEs to its KEV Catalog. On 27 October, Wiz published an update describing the limited attempts seen in its telemetry, the absence of observed successful attempts in that telemetry at the time, and information from partners who had privately shared working exploits. These are different kinds of observations; organizations should follow current advisories and should not delay remediation while waiting for public reports of a successful attack against a particular target. [2][3][5]

What executives should take from these cases What executives should take from these cases

When a serious vulnerability is disclosed, engineers may need to identify every affected system, apply a fix, test it, and arrange a cutover under time pressure. That work depends on more than technical skill: business teams may need to approve a maintenance window, vendors may need to coordinate, and staff and budget must be available.

It is therefore not enough to tell engineers to “apply the update.” Management must provide a decision-making process that allows urgent work to be prioritized and the resources needed to carry it out.

3. The reality of defense in depth 3. The reality of defense in depth

One of the basic principles of security is defense in depth. Think of a house: a strong lock on the front door does not make the house secure if a back door or window is left open. And the fact that no one broke in today does not guarantee safety tomorrow.

Continuing to run an unsupported PHP release is similar to leaving a weakness in place while having fewer options to repair it. For internet-facing systems, organizations should assume that vulnerable services may be discovered through ongoing scanning and reduce weaknesses wherever possible.

Layer of defenseExample actionsWhat it helps with—and its limits
Patching and maintenanceKeep PHP, the CMS, frameworks, plugins, and libraries on supported releasesFixes known vulnerabilities; changes still need to be tested
Restricting exposureDisable unnecessary services and limit access to administrative interfacesReduces attack surface, but does not replace patching
Detection and monitoringReview access logs, unexpected files or accounts, and unusual network activityHelps identify suspicious activity, but monitoring alone cannot prevent compromise
Backup and recoveryProtect backups and test restoration and environment-rebuild proceduresSupports recovery; having a backup does not prove it can be restored successfully
Incident responseInvestigate scope, preserve evidence, rotate credentials when appropriate, and make a deliberate recovery decisionAvoids treating a suspected compromise as a problem that can always be solved by a restart or patch alone

None of these measures is a reason to leave unsupported software in place indefinitely. Network restrictions and stronger monitoring may reduce risk temporarily, but they do not guarantee long-term safety. Pair interim controls with a plan to migrate to a supported environment. [3][6][7]

4. What executives and managers should verify now 4. What executives and managers should verify now

Do not leave PHP upgrades and migrations solely to the engineering team. The organization should make the following items visible, assign owners, and set deadlines. It may not be possible to resolve every issue immediately, but uncertainty should not be allowed to remain ownerless.

PriorityQuestionExpected evidence or decisionPrimary owner
UrgentIs any system affected by PHP2shell?List of installed versions, exposure, and patch statusSystem administrators and maintenance providers
UrgentDo we know all the web systems we operate?Inventory including corporate, recruitment, campaign, brand, subsidiary, subdomain, and vendor-managed sitesIT leadership and business units
HighAre unsupported PHP branches still in use?Version, support deadline, business criticality, and internet exposureSystem administrators
HighAre migration ownership and deadlines clear?Named owner, target date, test lead, and cutover authorityIT and business service owners
HighAre people and budget available for migration?Approved plan, funding, and responsibilities across internal teams and suppliersExecutives and managers
OngoingCan the system be maintained after the upgrade?Regular support-lifecycle reviews, an update policy, and recovery-test recordsIT leadership and system administrators

1. Do we know where PHP is used? 1. Do we know where PHP is used?

Look beyond the main corporate website. Include recruitment and campaign sites, product and brand sites, subsidiary sites, old subdomains, and systems maintained by external agencies or hosting providers. These assets may have different owners and maintenance arrangements. PHP is also used by many widely deployed content-management systems, including WordPress, Drupal, and Joomla, so inventory work should include the applications and their dependencies—not just the main runtime.

According to W3Techs, PHP accounts for approximately 70% of the market share among server-side programming languages, placing it firmly in first place—well ahead of the runner-up. One out of every two websites using PHP relies on a version that is no longer supported. [2][8]

2. Have we confirmed the version that actually serves requests? 2. Have we confirmed the version that actually serves requests?

The PHP version reported by a command-line shell may differ from the version used to handle web requests. Confirm the runtime in the actual hosting environment with the cloud provider, hosting company, or maintenance vendor. Do not rely on a version number observed on one machine if the service uses multiple instances or execution environments.

3. Have we checked PHP2shell exposure and patch status? 3. Have we checked PHP2shell exposure and patch status?

Compare the running environment with the affected and fixed versions in PHP’s official advisory. For PHP 8.1 and earlier, do not assume that an upstream patch will be available: verify the support status and plan to migrate to a supported release or a product with clearly documented maintenance. Until the update is complete, consider appropriate interim controls, including restricting exposure. If effective controls cannot be put in place, management may need to consider blocking external access or temporarily suspending the service, based on potential harm and business impact. [1][3][4][5]

4. Are resources, deadlines, and decision authority in place? 4. Are resources, deadlines, and decision authority in place?

A statement such as “we will upgrade eventually” invites further delay. Name an accountable owner and set a deadline, budget, testing responsibility, and authority to approve a shutdown or cutover. For a legacy system, compare continued maintenance with other options: refactoring, replacing the product, reducing functionality, ending public access, or retiring the system. The decision should reflect the system’s current business purpose and whether it can be maintained safely. [3]

5. Can we continue maintaining the system after migration? 5. Can we continue maintaining the system after migration?

A one-time upgrade is not enough if the same problem returns at the next end-of-support date. Track the support lifecycles of PHP and its dependencies, and establish a repeatable process for planning, testing, and deploying updates. If no internal team or supplier can maintain a system, reconsider whether it should continue to operate at all.

Conclusion: End of support is not just an IT problem Conclusion: End of support is not just an IT problem

PHP end of life is not merely a technical issue of running an old version. It is an organizational risk involving potential exposure to unpatched vulnerabilities, the business impact of an attack, the cost of upgrades and migration, and the availability of people able to maintain the system.

PHP2shell demonstrates two realities: even a supported branch may require urgent action when a vulnerable release is in use, while an unsupported branch may not receive the fixes needed to address the problem. Organizations need to identify affected assets, apply the appropriate fixes, restrict exposure when necessary, and maintain a credible recovery capability as part of normal operations.

Executives and managers should not simply instruct engineers to upgrade. They must provide budget, people, authority, and a clear decision for systems that are difficult to migrate. Engineers, in turn, need to identify the actual runtime and its dependencies, explain risks and options, and establish safe procedures for updating and migration.

“It still runs” does not mean “it can be operated safely in the future.” Knowing the support deadline, assessing the risk, and acting on it are essential steps in protecting customer trust and business continuity.


References References

The source list below supports the numbered citations in the article. Recheck official advisories and vendor release notes before publishing or acting on this information.

  1. The PHP Group, “PHP 2026 News Archive” — Security releases dated 21 October 2026 for PHP 8.2.35, 8.3.36, 8.4.27, and 8.5.12, addressing CVE-2026-109618 and CVE-2026-109619. Official PHP release archive (opens in a new tab)
  2. Wiz Research, “PHP2Shell: AI uncovers critical RCE vulnerabilities affecting 70% of the Internet” (21 October 2026), and “PHP2Shell: Exploitation Attempts and Remediation Trends” (27 October 2026) — Vulnerability research, affected-version analysis, and observed exploitation activity. Initial research (opens in a new tab) · Follow-up on observed activity (opens in a new tab)
  3. Cybersecurity and Infrastructure Security Agency (CISA), “CISA Adds Two Known Exploited Vulnerabilities to Catalog” (26 October 2026) — Addition of CVE-2026-109618 and CVE-2026-109619 to the KEV Catalog. CISA announcement (opens in a new tab)
  4. The PHP Group, “Supported Versions” — PHP’s active-support and security-support lifecycle and current supported branches. Official support schedule (opens in a new tab)
  5. The PHP Group, “Unsupported Branches” — End-of-life dates and last releases for unsupported PHP branches. Official EOL list (opens in a new tab)
  6. Japan’s Information-technology Promotion Agency (IPA), “Attacks Targeting PHP Vulnerability CVE-2024-4577” (5 July 2024; updated 12 July 2024), alongside CERT-EU, “Vulnerabilities in PHP” (Security Advisory 2024-058, 13 June 2024) — Reporting on exploitation and web shells associated with CVE-2024-4577. IPA report (Japanese) (opens in a new tab) · CERT-EU advisory (English) (opens in a new tab)
  7. CISA and partner agencies, “#StopRansomware Guide” — General guidance on backup protection, recovery preparation, and incident response. CISA guide (opens in a new tab)
  8. W3Techs Usage statistics of PHP for websites (opens in a new tab) 28 October 2026.

The version-status and PHP2shell statements in this article reflect public information available as of 28 October 2026. For a specific deployment, confirm the latest release and support terms from the software, operating-system, hosting, or product vendor.

More on: Decisions about risk and systems

Scqr [secureal]

Scqr [secureal]: the engineering practice of Reflerd Inc. (opens in a new tab)

Comments and feedback are welcome.