← Technology, Science & Infrastructure ▣ Distilled locally

Responding to core PHP vulnerabilities CVE-2026-109618 and CVE-2026-109619

By Raluca Ada Popa
October 21, 2026  ·  Google Cloud Blog ↗
Responding to core PHP vulnerabilities CVE-2026-109618 and CVE-2026-109619

Editor's note: This blog was updated on Oct. 23, 2026 at 3:20 p.m. PDT, with additional guidance from Mandiant Consulting on monitoring, patching, and remediation. We have previously updated the blog on Oct. 22, 2026, with revised guidance for Security Command Center and Cloud Armor, and on Oct. 21, 2026.

PHP and Wiz Research disclosed today two critical vulnerabilities in the core PHP language runtime that can expose applications to unauthenticated remote code execution and memory disclosure. Wiz used a mix of models to identify and help remediate these vulnerabilities. 

Notably, Gemini 4 Argon made an invaluable contribution to finding the vulnerability, exploit development, attack detection, and validation of the patch.

While Google Cloud itself is not vulnerable, users of PHP running on Google Cloud may be vulnerable. At Google Cloud, we understand the severity of these vulnerabilities, and are sharing guidance to help our customers take immediate action to secure their applications.

Vulnerability background

PHP is a widely-used, server-side scripting language that powers many websites, content management systems, and web applications. On Oct. 21, 2026, CVE.org assigned the vulnerabilities as CVE-2026-109618 and CVE-2026-109619. 

The official Common Vulnerability Scoring System (CVSS) base severity score for each of the PHP flaws has been determined as Critical, a severity of 9.2. Generally, this ranking means that threat actors can crash and hijack the affected system, and can easily steal, alter, and wipe its data — although mitigating circumstances can make it harder to exploit the flaw.

Wiz Research has published a detailed description of the research and the coordinated disclosure process.

Update PHP and redeploy your applications

We urge all customers running PHP applications on Google Cloud to immediately update to PHP 8.2 or newer, and redeploy their services using a patched version.

This applies specifically to applications deployed on:

Automatic patches for serverless platforms

Google Cloud is rolling out updated serverless base images for all supported PHP versions on App Engine Standard, App Engine Flexible, Cloud Run, Cloud Run function, and Cloud Functions for Firebase.

What this means for you:

Important considerations:

Mitigating CVE-2026-109618 and CVE-2026-109619 with Cloud Armor

Cloud Armor has issued recommended mitigations that use Cloud Armor managed rules. Customers with active managed rules do not need to take action; protection against these vulnerabilities is applied automatically.

If you have not yet deployed Cloud Armor managed rules, doing so now can still help you mitigate these vulnerabilities. The Cloud Armor managed rules protections are available now through automatically-updated threat intelligence rulesets.

These rules are intended to help protect your internet-facing PHP applications and services that use global or regional application load balancers. Follow these steps to deploy the rules immediately as a frontline defense-in-depth mitigation while your vulnerability management program updates and verifies all vulnerable PHP instances in your environment.

1. Deploying stable managed rules in enforce mode for automatic updates:

To protect your workloads, follow this guide to enable the File Upload and RFI categories. We recommend that you configure all ruleset categories in the stable version in enforced mode.

2. Mitigate risk on request bodies that exceed configured inspection limits:

Create a rule in your security policies to help ensure that no uninspected or unnecessarily large content reaches your backends. This is important for these CVEs, because threat actors may use large payloads to trigger out-of-memory conditions. 

Verifying WAF rule safety for your application and consuming telemetry

Consult our Cloud Armor best practices guide and account for service limitations to minimize risk and optimize performance.

Cloud Armor mitigations serve solely as compensating controls in your layered defense to reduce immediate exposure. Upgrading PHP to a fixed version and redeploying services is required to fully resolve these vulnerabilities.

Monitoring and auditing 

Google Cloud and Wiz are currently supporting customers with active monitoring, auditing, and runtime detection across its native security offerings. Customers can use:

Additionally, Mandiant Threat Defense is actively supporting customers by monitoring curated detections in Google Security Operations and hunting for evidence of intrusion activity related to this campaign.

Patching and remediation

The PHP security release has been published. You should update PHP across every server environment, container image, and deployment pipeline. In addition:

Prepatch PHP runtime hardening

If you can not upgrade every binary immediately, apply the following settings in your master startup php.ini or static FPM pool configuration (php_admin_value / php_admin_flag) and restart all workers.

code_block <ListValue: [StructValue([('code', '; === 1. Neutralize CVE-2026-109619 Stale Pointer Producers ===\r\n; PERMANENTLY disable session upload progress unless your application explicitly uses\r\n; upload progress tracking.\r\nsession.upload_progress.enabled = 0\r\n\r\n\r\n; On PHP <8.5.12: prevent fatal errors from storing request-owned backtrace pointers\r\nfatal_error_backtraces = 0\r\n\r\n\r\n; === 2. Neutralize CVE-2026-109618 OOM Bailout & Multipart Amplification ===\r\n; TEMPORARY pre-patch stopgap: remove the per-request PHP OOM longjmp() failure path.\r\n; IMPORTANT: Pair with cgroup/container MemoryMax= (NOT ulimit -v / RLIMIT_AS), and\r\n; revert to a finite memory_limit once PHP 8.5.12 / 8.4.27 / 8.3.36 / 8.2.35 is\r\n; installed.\r\nmemory_limit = -1\r\n\r\n\r\n; PERMANENTLY enforce conservative upload and input complexity bounds to collapse the\r\n; 390x nested empty-filename $_FILES heap amplifier (Karasawa2025 PoC):\r\npost_max_size = 8M\r\nupload_max_filesize = 4M\r\nmax_input_nesting_level = 16\r\nmax_input_vars = 250\r\nmax_file_uploads = 10\r\nmax_multipart_body_parts = 100\r\n; IMPORTANT: If the service does not accept file uploads at all, disable them outright:\r\n; file_uploads = Off\r\n\r\n\r\n; === 3. Defense-in-Depth Runtime Hygiene ===\r\n; PERMANENTLY implement these PHP hygiene measures.\r\nexpose_php = Off\r\ndisplay_errors = Off\r\ndisplay_startup_errors = Off\r\nlog_errors = On'), ('language', ''), ('caption', <wagtail.rich_text.RichText object at 0x7f32a743da10>)])]>

Edge proxy and WAF controls

Because RFC 1867 multipart parsing occurs before script execution, reverse proxies and WAFs serve as critical frontline defenses. To defend against recent PoCs, edge controls should focus on mitigating four key evasion techniques:

Operating system sandboxing and detections

Because native use-after-free execution runs inside the worker process — allowing RCE payloads to bypass PHP security settings — robust operating system containment and network monitoring remain critical across both pre-patch and post-patch phases.

What to hunt for 

Detection Layer

High-Signal Indicator to Alert On

Why It Matters / Evasion Caveat

Outbound HTTP / WAF Egress Logs

Set-Cookie: PHPSESSID= headers > 256 bytes or match regex:PHPSESSID=[A-Za-z0-9%,_-]{257,}

Typical PHPSESSID cookies are between 22 and 256 bytes. Catches Heartbleed-style heap leaks (up to 800 KB).

IMPORTANT: Include '%' in regexes as leaked pointers are URL-encoded (%XX) by php_url_encode().

Web Server Access Logs (Apache / NGINX)

Bursts of 50–150 concurrent persistent 'OPTIONS * HTTP/1.1' keep-alive connections OR slow-chunked multipart POSTs

Detects Apache mpm_prefork worker-pool fencing (PreforkParking) and slow HTTP chunk streaming used to pin a single free worker for multi-request heap reuse.

Web Application / HTTP

Repeated '.php/' URI segments (e.g., /index.php/index.php/...) returning HTTP 404

Detects Karasawa2025's cookie-less ext/phar OOB heap leak in HTTP 404 bodies.

Web Application / HTTP

Rapid interleaved HTTP 500/200 POST bursts against the same endpoint

Detects blind pointer-comparison (*ptr) memory disclosure which leaks memory byte-by-byte without emitting anomalous response cookies.

EDR / auditd Process Telemetry

Child processes (e.g., sh, bash, curl, wget, nc, python,chmod) spawned by php-fpm, httpd, apache2, or frankenphp (UID www-data)

Catches zif_system / zif_passthru RCE payloads. Note: Karasawa2025 & LyesH4ck chain zif_passthru + _zend_bailout to return output in HTTP 200 with ZERO SIGSEGV crashes and ZERO error.log entries.

Host Application Telemetry

Spikes in FastCGI / PHP-FPM worker respawns (SIGSEGV exit code 139) or core dumps

Catches failed heap shaping attempts and memory alignment probes that fail before reaching the clean bailout path

We will continue to monitor the situation closely and provide further updates and guidance as necessary. For the most current information and detailed steps, please refer to the Google Cloud security bulletin.

Originally published by Google Cloud Blog ↗ · rebuilt here from its own full-text RSS feed · all rights remain with the publisher, please read and support them there.