# PHP2Shell and what the AI headlines are missing

DevFeed: [PHP2Shell and what the AI headlines are missing](<https://devfeed.tech/articles/php2shell-and-what-the-ai-headlines-are-missing-96026.md>)

Original publisher: [Read original article](<https://www.pentestpartners.com/security-blog/php2shell-and-what-the-ai-headlines-are-missing/>)

Author: Alex Wallace

Published: 2026-10-22T16:24:05Z

Content type: article

Language: en

Sources: [Pen Test Partners](<https://devfeed.tech/sources/pen-test-partners.md>)

Topics: [cve remediation](<https://devfeed.tech/topics/cve-remediation.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-assisted](<https://devfeed.tech/tags/ai-assisted.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [calif](<https://devfeed.tech/tags/calif.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [compromise](<https://devfeed.tech/tags/compromise.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [crashes](<https://devfeed.tech/tags/crashes.md>), [critical](<https://devfeed.tech/tags/critical.md>), [cve](<https://devfeed.tech/tags/cve.md>), [discovery](<https://devfeed.tech/tags/discovery.md>), [engine](<https://devfeed.tech/tags/engine.md>), [exploit](<https://devfeed.tech/tags/exploit.md>), [exploit-development](<https://devfeed.tech/tags/exploit-development.md>), [how-tos](<https://devfeed.tech/tags/how-tos.md>), [openai](<https://devfeed.tech/tags/openai.md>), [php](<https://devfeed.tech/tags/php.md>), [php2shell](<https://devfeed.tech/tags/php2shell.md>), [research](<https://devfeed.tech/tags/research.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [vulnerabilities-and-disclosures](<https://devfeed.tech/tags/vulnerabilities-and-disclosures.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>), [wiz](<https://devfeed.tech/tags/wiz.md>)

## AI overview

PHP2Shell covers two critical PHP engine vulnerabilities that can enable unauthenticated remote code execution: crafted uploads can trigger memory corruption, and fatal errors can leave later requests using freed memory. The article says PHP 5.4-8.5 may be affected. Inventory PHP deployments, prioritizing public-facing systems while also checking development, test, staging, and managed services; an SBOM can help identify exposure. Watch for PHP errors or crashes and unexpected outbound connections, though the article says solid indicators of compromise are scarce. For supported branches 8.2-8.5, upgrade to the listed fixed releases (8.5.12, 8.4.27, 8.3.36, or 8.2.35); configuration changes are temporary risk reduction, not a replacement. End-of-life branches 5.4-8.1 have no fix for CVE-2026-109618, so migration is a priority. Patching does not establish whether exploitation occurred: investigate abnormal activity, and isolate suspected compromised hosts. The article notes AI can shorten the time from discovery to exploitation, increasing pressure to identify assets and patch quickly.

## Source excerpt

TL;DR Introduction On the 20th of October two critical vulnerabilities affecting the PHP engine were publicly disclosed, collectively known as PHP2Shell. The vulnerabilities were discovered through research involving Wiz, Calif, and OpenAI, with AI playing a significant role in both vulnerability discovery and exploit development. Unsurprisingly, much of the attention has focused on the AI [...] The post PHP2Shell and what the AI headlines are missing appeared first on Pen Test Partners.