CybersecurityPHP SecurityCVE-2026-109618CVE-2026-109619

Critical PHP Vulnerabilities in 2026: An Immediate Response Guide

On 21 October 2026, the UK's National Cyber Security Centre (NCSC) urged organisations to act immediately on two PHP vulnerabilities, CVE-2026-109618 and CVE-2026-109619. The issue can cause memory corruption and, under certain conditions, unauthenticated remote code execution. This guide turns the NCSC's alert into an operational response plan; confirm current fixes and mitigations with the PHP project and your vendors before acting.

BS

Bishu Studio Engineering Team

Core Software & Cloud Engineering Group

Published Oct 22, 2026•6 min read
Technically reviewed by Architecture & Security Board, Technical Reviewer — Distributed Systems & Security

Share this page

Good ideas are worth sharing.

Executive Summary & Key Takeaways

  • Treat internet-facing PHP services as the first priority, but inventory every PHP runtime, including those embedded in third-party products.
  • The NCSC advises updating to the latest fixed PHP release; temporary mitigations are a bridge, not a substitute for patching.
  • If a system cannot be secured promptly, consider taking it offline and investigate for signs of compromise before restoring it.

What the NCSC Has Reported

The NCSC describes two related flaws in PHP's handling of out-of-memory conditions. In CVE-2026-109618, an interrupted request may leave internal data only partly initialized, which cleanup can then treat as valid. In CVE-2026-109619, request-owned state may outlive its backing memory and be used by a later request handled by the same worker.

These conditions may corrupt memory and, in certain circumstances, enable unauthenticated command execution on a PHP web server. That is a potential outcome, not proof that any particular installation has been exploited. The NCSC says organisations using any version of PHP should assess exposure and move to a fixed, supported release.

Prioritize Exposure, Then Patch

Start with public websites, APIs, administrative interfaces, and services reachable through partners or VPNs. Identify the runtime version actually serving traffic, not just the version declared in a repository. Include container images, older environments, scheduled jobs, appliances, and vendor-managed products in the inventory.

Upgrade to the latest fixed PHP release suitable for your supported branch, following the PHP security advisory and distribution or vendor guidance. Teams on end-of-life branches should plan a move to a fully supported branch. Validate the deployed runtime after the rollout, restart or replace workers so the new build is active, and smoke-test critical user journeys.

Manage Systems You Cannot Patch Yet

The PHP Foundation has published temporary mitigations for systems that cannot be updated immediately; follow the current official instructions and document which systems still require a permanent fix. If neither a patch nor temporary mitigations can be applied quickly, the NCSC advises considering taking the system offline until it can be secured.

Where a vulnerable system must remain online, preserve relevant logs and assess it for evidence of compromise, including unexpected files, backdoors, changes to scheduled tasks, and unusual outbound connections. Escalate suspected compromise through your incident response process rather than assuming a successful upgrade removes an attacker's access.

Implementation & Decision Checklist

  • Identify every PHP installation and prioritize internet-facing services
  • Check the PHP project's current advisory and vendor releases, then deploy a fixed, supported build
  • Confirm the runtime version after deployment and test critical application flows
  • Track temporary mitigations and take unmitigated systems offline if necessary
  • Review potentially exposed systems for compromise and monitor vendor updates

Frequently Asked Questions

Straight answers to the most common questions decision-makers face.

No. The NCSC recommends identifying PHP installations generally rather than limiting discovery to old versions. Verify whether each deployment has received a fixed security update.

Sources

Topical Authority

Related Insights & Further Reading

Explore connected topics, architecture tradeoffs, and strategic perspectives.