Two Decades of Linux Expertise 400-9696-513 24/7 technical support

Two high-severity PHP RCE flaws dubbed PHP2Shell: discovered with OpenAI's help, emergency patches released

Two high-severity PHP RCE flaws dubbed PHP2Shell: discovered with OpenAI's help, emergency patches released

According to an ifanr report, the PHP project issued a security update on October 21 fixing two critical-severity remote code execution flaws, numbered CVE-2026-109618 and CVE-2026-109619, each scoring 9.2 on CVSS 4.0 (out of 10) and grouped under the name PHP2Shell. An unauthenticated remote attacker only has to send a crafted multipart POST request at the target to trigger memory corruption and ultimately achieve remote code execution, taking full control of the server.

Both flaws sit in the low-level machinery of the PHP request lifecycle, with the attack entry concentrated on the parsing path for multipart POST requests; CVE-2026-109619 arises because a worker process does not fully reset global state such as errors, sessions and objects at the end of a request, and then touches that leftover state when handling the next one, forming a use-after-free (UAF) defect. Problems of this kind hide inside the interpreter, where ordinary application-layer defences can hardly detect them.

The incident also includes a collaboration worth recording: the flaws were found with the participation of OpenAI's GPT-5.6 Sol, and its "Patch the Planet" open security project convened maintainers, security researchers, cloud vendors and national computer emergency response teams from several countries for about two months of coordinated remediation, publishing the details only once the patches were ready and so avoiding a naked zero-day window. Tencent Cloud, Alibaba Cloud, Google and other vendors issued risk advisories at the same time.

PHP runs about 70% of websites worldwide, with large numbers of content management systems, e-commerce sites, forums and internal enterprise systems built on it. For operations and maintenance (O&M) teams the immediate job is to inventory every PHP site and the version it runs, then complete upgrades following the advisories from each distribution and cloud vendor; systems that cannot be upgraded in the short term should at least restrict abnormal multipart requests at the gateway layer and tighten monitoring.

Source: ifanr

← Back to list Enquire about related services

Related reading

Call us Message
Home Services Consult Message