PHP Fixes Critical Flaws That Could Enable Unauthenticated Remote Code Execution

Summary
PHP fixed CVE-2026-109618 and CVE-2026-109619, which could cause memory corruption and, under certain conditions, unauthenticated remote code execution. NCSC urges organisations to identify PHP systems and apply updates or mitigations.
Key points
- CVE-2026-109618 involves out-of-memory handling interrupting PHP while internal request data is partially initialized, potentially causing invalid cleanup.
- CVE-2026-109619 involves request-owned state persisting after its backing memory is freed, potentially allowing a later request handled by the same worker to use stale state.
- The flaws could cause memory corruption and, under certain conditions, enable unauthenticated remote code execution on affected web servers.
- PHP has fixed the issue. Organisations are urged to update to the latest fixed version; those on older releases should move to a fully supported version.
- NCSC advises identifying PHP installations across infrastructure, including internet-facing systems and third-party appliances or services that bundle PHP.
- If an update is not immediately possible, the PHP Team's temporary mitigations may be applied; systems that cannot be mitigated promptly should be considered for taking offline.
- Before upgrading or mitigating a system that could not be disabled immediately, NCSC recommends checking for signs of compromise, including attacker-installed backdoors.
Article Details
- Vulnerability Types
- Out-of-memory handling issue causing memory corruption
- Use-after-free of request-owned internal state
- Severity
- Critical
- Affected Versions
- PHP (all versions)
- Exploitation Status
- unknown
- Exploit Availability
- unknown
- Patch Status
- available
CVE
CVE-2026-109618PHP Group · PHP; Siemens · AMIS TS; +105 moreCVE-2026-109618: Out-of-memory handling can interrupt PHP while internal request data is only partially initialized. Request cleanup may then treat the invalid data as valid.CVE-2026-109619PHP Group · PHP; Siemens · AMIS TS; +106 moreCVE-2026-109619: Request-owned internal state can survive after its backing memory has been freed. A later request handled by the same worker may use that stale state before normal initialization resets it.
