Skip to content

Image: cdn.prod.website-files.com · rights & removal

Executive Summary

Critical remote code execution vulnerabilities, dubbed php2shell (CVE-2026-109618 and CVE-2026-109619), were disclosed on October 21, 2026, affecting PHP versions 5.4 through 8.5. These flaws allow for unauthenticated remote code execution by exploiting issues related to Out-Of-Memory (OOM) corruption and stale global state in the PHP process. The vulnerabilities stem from unsafe termination practices when memory limits are reached during request handling, allowing attackers to achieve remote code execution with the privileges of the web worker. Patches were released for specific versions including PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35. While interim measures exist, patching is presented as the only reliable fix. The issue affects not only direct PHP deployments but also products built on PHP, such as WordPress, Magento, and other frameworks, necessitating immediate updates across the ecosystem.

Facts Only

* Vulnerabilities are CVE-2026-109618 (RCE via OOM corruption) and CVE-2026-109619 (RCE via stale global state).
* The flaws affect PHP versions from 5.4 through 8.5.
* Fixed releases include PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35.
* The root cause involves triggering PHP's memory-limit termination in unsafe places.
* Exploitation routes involve session upload-progress and object-deserialization code paths.
* Affected systems include all end-of-life branches (5.4–8.1).
* Interim measures suggested are setting memorylimit=-1, disabling session.uploadprogress, and tightening postmaxsize.

Full Take

The narrative surrounding php2shell highlights the persistent challenge in maintaining security across vast, legacy systems where historical coding patterns create exploitable latent states. The context demonstrates that even highly competent researchers can uncover critical flaws, emphasizing the role of advanced analysis methods like AI in accelerating discovery, which in turn amplifies the volume and complexity of potential exploits, creating a dynamic tension between vulnerability disclosure and defensive reality. The warning against disinformation and false Proofs of Concept underscores a systemic issue in the information environment: sophisticated technical findings are easily polluted by noise, complicating the work of vendors and security researchers who must triage real threats from generated content. This pattern suggests that while technical fixes (patching) are necessary, the broader challenge involves managing the information ecosystem itself—ensuring that high-quality, context-rich analysis remains discoverable amidst the influx of mass-produced, low-effort exploit material. What responsibility does the development community bear in mitigating not just code flaws but also the integrity of the security discourse surrounding them?

From the original · Intruder.io

Key Points TLDR - php2shell (CVE-2026-109618 and CVE-2026-109619) is a pair of critical, unauthenticated remote code execution flaws in PHP. They affect all versions of PHP from 5.4 through 8.5 and supported versions were patched on 21 October 2026. - Update PHP now.
Read the full story at intruder.io
php2shell: Critical PHP RCE (CVE | Huntaegis