Technical details
The vulnerabilities CVE-2026-109618 and CVE-2026-109619
Contents
- CVE-2026-109618: memory corruption during out-of-memory
- Description
- Preconditions, as stated in the advisory
- Impact
- CVE-2026-109619: global state that survives between requests
- Description
- Preconditions, as stated in the advisory
- Impact
- CVE-2026-115560: a separate session upload progress issue (23 Oct 2026)
- How the researchers group them
- Affected environments
- Exploitation status
On 21 October 2026 the PHP project published two critical advisories, and on 23 October an informational notice about a third, separate and far more limited issue. Below we record what each one says, with a reference to the original. The exploitation preconditions are not the same for the two vulnerabilities, nor for all environments.
CVE-2026-109618
RCE via OOM corruption
CVSS v4.0 9.2 PHP (GitHub advisory)
CVSS v3.1 8.1 Red Hat (own assessment, “Important”)
Fixed on 21 Oct 2026
CVE-2026-109619
RCE via stale global state
CVSS v4.0 9.2 PHP (GitHub advisory)
Fixed on 21 Oct 2026
CVE-2026-115560
Session serializer mismatch can lead to remote code execution
CVSS v4.0 9.2 PHP (GitHub advisory)
Fixed on 19 Nov 2026 (8.5.13, 8.4.28, 8.3.37, 8.2.36); the fix disables session upload progress by default
CVE-2026-126714
Partially overwritten session files can lead to remote code execution
No CVSS published
Fixed on 19 Nov 2026. Critical according to Red Hat; concerns the default files session handler
CVE-2026-129289
PHP-FPM request smuggling through an unread HTTP request body
No CVSS published
Fixed on 19 Nov 2026. Critical according to Red Hat
CVE-2026-109618: memory corruption during out-of-memory#
Official title: “RCE via OOM corruption” · Advisory: GHSA-w8hw-w9fx-j79w · Severity: Critical, CVSS v4.0 9.2
Description#
PHP used longjmp() to abort processing of a request when memory is exhausted. If request memory is already reachable before it has been fully initialised, a failed allocation can leave it in an invalid state. Request shutdown can then read that memory or base decisions on it. Various memory-exhaustion strategies lead to remote code execution.
Preconditions, as stated in the advisory#
- The attacker must be able to drive a request into memory exhaustion, e.g. by abusing multipart processing: requests without a usable
Content-Length, unlimited headers per part, many empty file fields, nested field names. Alternatively, through large memory allocations caused by the application itself. - No authentication is required. Attack complexity is rated high and there are attack requirements (AC:H, AT:P).
- Confirmed: Apache with mod_php, with default limits and prefork workers.
- PHP-FPM: the advisory assesses it as vulnerable through code analysis, without a full exploit. The PHP Foundation reports confirmed RCE on FPM via application-level paths.
- FrankenPHP and LSAPI: likely vulnerable, not validated.
Impact#
Code execution with the privileges of the user running the PHP worker. Full impact on the confidentiality, integrity and availability of the vulnerable system.
Sources: php-src (GitHub) · PHP project · The PHP FoundationCVE-2026-109619: global state that survives between requests#
Official title: “RCE via stale global state” · Advisory: GHSA-6wmf-4rv5-p3rp · Severity: Critical, CVSS v4.0 9.2
Description#
PHP maintains global state (errors, session, objects, extensions) that a persistent worker retains after a request ends, while it still points to that request’s memory. If the state is not cleared before the memory is freed, an operation in a subsequent request that runs before normal initialisation can use it (use-after-free). According to the advisory, with a suitably crafted memory layout the result can be full remote code execution. Such state can be left behind by fatal errors (memory exhaustion, timeouts) but also by certain non-fatal diagnostic messages.
Preconditions, as stated in the advisory#
- One request (the “producer”) leaves state in a global location that survives, and a subsequent request (the “consumer”) on the same worker uses it. More workers or frequent recycling reduce the chance of success per attempt, without eliminating the problem.
- Confirmed: PHP 8.5 with
fatal_error_backtracesenabled. - Confirmed: session upload progress, which is enabled by default and does not require the application to call
session_start(). - Early INI diagnostic messages (e.g. deprecated or invalid settings applied before initialisation) can act as “consumers”. This depends on the SAPI, e.g.
php_valuesettings in.htaccesswith mod_php. FPM is exposed under certain conditions. - There is no complete mitigation through configuration alone.
Impact#
Use-after-free with a worker crash, memory disclosure or, under certain conditions, code execution. Wiz also describes a general remote disclosure of process memory.
Sources: php-src (GitHub) · PHP project · Wiz ResearchCVE-2026-115560: a separate session upload progress issue (23 Oct 2026)#
On 23 October 2026 the PHP project published an informational notice about one more, separate vulnerability. On 19 November 2026 the full advisory GHSA-658j-r8rw-q6mx and the fix were published. The key points:
- It is fixed in 8.5.13, 8.4.28, 8.3.37 and 8.2.36 (19 Nov 2026). The 21 October releases (8.5.12, 8.4.27, 8.3.36, 8.2.35) fix PHP2Shell but not this issue.
- Advisory title: “Session serializer mismatch can lead to remote code execution”. Severity Critical, CVSS v4 9.2 (
AV:N/AC:H/AT:P/PR:N/UI:N), CWE-20 and CWE-502. - Session upload progress can write attacker-controlled data with one serializer that is then read back with another. The mismatched decoder can interpret part of the key as serialized object data; with a suitable gadget chain in the application, code runs with the PHP worker’s privileges.
- The original notice (23 October) described an unusual setup as a precondition:
session.serialize_handlerset tophp_binaryorphp_serialize, switched tophpwithini_set()beforesession_start(), withsession.upload_progress.enabledon. - The fix disables session upload progress by default. Where you enable it explicitly, every reader and writer of the same session store must use the same
session.serialize_handler, even after updating; where applications need different formats, isolate session storage. - Until you upgrade:
session.upload_progress.enabled=0, set at server level rather than viaini_set(). See how to apply it correctly. - The same releases fix further critical vulnerabilities, e.g. CVE-2026-126714 (partially written session files, “phpAfterShell”) and CVE-2026-129289 (PHP-FPM request smuggling). On 20 November 2026 watchTowr reported no exploitation and that the CVEs are not in the KEV catalog. The same day Imunify360 reported attack attempts against CVE-2026-129289 since 19 November, with no numbers and no confirmed compromises; on 25 November CloudLinux noted that the CVEs are still not in KEV. See the related news item.
How the researchers group them#
The researchers’ write-ups describe more than two specific paths (e.g. session upload progress with the unserializer, fatal error backtrace, OPcache) and characterise them as variants of the same pattern. The mapping of each path to a CVE is not presented the same way in every source. Here we follow the titles and descriptions of the PHP project’s official advisories. Wiz notes that other variants probably exist and that the fix addresses the problem at its root.
Sources: Wiz Research · Calif · WizAffected environments#
According to the PHP project: all PHP installations that serve web requests, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. The official advisories list as affected all versions of the supported branches before 8.2.35, 8.3.36, 8.4.27 and 8.5.12. The researchers state that the problem exists in almost every version since PHP 5.4. For unsupported branches there is no fixed upstream release: see the versions table.
The advisories do not explicitly describe the impact on CLI, embed or ZTS builds. We do not present them as “not affected”; there is simply no official statement.
Exploitation status#
The information is changing quickly. Every claim has a date and a source:
- The CVE identifiers leaked (with a wrong release time and a wrong score of 10.0). The PHP project brought the release forward by one day. Source: The PHP Foundation
- NSA and CISA urged immediate patching. CISA said it had not observed exploitation. Source: ExecutiveGov (on NSA/CISA)
- The Canadian Centre for Cyber Security reported that a proof of concept exists, with no active exploitation identified at that time. Source: Canadian Centre for Cyber Security
- watchTowr reported observing exploitation of both CVEs in its honeypot network. It does not report confirmed compromises of real systems. Source: watchTowr
- AWS (update of 22 Oct) recorded an exploitation attempt against a honeypot as early as 17 Oct, i.e. before disclosure, and broad attempts after 21 Oct. It says it is unclear whether the attempts would have succeeded and reports no confirmed compromises. Source: Amazon Web Services
- The PHP project published an informational advisory on the separate CVE-2026-115560 (unlikely RCE vector in unusual session configurations). No exploitation of it was reported. Source: PHP project
- Unit 42 (Palo Alto Networks) described a successful exploitation at a government entity in Europe: a web shell and, within two hours, access to password hashes and MFA secrets, with an attempted Domain Admin escalation. It is the first public report of a successful compromise we found. Unit 42 retracted this report on 25 October. Source: Unit 42 (Palo Alto Networks)
- CYFIRMA reported low-volume scanning of 216 hosts in 12 regions, which it attributes with high confidence to a North Korea-linked actor. It states that no confirmed mass successful exploitation by this actor has been observed. Source: CYFIRMA
- Unit 42 retracted its 23 October update on a compromise at a government entity in Europe, stating that it cannot confirm that the initial access is associated with the PHP2Shell CVEs. Source: Unit 42 (Palo Alto Networks)
- CISA added CVE-2026-109618 and CVE-2026-109619 to its Known Exploited Vulnerabilities (KEV) catalog, with a 29 October 2026 deadline for US federal agencies. It is the first official government confirmation of exploitation we found. Source: CISA
- Dream described, based on material recovered from attacker infrastructure, a PHP2Shell and Fragnesia (CVE-2026-46300) chain that gave root on 25 servers (mostly firewalls from a vendor it does not name) in the US, Japan, Taiwan and South Korea, including three systems of a US government-affiliated organisation. It states that it cannot determine the full extent of the compromise. Source: Dream
- Palo Alto Networks' advisory (updated 28 Oct) reports active exploitation targeting the PAN-OS management interface when exposed to the internet. It is the first vendor confirmation of exploitation against real systems we found. Source: Palo Alto Networks
- CISA added the Linux kernel flaw Fragnesia (CVE-2026-46300) to its KEV catalog, with a 31 October 2026 deadline. The entry explicitly states that it can be chained with CVE-2026-109618 and CVE-2026-109619 to implant PHP web shells and run commands as root. Source: CISA
- Unit 42 said it had independently verified the attacker's tooling and the results Dream described, tying the campaign (PHP2Shell plus a Linux kernel privilege escalation) to internet-exposed PAN-OS management interfaces. About 0.02% of Palo Alto Networks' installed base was impacted. Source: Unit 42 (Palo Alto Networks)
- In an update to its analysis Dream named Palo Alto Networks as the firewall vendor and said Unit 42 tracks the activity as CL-UNK-1280, attributing it to a Chinese-speaking attacker (UTC+8). Dream itself does not attribute it to a named group. Source: Dream
- The PHP project released 8.5.13, 8.4.28, 8.3.37 and 8.2.36, fixing CVE-2026-115560 and other critical vulnerabilities (e.g. CVE-2026-126714, CVE-2026-129289). On 20 Nov watchTowr reported no exploitation of them and that they are not in the KEV catalog. Source: watchTowr
- Imunify360 (CloudLinux) reported that attack attempts against CVE-2026-129289 began on 19 Nov, the day of the release, and that attackers have used the session upload progress route since October. It gives no numbers and reports no successful compromises; on 25 Nov CloudLinux noted that none of the 19 Nov CVEs is in the KEV catalog. Source: Imunify360 (CloudLinux)