PHP2Shell: critical PHP vulnerabilities CVE-2026-109618 and CVE-2026-109619

PHP2Shell at a glance

On October 21, 2026, the PHP security team released emergency updates for two critical vulnerabilities, CVE-2026-109618 and CVE-2026-109619. Collectively known as PHP2Shell, they could allow an unauthenticated attacker to execute code on a vulnerable web server under the relevant conditions.

Cybersecurity authorities in Europe, the United Kingdom, the United States, and Singapore urged organizations to identify PHP installations and patch promptly. Some operators temporarily took services offline while they applied security measures. A precautionary shutdown does not, by itself, indicate a successful attack.

What happened?

PHP is a server-side programming language used by websites, content management systems, and business applications. It often interacts with databases and sensitive resources, so flaws in its core can carry serious consequences.

On October 20, the PHP security team warned of an upcoming release for two critical flaws. Patches were issued on October 21. Both vulnerabilities have a CVSS v4.0 score of 9.2, according to the PHP Foundation and Singapore’s Cyber Security Agency.

  • CVE-2026-109618: Out-of-memory handling could leave partially initialized internal request data that later corrupts memory.
  • CVE-2026-109619: Request-owned state could persist after its backing memory was freed, allowing a later request to use stale state.

Successful exploitation could expose information, compromise hosted applications, disrupt services, or create a path to connected systems. These are potential outcomes; they are not evidence that every affected website was compromised.

PHP2Shell incident timeline

  1. October 20 — Initial warning. The PHP security team announced an upcoming release for two critical vulnerabilities.
  2. October 21 — Security releases. PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35 were issued. National cybersecurity authorities published urgent guidance.
  3. October 21–22 — Response. Organizations assessed PHP environments, deployed patches, and in some cases restricted access to services during remediation.
  4. October 23 — Continued monitoring. The FBI and Singapore’s Cyber Security Agency issued further guidance on patching and detecting suspicious activity.

Why is PHP2Shell critical?

The central concern is unauthenticated remote code execution: a vulnerable server may execute attacker-controlled instructions without requiring valid credentials. The actual impact depends on the deployed version, exposure, PHP process privileges, and other controls.

  • Unauthorized access to application data, credentials, or configuration files.
  • Modification or deletion of data.
  • Installation of malicious software or disruption of service.
  • Further attacks against connected infrastructure.

Which PHP versions are affected?

Official guidance advises organizations to assess PHP installations across all versions. For maintained upstream branches, the first patched releases are:

Patched upstream PHP releases
PHP branchPatched version
8.58.5.12
8.48.4.27
8.38.3.36
8.28.2.35

PHP 8.1 and earlier are end-of-life for normal upstream security releases. Check operating system or vendor-maintained packages for backported fixes, and plan migration to a supported branch. A PHP-based application is not automatically exploitable solely because it uses PHP; confirm the runtime, vendor patches, and configuration.

Why were websites taken offline?

Some operators suspended services as a precaution while assessing exposure and applying updates. For example, hosting provider cyon described temporarily taking hosted sites offline on October 21. Authorities also advised considering isolation or temporary shutdown when fixes or adequate mitigations could not be applied quickly.

A shutdown does not necessarily mean a site was attacked. The decision should account for exposure, business continuity, and alternative service channels.

What does PHP2Shell mean for businesses?

PHP may be present in corporate websites, ecommerce platforms, customer portals, internal applications, APIs, legacy systems, and third-party products. A vulnerable server may hold customer data, application secrets, or links to other business systems.

The immediate priority is to identify affected components. Longer term, the incident underscores the value of software inventory, vulnerability management, and verification that fixes actually reached every exposed system.

How to protect your organization

  1. Identify PHP installations. Inventory public and internal applications, servers, containers, and third-party products. Prioritize internet-facing systems.
  2. Apply security updates. Install the appropriate patched release or vendor-provided security update. Confirm applications still work after deployment.
  3. Monitor for suspicious activity. Review server and application logs and process telemetry. Investigate unexpected command-shell launches, downloads, and changes.
  4. Assess systems that cannot be patched immediately. Follow vendor guidance; restrict access or temporarily take a service offline if adequate protection cannot be established.
  5. Validate remediation. Confirm the patch is running across all affected assets and use authorized testing where appropriate. Patch availability does not prove deployment.

Why vulnerability validation matters

Major disclosures generate scanner findings and alerts that do not all represent the same level of exposure. Security teams need to determine which assets are affected, whether vulnerable services are reachable, what exploit conditions apply, which business systems could be exposed, and whether remediation worked.

Validation makes security findings actionable. It should complement immediate patching, never delay it.

How Tessen Security supports validation

Tessen Security helps organizations identify weaknesses, validate exploitable risks, and prioritize remediation within agreed testing scopes.

These services support proactive risk management. They do not replace vendor updates, incident response, or digital forensic investigations.

Frequently asked questions

What is PHP2Shell?

PHP2Shell is the name used for two critical PHP vulnerabilities, CVE-2026-109618 and CVE-2026-109619, disclosed in October 2026. Under affected conditions, they could enable unauthenticated remote code execution.

Are PHP2Shell Vulnerabilities Being Actively Exploited?

Major cybersecurity authorities, including the Federal Bureau of Investigation (FBI), National Security Agency (NSA), Cybersecurity and Infrastructure Security Agency (CISA), the UK's National Cyber Security Centre (NCSC), and Singapore's Cyber Security Agency (CSA), have issued warnings concerning the critical PHP2Shell vulnerabilities.

Are WordPress websites affected?

WordPress runs on PHP. Exposure depends on the PHP runtime and vendor patch status of the host, plus the deployment configuration. Ask the hosting provider to confirm the installed security update.

Can attackers exploit PHP2Shell without logging in?

Yes, the official advisories describe the potential for unauthenticated remote code execution under the relevant conditions.

Does applying a PHP patch completely secure a website?

The update addresses these PHP vulnerabilities. Other application weaknesses, compromised credentials, and insecure configurations still require attention.

Can penetration testing help after patching?

Targeted, authorized testing can confirm remediation and identify other weaknesses within an agreed scope. It should complement immediate patching.

Final thoughts

PHP2Shell shows how quickly a flaw in widely used software can become a concern across many independently managed systems. Organizations need visibility into their infrastructure, prompt updates, monitoring for suspicious activity, and verification that remediation worked.

Strengthen your security posture

A critical disclosure is a difficult time to discover gaps in asset visibility. Tessen Security helps organizations assess applications, validate findings, and understand the risks that matter most.

Discuss your security requirements →

References