Critical PHP Security Vulnerabilities Discovered via AI Models
Two critical PHP vulnerabilities were announced on October 21, 2026, after being discovered using AI models like GPT-5.6 Sol.
2 min read
What Happened
Two critical security vulnerabilities, known as PHP2Shell, were identified in the PHP programming language [1]. The flaws allow for unauthenticated remote code execution (RCE), which means attackers could run their own code, change website content, or access stored data without needing an administrator password [1].
According to the PHP Group, the two specific vulnerabilities are:
- CVE-2026-109618 (RCE via OOM corruption): This occurs when out-of-memory handling interrupts PHP while internal request data is only partially initialized [1].
- CVE-2026-109619 (RCE via stale global state): This happens when internal state survives after its memory has been freed, allowing a later request to use that stale state [1].
The vulnerabilities were discovered using artificial intelligence. OpenAI reported that an AI security group called Calif identified a flaw using GPT-5.6 Sol, while the security firm Wiz independently discovered and reported the issues using AI [1]. While the PHP Foundation stated an exploit was theorized in 2024, no concrete vectors were found at that time [1].
A leak in the coordinated disclosure process occurred on Tuesday, October 20, around 15:00 UTC, when the CVE IDs began circulating on social media [2]. This led the PHP project to move its release forward from October 22 to October 21, 2026 [2]. The actual CVSS severity score is 9.2, though some early reports incorrectly cited it as 10.0 [2].
Who Is Affected
PHP is used by 69.3 percent of websites whose server-side programming language is known, including Wikipedia and WordPress [1]. VirusTotal reports approximately 3.8 million sites running PHP with at least one open port [1].
Specific entities and services affected or taking action include:
- Websites such as 4chan, DeviantArt, and Wikipedia [1].
- Pokémon Home and Pokémon Champions, which were taken offline [1].
- Certain Dutch and Finnish government agencies that took their sites down as a precaution [1].
- The Cloudflare CTO reported seeing early attacks emerging [1].
What to Do Next
Users and administrators should take the following steps:
- Website owners using PHP should upgrade to the fixed release immediately [1, 2].
- Those running PHP 8.1 or older must upgrade to a newer version, as these older versions are no longer supported and will not receive official fixes [1].
- Users of managed hosting services should check with their providers regarding patch deployment [1].
- If a site handles sensitive data or sells products, it is recommended to disable the site until the host patches PHP [1].
- Users of Squarespace or Wix are not affected as those services do not support PHP [1].
About the author
Ali Raza, Founder
Sources
Drafted with AI assistance from the reports above and checked automatically for sourcing. Always confirm dates, fees and requirements on the official website before acting. Report an error · How we correct mistakes
Questions or something to add?
Ask below. We read every comment and reply when we can.