AI Discovers a Decades-Old PHP Vulnerability: What Website Owners Need to Know
Learn about the reported PHP vulnerability, how AI assisted security research helps find software flaws, and the steps website owners should take to secure...
AI Discovers Critical PHP Vulnerabilities: What Website Owners Need to Know Artificial intelligence is changing cybersecurity by helping researchers identify software weaknesses that may have remained hidden for years. A recent discovery involving PHP, one of the web’s most widely used programming languages, demonstrates how AI assisted security research can uncover serious vulnerabilities—and why organisations must respond quickly when fixes become available. On October 21, 2026, researchers disclosed two critical PHP vulnerabilities tracked as CVE 2026 109618 and CVE 2026 109619. The findings, associated with the name PHP2Shell, could allow attackers to execute code remotely on affected servers or disclose sensitive information from PHP process memory. The disclosure prompted urgent security guidance for website owners, hosting providers and developers. It also highlighted a growing cybersecurity challenge: AI can help defenders discover vulnerabilities, but similar capabilities could eventually help attackers develop exploits more quickly. What Is PHP2Shell? PHP is a server side programming language used to build dynamic websites and web applications. It is part of the technology behind many content management systems and platforms, including WordPress, Drupal and Joomla. The PHP2Shell disclosure concerns two flaws in PHP’s core runtime rather than a vulnerability limited to one particular website or plugin. According to the researchers, the vulnerabilities involve memory safety problems associated with error handling and the reuse of internal program state. Under certain conditions, these problems can leave PHP processes in an unsafe state. The two disclosed vulnerabilities have different technical details, but their potential consequences are serious. Depending on the affected version and deployment, successful exploitation could permit remote code execution or disclosure of information stored in process memory. Sensitive information in memory may include authentication tokens, passwords, API keys or other data handled by an application. The actual exposure depends on the environment and the information present when a vulnerability is exploited. How Did AI Help Discover the Vulnerabilities? Security researchers traditionally investigate software by reviewing source code, analysing program behaviour, creating test cases and reproducing suspicious conditions. Memory safety vulnerabilities can be particularly difficult to understand because a small error may only become exploitable under specific conditions. AI assisted research can help automate parts of this work. Models can analyse code, propose potential failure scenarios, help researchers construct tests and assist with debugging complex behaviour. In this case, researchers reported that advanced AI models helped identify and investigate PHP vulnerabilities that had remained undetected for years. The research involved collaboration among security researchers, the PHP maintainers and technology partners to validate the findings and prepare fixes before public disclosure. AI did not replace the entire security process. Researchers still needed to verify the bugs, demonstrate their impact, coordinate disclosure and work with maintainers to ensure that fixes addressed the underlying problems. The important lesson is that AI can lower the amount of specialist effort required to investigate complex software flaws. This creates opportunities for defenders to find more problems—but also increases the urgency of fixing vulnerabilities before malicious actors exploit them. Why Are These PHP Vulnerabilities Serious? The vulnerabilities were assigned critical severity ratings, with a reported CVSS score of 9.2. Their potential impact includes remote code execution and memory disclosure. 1. Remote Code Execution Remote code execution means an attacker may be able to make a vulnerable server run unauthorised code. Depending on the permissions of the affected process, this could lead to data theft, website modification, malware installation or further compromise of the server. 2. Sensitive Memory Disclosure A memory disclosure vulnerability can expose data held by an application process. If that memory contains credentials, tokens or other confidential information, the consequences may extend beyond the vulnerable service itself. 3. Broad Software Exposure Because the vulnerabilities exist in PHP itself, a website may be exposed even when its own application code does not contain the original flaw. Sites using affected PHP runtimes need to assess their server environment rather than checking only their plugins or themes. This does not mean that every PHP website has been compromised. Actual risk depends on the PHP version, configuration, exposure and whether appropriate protections have been applied. Which PHP Versions Are Affected? CERT In’s vulnerability note identifies the following affected release ranges: PHP 8.5 versions earlier than 8.5.12 PHP 8.4 version...