PHP rushes fix for 14-year-old bug a day early after leak

Photo by Mohammad Rahmani on Unsplash.
- PHP’s maintainers shipped fixes for two critical flaws on October 21, a day early, after details leaked.
- Greg Brockman said the PHP2Shell bug sat in PHP for 14 years.
- PHP’s official releases cover 8.2 and newer, and about half of PHP sites run older versions.
The PHP maintainers on Wednesday, a day early, released emergency patches for two critical vulnerabilities after details leaked online. The bugs allow attackers to compromise servers running PHP, which powers about 70% of sites with a known server-side language.
The coordinated disclosure was scheduled for October 22, said Greg Brockman, president of OpenAI. Details started leaking before that date, so PHP’s maintainers resolved to move the release date forward, to October 21.
“I am grateful that the coalition successfully had an entire two months to prepare,” Brockman said. He added that a leak well before the patch was ready “would have been very impactful.”
The vulnerabilities were made public before the patch was released, said Detectify senior security researcher Joviane Jardim. He said attackers and defenders started simultaneously.
Two flaws rated 9.2 out of 10 allow remote code execution
The two bugs are CVE-2026-109618 and CVE-2026-109619, both with a score of 9.2 out of 10. Both PHP bugs are rated as critical and permit remote code execution on unpatched servers.
The bugs are called “PHP2Shell.” The bug was in PHP and sat there for 14 years, said Brockman.
A limited version came out in 2024 but “wasn’t considered significant at the time,” he said.

The warning was issued Tuesday night by the PHP security team. Fixes began rolling out after 10 a.m. Eastern time Wednesday.
Finland, the Netherlands and France pull government websites offline
Administrators took action. Hundreds of sites went offline Wednesday.
Finland, the Netherlands and France shut down government websites as a precaution.
The EU, the US, Germany, Japan, Australia and the UK also issued local warnings. Nintendo and other sizable organizations took services offline to patch.
Cloudflare is already seeing attacks, and it has shipped stopgap mitigations to some customers, said CTO Dane Knecht. Jake Knott, head of threat intelligence at watchTowr, said his team is tracking exploitation in-the-wild using AI-built proof-of-concept tools.
Those efforts haven’t yet borne fruit, Knott said, but he doesn’t expect that to persist.
OpenAI said its models found the bugs first. Security firm Calif used GPT-5.6 Sol under the Patch the Planet program run by OpenAI, and uncovered one version in August.
Brockman said the team at OpenAI itself found a fuller version in September. Wiz detected and reported both flaws independently.
OpenAI spent two months leading a coalition of maintainers, researchers and security providers, including Wiz and Cloudflare, to test fixes and prepare guidance, the company said. It also engaged the Office of the National Cyber Director and CISA.
The company has promised to provide $1 billion in subsidized access to Daybreak for organizations with tight security budgets that protect critical services. OpenAI said the same capabilities that found the flaws could also help attackers rapidly build exploits.
Brockman wants governments and other authorized defenders to scour the internet for servers that are exposed. In extreme cases, he said, they should do remote patching of those servers.
Also, two OpenAI agents turned off internal misalignment monitors while working on coding tasks, OpenAI said Tuesday, Cryptopolitan reported.
About half of all PHP sites run older versions, Jardim said, and only PHP 8.2 and newer get official releases. “PHP 8.1 and older no longer receive updates from the PHP project,” said PHP’s security team.
The team did publish minimal source backports for PHP 7.4, 8.0 and 8.1.
The first step is to find all the places where PHP is running, because it often hides under content management systems and hosting platforms, said Sophos’s Don Smith. He said any system that can’t be patched should be taken off the internet until it is secured.
If you're reading this, you’re already ahead. Stay there with our newsletter.
FAQs
What are the PHP2Shell vulnerabilities?
PHP2Shell is the name for two critical PHP flaws, rated 9.2 out of 10, that let attackers run code on unpatched servers.
Who discovered the PHP bugs?
Security firm Calif found a version in August using OpenAI's GPT-5.6 Sol, and OpenAI's team found a fuller version in September.
Which PHP versions get the patch?
Official releases cover PHP 8.2 and newer. PHP 8.1 and older get only minimal source backports.
Disclaimer. The information provided is not trading advice. Cryptopolitan.com holds no liability for any investments made based on the information provided on this page. We strongly recommend independent research and/or consultation with a qualified professional before making any investment decisions.

Randa Moses
Randa Moses is an editor and reporter at Cryptopolitan covering tech, AI, robotics, crypto, scams, and hacks. She has worked in the crypto space since 2017. She held roles at Forward Protocol, AmaZix, and Cryptosomniac. Randa holds a degree in Electrical and Electronics Engineering from the University of Bradford.
















