AETERNAE AI RESEARCH LLC INDEPENDENT RESEARCH
ÆAETERNAERESEARCH
Sign inRequest access
← Malware catalog

Attributed metadata history

REPORTPUBLIC METADATA

PHP2Shell: Failed Requests, Memory Corruption and Remote Code Execution

PHP2Shell affects how PHP handles a request that runs out of memory or encounters a fatal error. If the failure interrupts an operation before it finishes, PHP can leave an array entry only partly initialized or retain a pointer to memory that is later freed. Request cleanup or a subsequent request can then use that invalid state, causing memory corruption that can lead to remote code execution. Introduction to Malware Binary Triage (IMBT) Course Looking to level up your skills? Get 10% off using coupon code: MWNEWS10 for any flavor. Enroll Now and Save 10%: Coupon Code MWNEWS10 Note: Affiliate link – your enrollment helps support this platform at no extra cost to you. Some exploitation paths run while PHP processes incoming form data, before the application script starts. Others require successive requests handled by the same server process. Because the flaws are in PHP’s runtime, the engine that executes application code, application-level authentication and input validation cannot protect the pre-execution paths. Updating the application alone does not fix the underlying runtime. Vulnerability overview Disclosed on 21 October 2026, PHP2Shell groups two critical PHP vulnerabilities. Each has a 9.2 score under version 4.0 of the Common Vulnerability Scoring System (CVSS), which rates vulnerability severity: CVE Failure Security consequence CVE-2026-109618 Memory exhaustion interrupts PHP while request data is only partly initialized Cleanup can use unfinished fields as values or memory addresses CVE-2026-109619 PHP retains references to temporary data after releasing its memory A later request in the same server process can use freed memory The published demonstrations achieved remote code execution (RCE): an attacker could run code on the server through requests that required no login. They also exposed data held in the PHP process’s memory. Which path is reachable depends on the application, configuration and the way the web server runs PHP. CVE-2026-109618: An allocation failure leaves an unfinished array entry While reading a web request, PHP builds arrays to hold form fields and upload metadata, such as filenames and file sizes. Each named entry has a key, used to look up its value. PHP allocates memory for both. Uploads commonly use the multipart/form-data format, which divides the request body into separate parts for fields and files. PHP limits memory consumption through the memory_limit setting. In vulnerable versions, an allocation that exceeds this limit can immediately stop the operation in progress and transfer control to request-level error handling. For an out-of-memory (OOM) error, PHP calls this immediate transfer a bailout. Statements that would normally finish the interrupted operation are skipped. The vulnerable insertion counts a new array entry before allocating its key. A bailout at that allocation leaves the count increased even though the entry was never initialized. PHP implements these arrays in C as hash tables: the entry’s key is converted to a numeric hash that helps locate its value. Each entry is a Bucket. It contains a zval, PHP’s C structure holding a value and its type, the numeric hash, and a pointer storing the address of the key string. The insertion code updates the table’s counters before allocating the new key:     idx = ht->nNumUsed++; ht->nNumOfElements++; p = ht->arData + idx; p->key = key = zend_string_init(str, len, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); #if ZEND_RC_DEBUG if (GC_FLAGS(ht) & GC_PERSISTENT_LOCAL) { GC_MAKE_PERSISTENT_LOCAL(key); } #endif p->h = ZSTR_H(key) = h; HT_FLAGS(ht) &= ~HASH_FLAG_STATIC_KEYS; if (flag & HASH_LOOKUP) { ZVAL_NULL(&p->val); } else { ZVAL_COPY_VALUE(&p->val, pData); nNumUsed defines the used range of bucket slots; nNumOfElements counts array elements. Both increase before PHP initializes the new slot at p. The key assignment waits for zend_string_init(), wh

Reference details

Source category
research-report
First reported
Oct 23, 2026 12:16 UTC
Last reported
Oct 23, 2026 12:16 UTC
Catalog updated
Oct 25, 2026 23:33 UTC
Record ID
80ecc0794bf390ed5c63a6cf15f0979f371a259a885cda84fe385f126617a65b

Published indicators

Network indicators are visibly defanged. This page does not make them clickable or send them to another service.

No validated file hashes or network indicators are stored for this record.

Source observations

intelligence_src_f9879f264b7a8ec1d7

Source-provided label
Publisher RSS metadata
Evidence class
mentioned in report
Confidence
Not reported
Observed
Oct 23, 2026 12:16 UTC
Retrieved
Oct 25, 2026 23:33 UTC

This record contains metadata and attribution only. It does not host, download, unpack, render, or execute malware samples.

Feed collection status

Sources represented on this page. Publication and observation dates describe the content; successful batch dates describe local collection. A recent batch does not certify complete coverage or current provider availability.

1 sources: 0 stale, 0 needing attention, 0 paused, 0 unverified.

Review source update dates and status
  • intelligence_src_f9879f264b7a8ec1d7Recent successful batchLast successful batch: Last attempt:

Stale means older than twice the recorded collection interval, with a minimum of one hour; without an interval, the threshold is 24 hours. Cached content remains available while a feed is stale, paused, or unverified.