AI-Assisted Discovery of Critical PHP Vulnerabilities Triggers Global Cybersecurity Warning
A major cybersecurity alert has been issued worldwide after two critical vulnerabilities were discovered in PHP, one of the most widely used technologies behind websites and web applications.
The vulnerabilities, identified as CVE-2026-109618 and CVE-2026-109619, can potentially allow an attacker to execute malicious code remotely on vulnerable servers without authentication. The PHP development team released security updates on October 21, 2026, urging users to update immediately. (PHP)
The incident has attracted particular attention because artificial intelligence assisted security researchers in finding and validating the vulnerabilities, demonstrating how AI is increasingly being used not only by cybercriminals but also by cybersecurity researchers and defenders. (OpenAI)
What Is PHP and Why Is This Vulnerability So Important?
PHP is a server-side programming language widely used to build websites and web applications. It operates behind the scenes, processing requests on a web server before information is delivered to a visitor's browser.
PHP is used by a huge portion of the internet. Security researchers at Wiz estimate that PHP powers approximately 70% of websites worldwide, although this does not mean that 70% of all websites are currently vulnerable to these particular flaws. (wiz.io)
PHP is also used by major content-management and web platforms, including WordPress, Drupal and Joomla. Importantly, the newly disclosed flaws exist in the PHP runtime itself, meaning the risk is not limited to one particular website application or CMS. (wiz.io)
Two Critical Vulnerabilities Discovered in PHP
The two vulnerabilities are:
CVE-2026-109618
CVE-2026-109619
Both have a CVSS score of 9.2, placing them in the critical category. They involve problems in PHP's handling of memory and internal request state. (CERT-EU)
CVE-2026-109618 — Memory Corruption
The first vulnerability involves PHP's handling of out-of-memory (OOM) conditions.
Under certain circumstances, an attacker can trigger an out-of-memory condition while PHP is processing a request. This can leave internal data in an inconsistent state, potentially resulting in memory corruption.
Security researchers demonstrated that this could potentially be turned into remote code execution, meaning an attacker could make a vulnerable server execute malicious instructions remotely. (National Cyber Security Centre)
CVE-2026-109619 — Stale Internal State
The second vulnerability involves stale global state.
In certain circumstances, internal information belonging to a previous request can remain after its associated memory has been released. A subsequent request may then interact with this stale information in an unsafe way.
This can also potentially lead to remote code execution. (CERT-EU)
What Could an Attacker Do?
Successful exploitation could have serious consequences.
Depending on the affected system and its configuration, an attacker could potentially:
- Execute malicious code on the server
- Gain control of a vulnerable web server
- Steal sensitive information
- Modify or delete website data
- Install malicious software
- Deface websites
- Use a compromised server as a launching point for further attacks
- Potentially gain access to other systems connected to the compromised environment
The UK National Cyber Security Centre says the vulnerability may allow attackers to execute commands on web servers. ENISA and European cybersecurity authorities similarly warned organisations to take immediate action. (National Cyber Security Centre)
How Did Artificial Intelligence Become Involved?
One of the most significant aspects of this incident is the role played by AI.
According to OpenAI, its Patch the Planet initiative involved security researchers, software maintainers and security providers working together to identify and address critical vulnerabilities in open-source software.
OpenAI says Calif identified a critical PHP flaw using GPT-5.6 Sol, while cybersecurity company Wiz independently discovered and reported both vulnerabilities. Wiz also reported using AI models as part of its research. (OpenAI)
This distinction is important.
It would be misleading to describe the event simply as “AI hacked PHP” or claim that AI independently found the vulnerability without human involvement.
Instead, AI was used as a powerful research and analysis tool alongside human security researchers. The researchers then validated the findings, developed demonstrations, worked with PHP maintainers and helped coordinate responsible disclosure and remediation. (OpenAI)
Why Are Cybersecurity Experts So Concerned About AI?
Traditional vulnerability research can require significant time and specialist knowledge.
Advanced AI systems can assist researchers with tasks such as:
- Examining large quantities of source code
- Identifying suspicious programming patterns
- Generating and testing hypotheses
- Analysing potential attack paths
- Developing proof-of-concept code
- Reviewing possible fixes
- Automating parts of security testing
This creates a double-edged situation.
The same technology that can help defenders find vulnerabilities before criminals exploit them could potentially help attackers discover weaknesses faster as well.
The PHP incident therefore illustrates a broader change in cybersecurity: AI is increasingly becoming part of both vulnerability discovery and defence. (Reuters)
Which PHP Versions Are Affected?
The PHP security team released patches for the following versions:
PHP Branch Fixed Version
PHP 8.5 8.5.12
PHP 8.4 8.4.27
PHP 8.3 8.3.36
PHP 8.2 8.2.35
PHP's official security advisory states that these releases address the two critical vulnerabilities. (PHP)
Older versions, including PHP 8.1 and earlier, are no longer supported by the PHP project. Some operating-system vendors may provide their own backported security fixes, but organisations should verify this with their provider or upgrade to a supported PHP release. (PHP)
What Should Website Owners Do?
If you operate a website, WordPress installation, online store or web application, this incident is a reminder that keeping the underlying server software updated is just as important as updating the website itself.
Website owners and system administrators should:
1. Check the PHP Version
Find out which PHP version your website and hosting environment are currently running.
If you use shared hosting, a hosting control panel or managed WordPress service, contact your hosting provider if you are unsure.
2. Update PHP Immediately
The PHP development team has stated that there are no complete mitigations for these vulnerabilities and that updating is the safe solution. (PHP)
Where applicable, upgrade to:
PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35.
3. Update WordPress and Other Applications
PHP is only one component of a website's technology stack.
Website owners should also make sure that:
- WordPress is updated
- Plugins are updated
- Themes are updated
- Server software is updated
- Security plugins are current
- Backups are functioning correctly
4. Check for Signs of Compromise
If a vulnerable server was exposed to the internet before it was patched, administrators should not automatically assume that updating the software means everything is safe.
Security teams should review server logs and monitoring systems for unusual activity, unauthorised accounts, suspicious files, unexpected processes and abnormal network connections.
5. Consider Taking a Vulnerable System Offline
For organisations unable to apply the security update quickly, cybersecurity authorities have advised taking vulnerable internet-facing systems offline or otherwise isolating them until they can be properly secured.
The European cybersecurity agencies specifically advised organisations to identify PHP-based applications, coordinate with hosting providers and prioritise internet-facing systems. (ENISA)
Why Some Websites Were Temporarily Taken Offline
The seriousness of the vulnerabilities led some organisations and government agencies to temporarily take websites or online services offline while security teams assessed and patched their systems.
Reports from the UK and other countries described disruptions caused by precautionary security measures rather than evidence that every affected service had been successfully hacked. (Reuters)
This distinction is important when discussing the incident.
A vulnerable website is not automatically a hacked website.
The vulnerability creates a potential attack path. Whether an attacker successfully compromises a particular server depends on factors such as its PHP version, configuration, exposure, additional security controls and whether exploitation was attempted.
Does This Mean 70% of the Internet Has Been Hacked?
No.
This is one of the most important facts to clarify.
The widely reported “70%” figure refers to the estimated proportion of websites using PHP, not the percentage of websites that have been compromised.
The newly discovered vulnerabilities affect PHP installations that meet the relevant conditions, and the actual risk to an individual website depends on its PHP version and server configuration.
Therefore, headlines saying “70% of the internet is hacked” would be inaccurate. A more accurate description is that PHP is used across a very large portion of the web, making critical vulnerabilities in the PHP runtime potentially capable of having a very broad impact. (wiz.io)
A New Warning About the Future of Cybersecurity
The PHP incident is bigger than one programming-language vulnerability.
It demonstrates two important realities about modern cybersecurity.
First, open-source software forms a critical foundation of the global internet, and a vulnerability in widely deployed software can have consequences far beyond the original project.
Second, AI is changing the speed at which vulnerabilities can be discovered, analysed and potentially exploited.
That creates an urgent need for organisations to improve software-update procedures, vulnerability monitoring, access controls, backups and incident-response plans.
AI can become a powerful defensive tool—but organisations cannot depend on AI alone. Secure software development, rapid patching, skilled cybersecurity professionals and responsible vulnerability disclosure remain essential.
What This Means for Ordinary Internet Users
Most individual internet users do not need to panic because of this PHP vulnerability.
In most cases, the responsibility for updating PHP lies with the website owner, hosting provider or system administrator, rather than the ordinary visitor.
However, users should continue following basic cybersecurity practices:
- Use unique passwords
- Enable multi-factor authentication where available
- Keep phones, computers and applications updated
- Be careful with unexpected links and attachments
- Avoid entering passwords into suspicious websites
- Monitor important accounts for unusual activity
Cybersecurity experts have also warned that criminals may use major security stories as an opportunity for phishing scams, sending fake “security update” messages designed to steal passwords or financial information. (Reuters)
The latest PHP security crisis is a significant reminder of how interconnected the modern internet has become.
Two critical vulnerabilities in a foundational technology used by a huge number of websites have prompted security warnings and urgent patching efforts around the world. The fact that AI-assisted research helped identify the flaws adds another important dimension to the story.
The lesson is not that AI is destroying cybersecurity. Instead, it shows that AI is becoming a powerful part of the cybersecurity arms race—capable of helping defenders find dangerous vulnerabilities earlier, while also raising concerns about how quickly future attackers could discover and exploit weaknesses.
For website owners and organisations running PHP, the most important message is simple:
Check your PHP version, apply the official security update, and do not delay.
The PHP project has already released patched versions, and official cybersecurity agencies are urging organisations to take immediate action. (PHP)
Sources and Further Reading
- PHP Official Security Advisory and Releases
- PHP Supported Versions
- ENISA — Joint Statement on Critical PHP Vulnerabilities
- UK National Cyber Security Centre — Critical Security Issue Affecting PHP
- OpenAI — Patch the Planet: Global Response Coordination
- Wiz Research — PHP2Shell Technical Threat Briefing
- Google Cloud — Responding to Core PHP Vulnerabilities

1 Comments