Critical9.8

CVE-2026-109618: PHP Memory Corruption Vulnerability

PHP contains an out-of-memory corruption vulnerability that allows for unauthenticated remote code execution.

Added to the CISA KEV catalog: October 26, 2026

Overview

PHP contains a memory-corruption flaw in its out-of-memory error handling that allows unauthenticated remote code execution. When PHP exhausts its configured memory limit while processing a request, it calls longjmp() to abort the current context. In certain configurations, this exit leaves request memory in an invalid state that the shutdown procedure then reads or acts on, constituting a use-after-free condition. An attacker who can send HTTP requests to a PHP-enabled web server can trigger this condition without any credentials and execute arbitrary code as the web worker process account.

Vulnerability details

Affected vendor

PHP Group

Affected product

PHP

Weakness type (CWE)

CWE-416, CWE-755, CWE-824, CWE-1325, CWE-1419

PHP's OOM handler uses longjmp() to perform a non-local jump out of the current execution context when memory allocation fails. In certain contexts, particularly during request startup, PHP allocates and partially initializes request memory before any application code runs. If an allocation fails at that point, the longjmp() exit bypasses the normal cleanup path, leaving that memory in an uninitialized or partially freed state. The request shutdown procedure, which runs unconditionally in Apache mod_php even after a failed startup, then reads or branches on this invalid memory. This constitutes a use-after-free and uninitialized-pointer access (CWE-416, CWE-824) rooted in improper exceptional-condition handling (CWE-755).


An attacker sends crafted multipart HTTP requests to exhaust PHP's memory_limit before application code executes. Reliable OOM strategies include requests without a usable declared content-length that bypass the post_max_size check, parts carrying an unrestricted number of headers whose in-memory size far exceeds their wire size, and empty file upload fields with nested names that multiply array allocation work. No authentication is required. The confirmed impact is code execution as the PHP web worker account, validated against mod_php with default limits. Wiz Research demonstrated pre-authentication RCE against WordPress, Drupal, and Joomla. Active exploitation was observed within hours of disclosure.

Severity and impact

9.8

Critical

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack vector

Network

Attack complexity

Low

Privileges required

None

User interaction

None

Scope

Unchanged

Confidentiality impact

High

Integrity impact

High

Availability impact

High

Exploitation status

This vulnerability is confirmed as actively exploited in the wild — it is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

Known ransomware campaign use

Unknown

Detection and monitoring

  • Monitor web server access logs for multipart POST requests with missing or malformed Content-Length headers, an unusually large number of MIME part headers, or bodies containing repeated padded fields matching OOM-triggering strategies.
  • Look for outbound connections or child-process execution (wget, curl, sh, id) spawned by the PHP worker or web server process. Observed payloads printed the marker PHP2SHELL_CONFIRMED and fetched files from external hosts via wget.
  • Check PHP endpoints for multipart boundaries matching known scanner signatures, or PHP code embedded in filename or progress fields. Honeypot data recorded 819 distinct multipart boundaries across active exploitation attempts.

Remediation

Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see References) guidance and CISA’s “Forensics Triage Requirements” (see References). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.

Federal (FCEB) remediation due date

October 29, 2026

Additional hardening

  • Upgrade PHP to 8.2.35, 8.3.36, 8.4.27, or 8.5.12 for the respective release lines. See the vendor advisory in References for full version boundaries across all affected lines.
  • If patching is not immediately possible, set memory_limit=-1 at the server level and confirm no pool, directory, or application configuration restores a finite limit. This removes the primary confirmed exploit path but does not fully mitigate the flaw.
  • Restrict multipart request processing at the frontend: enforce a conservative post_max_size, cap the number of multipart parts and per-part headers, reduce max_input_nesting_level, and block multipart/form-data at the WAF if the application does not require it.
  • Isolate PHP worker processes with minimal OS privileges and block outbound network connections from the web worker. This limits post-exploitation reach and makes dropper-download activity detectable or blockable at the network layer.

Key dates

Published (NVD)

October 21, 2026

Added to CISA KEV

October 26, 2026

Remediation deadline

October 29, 2026

Last updated

October 30, 2026

Frequently Asked Questions

If PHP Group PHP runs inside your authorization boundary, CVE-2026-109618 affects your FedRAMP authorization directly. The vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, and its remediation deadline of October 29, 2026 has already passed. An unpatched KEV inside the boundary is an assessor finding. An overdue one is visible to both your assessor and your sponsoring agency. Your path forward is to remediate now or formally document the mitigation and the delay.

Knox does not patch PHP Group PHP on your behalf. Under the FedRAMP shared-responsibility model, remediating that software is your obligation. What Knox provides is the pre-authorized, single-tenant boundary in which you carry out that remediation, along with continuous compliance monitoring and audit-artifact coverage to document the fix for your next assessment. The work of applying the patch is yours. Managing your compliance posture while you do it is not something you handle alone.

Knox's automated continuous monitoring platform watches your environment continuously for newly disclosed vulnerabilities and compliance issues, including CVE-2026-109618. Exposure surfaces during ongoing monitoring rather than waiting until an assessor flags it at a scheduled review, giving your team time to act before a finding becomes a formal conversation with your agency.

Knox runs a FedRAMP-as-a-Service platform. It gives SaaS vendors a pre-authorized cloud boundary on AWS, Azure, and GCP. Your application inherits 60-80% of the required security controls. You reach FedRAMP authorization in about 90 days for roughly 90% less than the traditional $3.5M path. Book a meeting and Knox will map your path to authorization.

If CVE-2026-109618 remains unremediated, it is already a Plan of Action and Milestones (POA&M) item. A growing POA&M list is what turns a routine continuous-monitoring review into a difficult conversation with your sponsoring agency. Closing the finding out and documenting why the deadline was missed is what keeps your authorization standing clean and the agency relationship on solid ground.

Access Continuous Compliance

We never compromise on security. Meet with our team to discuss scope, readiness, and map your company’s accelerated path to government certification.

Please see our Privacy Policy for details on how we will handle this information.

Submit
Submit