---
title: "AI helped uncover two critical vulnerabilities in PHP"
canonical: "https://aiaulis.com/en/juttu/ai-helped-uncover-two-critical-vulnerabilities-in-php-36c82e22a98c/"
language: "en"
published: "2026-10-22T04:18:24.146270+00:00"
publisher: "AI Aulis"
label: "AI GENERATED"
---

# AI helped uncover two critical vulnerabilities in PHP

**AI GENERATED** · Written by AI

openai.com, github.com, x.com, the-decoder.com, techcrunch.com · 5 sources · Sources published: 21 October 2026 · Some source publication dates are unknown

Calif and Wiz used AI models to find two critical vulnerabilities in PHP, and fixes have been released. OpenAI has released a version checker, but an OK result from it does not confirm that the fix is installed.

Security companies Calif and Wiz used AI models to find two critical vulnerabilities in PHP. PHP’s maintainers have released fixes for them. PHP is a programming language that runs on the server. OpenAI estimates that around 70 per cent of websites run on it.

OpenAI said on 21 October that Calif found one of the vulnerabilities using OpenAI’s GPT-5.6 Sol model. Calif made the discovery as part of OpenAI’s Patch the Planet initiative, which looks for vulnerabilities in open-source software. Wiz found both vulnerabilities independently of Calif, OpenAI said. The Decoder and TechCrunch report that Wiz used its own AI agent, Wiz Atlas, along with Google’s Gemini 4 Argon model and OpenAI’s GPT-5.6 Sol model.

TechCrunch reported that the vulnerabilities have been present in PHP since version 5, which was released in 2004. An attacker can use them to reach a server’s file system or the database a web application uses, the publication said. TechCrunch also reported that the US National Security Agency (NSA) advised taking a website offline if it cannot be updated immediately. PHP 8.1 and earlier versions no longer receive support, so sites running them have more updating to do, TechCrunch said. The publication said the recommendation is to update to the current version, 8.5.12.

OpenAI said AI found the vulnerabilities before attackers did, though the company acknowledged that the claim is based on its own information. TechCrunch said there had been no reports of attacks. As reported by The Decoder, Wiz said that getting exploit code written for one PHP installation to work on other versions and configurations used to take a lot of work. TechCrunch quoted Wiz’s blog: ‘With AI this is no longer a barrier. LLMs can help adapt an exploit to different PHP versions, configurations and memory layouts.’

Preparing the fix took two months. OpenAI said the work took time because the fix was intricate and required a major change to the PHP engine. PHP’s maintainers led the work. OpenAI, Wiz, Cloudflare and others contributed research, technical support and coordination so that protections would be ready before disclosure. Besides updating, site administrators can deploy temporary protections from security companies, OpenAI said. The company added that these reduce the risk but have their limits.

OpenAI published an open-source checking tool called php2shell-checker on GitHub. Users can install it in the Codex coding agent as a skill, a ready-made set of instructions, or run it directly with Node.js. The checker reads the PHP version from a site’s HTTP headers or from the output of the php -v command on the server, and compares it with the patched versions. An OK result is based only on the version number and does not confirm that the fix has been installed. Headers can also be hidden or altered. In addition, software distributions can backport a fix to an older version without changing the version number. An UNKNOWN result does not mean that the server has been patched. The tool’s instructions advise comparing the version with PHP’s official security advisory.

Drawing on the case, OpenAI proposes a five-step process for handling similar vulnerabilities. First, the vulnerability is fixed together with the maintainers. Next, organisations preparing protections receive advance notice, work proceeds in cooperation with the authorities, product updates are prepared and, finally, guidance is published. The company is asking for feedback on the process. OpenAI expects similar findings to increase sharply in the coming months. It also points out that the same capabilities can help attackers develop attack tools quickly.

## What this is based on

1. [Patch the Planet: global response coordination as agents uncover critical vulnerabilities](https://openai.com/index/coordinated-disclosure-of-critical-vulnerabilities)
   Publisher: openai.com · published 21 October 2026 at 10:00 (UTC+03:00) · retrieved 22 October 2026 at 05:27 (UTC+03:00) · discovery channel: web
2. [github.com](https://github.com/openai/php2shell-checker)
   Publisher: github.com · source publication time unknown · retrieved 22 October 2026 at 05:27 (UTC+03:00) · discovery channel: GitHub
3. [OpenAI models helped researchers—operating as part of our Patch the Planet initiative—discover critical security flaws in PHP, an open-source programming language used to run an estimated 70% of…](https://x.com/OpenAI/status/2112907856018309586)
   OpenAI · Publisher: x.com · published 21 October 2026 at 17:04 (UTC+03:00) · retrieved 22 October 2026 at 04:55 (UTC+03:00) · discovery channel: X
4. [OpenAI's GPT-5.6 Sol and Google's Gemini 4 Argon found critical PHP flaw affecting millions of websites](https://the-decoder.com/openais-gpt-5-6-sol-and-gemini-4-argon-discovered-the-critical-php-vulnerability-affecting-millions-of-websites/)
   Publisher: the-decoder.com · published 21 October 2026 at 22:45 (UTC+03:00) · retrieved 22 October 2026 at 05:27 (UTC+03:00) · discovery channel: web
5. [PHP Armageddon: OpenAI, Google's Wiz find ancient holes, panicking the internet | TechCrunch](https://techcrunch.com/2026/10/21/php-armageddon-openai-googles-wiz-find-ancient-holes-panicking-the-internet/)
   Publisher: techcrunch.com · published 21 October 2026 at 20:59 (UTC+03:00) · retrieved 22 October 2026 at 05:27 (UTC+03:00) · discovery channel: web

Canonical: <https://aiaulis.com/en/juttu/ai-helped-uncover-two-critical-vulnerabilities-in-php-36c82e22a98c/>

---

AI Aulis is a newspaper written and checked by artificial intelligence. No human reads the stories before publication, and AI can make mistakes: check important facts in the story's original sources. Publisher: Fiquan Holding Oy. Responsible editor: Jukka Haikala.
