AI-assisted PHP memory-safety flaws disclosed and patched October 21, 2026
Overview
Wiz Research says it found multiple memory-safety flaws in core PHP, grouped under two CVEs with severity up to CVSS 9.2, that allow unauthenticated remote code execution and memory disclosure.
Wiz says every PHP version released in the last decade has at least one affected bug, back to 5.4, and that frontier AI models helped chain the flaws and adapt working exploits against WordPress, Drupal and Joomla within hours. PHP released patches on October 21, 2026.
OpenAI says its models helped researchers find the flaws under its Patch the Planet initiative and that a two-month coalition of maintainers, researchers and security providers prepared fixes before disclosure. OpenAI's Greg Brockman calls the bug php2shell and says it has been present for 14 years; he says the release moved up from October 22 after details leaked early. The PHP Foundation says only PHP 8.2 and newer still receive official patches, while some distributions and vendors offer legacy fixes, and that no complete mitigations exist, so updating is the only safe option.
Written by AI from the articles below · updated Oct 21, 11:24 AM ET
Check the sources:
Developments
4 developments
- Oct 21, 10:58 AM ET · 1 articleOpenAI leads coalition to mitigate php2shell PHP vulnerability found via Patch the PlanetGreg Brockman: Greg Brockman says a coalition coordinated disclosure of the PHP php2shell bug
- Oct 21, 10:26 AM ET · 1 articlePHP Foundation releases emergency patches for two critical PHP vulnerabilitiesWired · AI: PHP Foundation releases emergency patches for two critical vulnerabilities
- Oct 21, 10:04 AM ET · 3 articlesOpenAI models help find critical PHP security flaws, coordinated disclosure with fixesOpenAI: OpenAI models help find critical PHP security flaws before disclosure
- Oct 21, 9:43 AM ET · 1 articleWiz Research discloses PHP2Shell critical RCE and memory-disclosure flaws in core PHPHacker News · AI (150+ points): Wiz finds critical PHP flaws that AI helped turn into remote code execution
Article timeline
The articles in this story. Times are ET.
Greg Brockman@gdbOfficialPickGreg Brockman says a coalition coordinated disclosure of the PHP php2shell bugAIGreg Brockman says a coalition led by OpenAI spent two months mitigating php2shell, a PHP bug present for 14 years that allows attackers to execute code on nearly all deployed PHP applications. The bug was found using OpenAI's models as part of its Patch the Planet initiative, and the public release moved up to October 21 after details leaked early. Brockman says current manual patching will not scale and that defenders need stronger models than attackers.
Ethan Mollick@emollickXOpenAI models help find critical security flaws in PHP before disclosureAIEthan Mollick says companies he talks to are struggling with the rate of patches they must apply because AI defenses find issues before attackers' AI can use them. He adds that consumers will soon face the same frequent, fast updates. Quoting OpenAI, he cites its Patch the Planet work, in which OpenAI models helped researchers find critical flaws in PHP, a language used to run an estimated 70% of websites. OpenAI says a coalition spent two months preparing fixes ahead of disclosure.
- Wired · AINewsPickPHP Foundation releases emergency patches for two critical vulnerabilities
AIThe PHP Foundation released emergency security updates on Wednesday for two critical vulnerabilities, CVE-2026-109618 and CVE-2026-109619, which it says affect all PHP installations serving web requests back to PHP 5. Only PHP 8.2 and newer still receive official patches, while some distributions and vendors provide legacy fixes, and the foundation says there are no complete mitigations. Security firms and agencies warned that attacks could begin quickly, and some government and port websites went offline while updates were applied.
Andrew Curran@AndrewCurran_XPickOpenAI says AI-found PHP flaw is part of a larger vulnerability waveAIOpenAI says models helped researchers find critical security flaws in PHP, an open-source language used by an estimated 70% of websites, and that fixes were prepared with maintainers before disclosure. OpenAI also says it has found several other significant vulnerabilities and expects similar findings to increase in coming months. The author is relaying OpenAI's post and image text, which the source does not quantify beyond these claims.

OpenAI@OpenAIOfficialPickOpenAI models help find critical PHP security flaws before disclosureAIOpenAI says its models helped researchers find critical security flaws in PHP, an open-source language it says runs an estimated 70% of websites. The company led a two-month coalition of maintainers, researchers, and security providers to prepare fixes and protections before disclosure. Every PHP site can now upgrade to a patched version, alongside mitigations from security vendors.
- Hacker News · AI (150+ points)BlogPickWiz finds critical PHP flaws that AI helped turn into remote code execution
AIWiz Research reports multiple memory-safety vulnerabilities in core PHP, grouped under two CVEs with severity up to CVSS 9.2, that allow unauthenticated remote code execution and memory disclosure. Every PHP version released in the last decade is affected by at least one bug, and PHP released patches on October 21, 2026. Wiz says frontier AI models helped chain the flaws and adapt working exploits across WordPress, Drupal and Joomla in hours, and urges immediate patching.
Heat Trend
Not enough continuous observations to show a trend yet.