CVE-2026-109618 and 1 related: PHP Remote Code Execution via Memory Corruption
Two actively exploited use-after-free vulnerabilities in PHP allow unauthenticated remote code execution through improper memory handling in out-of-memory scenarios and stale global state management. Attackers need only network access to compromise any PHP application running affected vers
CVE-2026-109618 and CVE-2026-109619 are critical memory safety flaws in PHP's request handling. The first arises from uninitialized request memory during out-of-memory (OOM) errors when longjmp() is used to abort execution. The second stems from global state pointers that reference freed request memory across multiple requests. Both have been confirmed actively exploited in the wild and allow complete system compromise.
| CVEs | CVE-2026-109618 (CVSS 9.8), CVE-2026-109619 (CVSS 8.1) |
|---|---|
| Severity | Critical (highest CVSS 9.8) |
| Actively exploited | Yes (CVE-2026-109618, CVE-2026-109619), listed in CISA's Known Exploited Vulnerabilities catalog on 26 Oct 2026 |
| CISA remediation deadline | 29 Oct 2026 |
| Weakness | CWE-416 (use after free), CWE-755, CWE-824, CWE-1325 |
| Attack vector | Network |
| Privileges required | None |
| User interaction | None |
| Published | 21 Oct 2026 |
How the attack works
In CVE-2026-109618, PHP's OOM handler uses longjmp() to exit a context but leaves request memory uninitialized, which is later read or branched on during cleanup. In CVE-2026-109619, global variables retain pointers to freed request memory that are not properly reset between requests; new requests may initialize this memory with attacker-controlled data or read stale pointers before initialization. In both cases, an attacker can craft requests that trigger these conditions and cause the server to execute arbitrary code in the PHP process context.
Who is affected
PHP versions 7.3.0 through 8.5.11 (with specific cutoff points at 8.2.34, 8.3.35, 8.4.26, 8.5.11). All web applications running PHP on these versions are at risk, regardless of framework or application logic.
Affected products listed:
- PHP (from 7.3.0, before 8.2.35)
- PHP (from 8.3.0, before 8.3.36)
- PHP (from 8.4.0, before 8.4.27)
- PHP (from 8.5.0, before 8.5.12)
- Siemens Ruggedcom Ape1808 Firmware
- Paloaltonetworks Pan-os (from 10.2.0, before 10.2.7)
- Paloaltonetworks Pan-os (version 10.2.7)
- Paloaltonetworks Pan-os (version 10.2.8)
- Paloaltonetworks Pan-os (version 10.2.9)
- Paloaltonetworks Pan-os (version 10.2.10)
…and 1 more configurations.
How to check if you're exposed
- Inventory all web servers and applications; check PHP version via phpinfo() page, 'php -v' CLI, or server headers in HTTP responses.
- Review web server logs for unusual spikes in 500 errors or segmentation faults around the time of exploitation attempts.
- Check process memory dumps or core files if available; look for patterns consistent with use-after-free exploitation.
- Monitor for unexpected child processes spawned by the PHP interpreter that may indicate successful code execution.
How to fix it
- Apply PHP security updates immediately: 8.2.35+, 8.3.36+, 8.4.27+, 8.5.12+.
- For legacy PHP 5.x or 7.x deployments no longer receiving updates, upgrade to PHP 8.2 or later within a maintenance window.
- Restart all PHP-FPM or web server processes after patching to ensure new code is loaded.
- Review and rotate credentials for any sensitive systems or databases connected to PHP applications during the window these flaws may have been exploited.
If you can't patch yet
- If immediate patching is not possible, deploy PHP applications behind a Web Application Firewall (WAF) configured to block unusual request patterns or excessive memory allocation attempts.
- Isolate affected PHP servers from public internet access; use a reverse proxy or API gateway to restrict inbound connections to known trusted sources.
- Implement strict resource limits (memory, CPU, process count) on PHP-FPM to reduce the window and impact of successful exploitation.
Need help checking your exposure or patching at scale? FutureOps InfoTech can help.