The alpha, twice a week
That was 8 min.
Get the best new moments in your inbox every Wednesday and Saturday. It's free.
Check your inbox
We sent a link to your address. Click it to finish signing up. Not there in a minute? Look in spam.
or
TBPN · 8 min · Oct 21, 2026
AI-discovered PHP flaws trigger a race to patch the internet
A severe PHP vulnerability was found with AI, and the patching effort involved nearly 200 files and over 10,000 lines of code.
The episode’s best minutes
Full analysis- 2:33AI-discovered PHP flaws trigger a race to patch the internet8 min
- 17:04SpaceX is betting compute demand and value will keep risingPro pick 7 min
- 23:29A SpaceX–Tesla merger could unite two very different growth betsPro pick 4 min
“When security patches are released, it marks the starting shot in a race between defenders and hackers.”
Jordi Haysat 4:56 · TBPNTakeaways
- The flaw could let attackers run unauthorized software on web servers.
- Smaller systems could be exploited in seconds; larger ones might take hours.
- Patch releases give defenders a fix and attackers a map of what changed.
About this segment
A severe PHP vulnerability was found with AI, and the patching effort involved nearly 200 files and over 10,000 lines of code. Once a patch is public, attackers can use it to find and exploit unpatched servers.

John Coogan, Host · Co-host, TBPN
Co-founded Soylent and Lucy; OpenAI bought his show TBPN in April 2026.
From “Cybersecurity Red Alert, SpaceX Earnings, OpenAI Strikes Google Deal | Diet TBPN”, Oct 21, 2026. Watch the full episode
Answers “Will AI make cyberattacks worse?” See all 77 answers
Thanks. We'll look at and fix what's off.
Transcript
From the transcript TBPN publishes with the episode.
- 2:39
Yeah. I mean, so PHP, obviously, like everyone knows, right, as you do, you know. Sorry. So so something like 70% of of all websites run on PHP. And, basically, there's this big vulnerability that was found in August, and now it's kind of coming out. There there's a patch coming out. It should be... I I think it may have just come out. It didn't come out immediately when the actual news of the vulnerability happened, but...
- 3:03
Yeah. So this was discovered with 5.6 Yep. Back in August. Yeah. And so for the last couple months, all the different companies involved have been trying to inform as many people as possible Yes. Trying to make sure that a lot of companies can get ahead of this before the disclosure. The big issue, I mean, my personal point of view is like you're probably gonna be fine using services from public companies, right?
- 3:28
Yes. Companies that that would have been in the loop over the last couple months. Yep. The bigger issue is the rest of the Internet, websites that...
- 3:34
Yeah. I think there's gonna be this this kind of long tail of people that, you know, maybe are not that online, but they... You know, they're running their own server from their, you know, local business that they've had up for twenty years or something. I think that that's a scenario that, like, is maybe a a little bit more scary where you you just, like, have to really stay stay up on this stuff to
- 3:51
Yeah. I've been thinking about where? Like, all the different places that people have input private information, things like social security numbers, I'm thinking like Yeah. Old, even like local government websites, right? Yep. All these different things. Feels like we're very close to... Or effectively, it's unavoidable that a lot of this stuff is gonna leak out. So that's the bad news.
- 4:11
Yeah. We've seen a lot of government websites, like, temporarily come down. I think Finland, they had some Internet services that that they, like... Just took offline. Yeah. Took offline. Netherlands, France, similar. But hopefully, you know, throughout the day, those will come back up because it seems like the the the main patch has has now come out.
- 4:28
So... So the issue dubbed PHP two shell represents a class of problems in the way PHP manages a computer's memory. It can be exploited in many ways, some requiring just a few seconds by hackers who would use it to run unauthorized software on any unpatched web server. It is the most severe security issue that PHP has faced in more than a decade. According to Volker Du... Dash Douche, a security engineer with a nonprofit foundation that manages the PHP project, he likened it to Heartbleed, a similarly widespread vulnerability that forced a global race to protect hundreds of thousands of servers more than a decade ago. When security patches are released, it marks the starting shot in a race between defenders and hackers. Defenders have to test and install the software patches while hackers study the patches as a guide to find new vulnerabilities, looking to see what has changed and then devising ways of attacking those areas. But today's AI tools can do this work much quicker than any human, potentially making the process more risky, security experts say. Some dude on Twitter could take the patches and run AI against it and post some exploit script, Said Ty, the chief executive of Calif, the security company that first discovered the issue, all hell will break loose.
- 5:37
Nothing. Nothing. Big bug. Ryan Austin, a researcher at Calif, uncovered the flaws with help from GBD 5.6 Soul, one of OpenAI's most advanced models from a couple months ago. During an audit of PHP source code in August, OpenAI funded that and other audits, part of an effort by AI companies to help open source projects address software vulnerabilities now being uncovered by AI systems. The class of bugs had been hiding in PHP source code for years. Security researcher had flagged it as a problem area decades earlier, but the flaw had been considered too difficult to exploit and was largely forgotten. AI found a way. Austin figured out how to control the code that was running in the computer's memory with as few as a few dozen requests to a server running PHP. On smaller system, the hack takes just seconds.
- 6:25
On more complex one, it can take hours. On August 11, Dung called PHP's leadership, there's a serious issue here, he said. I had this moment of, oh, God, what are we doing now? Douche said, how do I communicate this? And then you calm down, you let the adrenaline flow through and you get to fixing. Soon an informal working group had formed among security researchers and software engineers. They collaborated with software distributors and security companies figuring out ways to patch PHP2 shell and prevent it from being exploited. Researchers from Google's Wiz Cybersecurity team soon reached out with new exploits, they had discovered independent of Calif. There were findings from OpenAI's research team. Two, AI is enabling well meaning security researchers to find thousands of software bugs, overwhelming projects like PHP with a flood of issues that need patching.
- 7:13
But PHP2 shell was viewed as a priority and AI's proficiency at hacking prompted worries that criminals could exploit PHP two shell. We need to figure out how to... We need a nickname for that. It's getting a little long.
- 7:27
On many web... Heartbleed, that other... Yeah. That that name goes hard. PHP two shell doesn't sound very scary.
- 7:33
Yeah. Just sounds like some mumbo jumbo. Keeping the secret. PHP two shell is the most severe AI vulnerability that was ever found and one that was likely too complex to have been discovered without AI, said Ami Luttwak, Wizz's co founder. Dung and the other researchers kept its existence a closely guarded secret while they worked on fixes for fear that an AI aided hacker might find and exploit it before they were done.
- 7:57
Really crazy that this was kept, like, a relative secret for this one. Yeah. Well, actually, I I think the original release of this was supposed to be tomorrow, and then details started to leak, I think, a day or two ago. And so Yeah. Actually did, like, right at the very end, it started to leak. But, yeah, for... While they were working on it, it is... It's great that they were able that they were able to kind of hold on to this.
- 8:15
The patching effort was massive. There are close to 200 files being fixed, and developers wrote over 10,000 lines of code during the process. Should've called Garry Tan. He could've ripped that 10,000.
- 8:25
G Stack could've done that In a day. Seconds. I mean In a day. Yeah. Maybe hours. Eventually, a patch was set October 22, then the inevitable happened. News of the patch leaked out Tuesday in a post in Hacker News fitting for it to go out on a site called Hacker News.
- 8:42
Greg Brockman had a good post about this. One interesting kind of tidbit that people are pointing out, I can read it here, as vulnerability discovery ramps, we will need new defense solutions, potentially including authorized defenders such as government scanning the Internet for vulnerable hosts and either notifying or, in extreme cases, patching those systems remotely, which is very interesting. I mean, you can imagine some kind of service that basically they just whenever anything happens, they are, like, have some sort of, you know, right access into your systems and can update
- 9:12
them. Yep. Prime Minister posted, we have an urgent request for everyone to take action regarding PHP, which is used on many websites. The PHP security team has issued a warning about two critical vulnerabilities. Please check if you have publicly available websites that use PHP and prepare to apply the fix patch that will be released tonight at 11PM Japan time. It is difficult to apply the fix promptly, temporarily suspending websites and similar measures can be considered an effective way to reduce risk. Levels.io reached out to a friend, he said, I notified a friend working at a big tech company about the PHP vulnerability as their entire infrastructure runs on PHP. He answered, Thanks, I'll try to patch it in a few days as I'm out of office now. And this is the modern tech company. Imagine the traditional companies running PHP.
- 10:02
People won't update fast enough and the vulnerability will be out in the wild once the patch hits, as anyone can reverse engineer it based on the patch. Considering this, there's gonna be so many sites hacked and so much user data exposed, I think. So... Yeah. Not great.