Latest / AI Newspaper / AI Found Decade-Old Flaws in PHP, the Code Behind Most of the Web, and the Patch Race Is On
Transcript
- 0:00Welcome to the AI Newspaper, your daily update
- 0:02on everything happening with AI. Visit AINewspaper
- 0:05.org to see today's stories and sign up for email
- 0:08alerts. So if we look back at October 17th, cyber
- 0:14defenders monitoring global networks kind of
- 0:17realized they had a massive problem on their
- 0:19hands. Yeah, to put it mildly. Right, because
- 0:20someone or maybe something was actively trying
- 0:23to break into servers and they were using this
- 0:25flaw. In the PHP programming language, that was,
- 0:28well, it was supposedly impossible to exploit.
- 0:30Right. And the truly terrifying part here is
- 0:34that they were doing it for full days before
- 0:36the fix for that flaw was even made public. It
- 0:39really is a complete paradigm shift. I mean,
- 0:43we are now living in a reality where the defining
- 0:46security challenge isn't really about whether
- 0:48these massive hidden software bugs exist anymore.
- 0:52Yeah. It's entirely about this high stakes race
- 0:54over disclosure windows and patch speeds. Because
- 0:58when frontier AI models can take a 10 -year -old
- 1:00impossibly complex software flaw and turn it
- 1:03into a working attack weapon overnight, well,
- 1:06the advantage heavily shifts to whoever finds
- 1:08that flaw first. And that is exactly the lens
- 1:10we're looking through today on this deep dive.
- 1:12We are breaking down the PHP to shell vulnerabilities.
- 1:16We really need to figure out how AI models manage
- 1:19to conquer the limits of human complexity. crack
- 1:22these ancient flaws. So we're going to look at
- 1:24the frantic minute -by -minute timeline of the
- 1:26real -world exploits that followed, and then,
- 1:29you know, analyze the massive global coordination
- 1:31it's taking to quite literally patch the foundation
- 1:34of the web. Because the sheer scale of the blast
- 1:37radius here is, it's incredibly hard to overstate.
- 1:40I mean, if you interact with the internet in
- 1:42any capacity, you interact with PHP. Right, it's
- 1:45everywhere. It is the core programming language
- 1:47that powers platforms like WordPress, Drupal,
- 1:50Joomla. wikipedia we're talking about roughly
- 1:5470 of all websites relying on this architecture
- 1:56wow okay so before we get into the global race
- 1:59to fix this i really want to unpack exactly what
- 2:02these flaws are because reading the initial reports
- 2:04is just a wall of dense jargon oh absolutely
- 2:07so we have two critical vulnerabilities there's
- 2:10um cve -2026 -109618 which is described as Let
- 2:18me get this right. Out of memory handling leading
- 2:20to the use of uninitialized data. Right. And
- 2:23then there's CVE -2026 -109619, which is a use
- 2:28after free flaw leading to opcache type confusion.
- 2:32Yes. Let's pause right there because if you aren't
- 2:34a software engineer, your eyes probably just
- 2:35glazed over completely. Can we translate that
- 2:38a bit? Yeah. Let's break it down and maybe start
- 2:40with the severity. So both of these bugs carry
- 2:43a CVSS score of 9 .2. Okay, and CVSS is the standard
- 2:48scoring system, right? Exactly. It's the industry
- 2:50standard for scoring vulnerabilities on a scale
- 2:52of 1 to 10. And 9 .2 essentially means the house
- 2:55is actively on fire. Right. In practical terms,
- 2:58it allows for what we call unauthenticated remote
- 3:00code execution, or RCE. Meaning an attacker doesn't
- 3:04need a password, they don't need an account on
- 3:06your website, they literally just need to send
- 3:08a specific package of data over the internet
- 3:10to take total control of your server? Exactly.
- 3:13Anyone, from anywhere, can run arbitrary code
- 3:17on your machine plus it allows for a heart bleed
- 3:21style memory disclosure oh wow yeah meaning they
- 3:24can silently siphon off sensitive data like passwords
- 3:27or user sessions straight from the server's active
- 3:30memory and the truly chilling part is that this
- 3:33flaw is baked into php itself so it doesn't matter
- 3:36what application you're running on top of it
- 3:38exactly completely independent you could have
- 3:41the most secure stripped down basic website imaginable
- 3:44But if the underlying server is running a vulnerable
- 3:47version of PHP, which right now includes every
- 3:50single version dating back to 5 .4, you are completely
- 3:54exposed. Okay, I want to try and visualize this
- 3:57memory issue because I know concepts like use
- 4:00after free and uninitialized data, they sound
- 4:02incredibly abstract. They do. So if we imagine
- 4:04PHP as a chaotic, high -volume restaurant kitchen.
- 4:08I like this. An order comes in, which is basically
- 4:11a web request. The chefs start prepping the meal,
- 4:14pulling ingredients out of the fridge. But suddenly,
- 4:16halfway through, the customer abruptly cancels
- 4:18the order. Right. And in our technical scenario,
- 4:21that cancellation is the out -of -memory error.
- 4:24Exactly. Now, in a perfectly functioning kitchen,
- 4:26the staff would immediately throw out all the
- 4:29half -cooked contaminated ingredients and wipe
- 4:32down their counters before starting the next
- 4:33ticket. Right. But because of this bug, they
- 4:36don't wipe down the counter. Yeah, the cleanup
- 4:38process just crashes. The contaminated ingredients
- 4:41are left sitting there. Then a brand new order
- 4:44comes in. And the chefs, rushing to fulfill it,
- 4:47accidentally grab those stale, contaminated ingredients
- 4:51left on the counter and use them to cook the
- 4:53new meal. Which brings us to the Opcache -type
- 4:56confusion. Right. So an Opcache is basically
- 4:59PHP's way of remembering translated code, so
- 5:02it doesn't have to rebuild it from scratch every
- 5:04time a user loads a web page. It's a shortcut
- 5:06for speed. Okay. So type confusion means the
- 5:09attacker has manipulated those contaminated ingredients
- 5:11so cleverly that they trick the kitchen into
- 5:15thinking a piece of malicious, poisonous code
- 5:17is just a standard, harmless recipe. Oh, wow.
- 5:21Yeah. When the system caches it, it accidentally
- 5:23arms the bomb. But wait, if this broken cleanup
- 5:25process, like this messy kitchen counter, has
- 5:28been sitting in the PHP code for more than 10
- 5:31years, why is it only a crisis today? That's
- 5:34the big question. Right. I mean, human security
- 5:35researchers have cracked incredibly complex systems
- 5:38before. Was it really impossible for a human
- 5:41to find this, or were people just not looking
- 5:43hard enough? Well, it wasn't mathematically impossible
- 5:45for a human, but practically. The return on investment
- 5:47was abysmal. How so? Because memory bugs are
- 5:50notoriously fragile and temperamental. To turn
- 5:53that messy kitchen counter into a reliable working
- 5:55exploit, you have to adapt your attack to the
- 5:57specific memory layout of every single server
- 5:59you target. Oh. So it changes depending on the
- 6:03server. Exactly. A configuration that works perfectly
- 6:05against one specific WordPress deployment will
- 6:08completely crash and fail against a slightly
- 6:10different Drupal deployment running on a different
- 6:11operating system. Right, right. So for a human
- 6:13researcher, mapping and chaining all those variables
- 6:16together requires an unbelievable amount of highly
- 6:19specialized, just tedious manual debugging. You're
- 6:22talking about staring at memory registers and
- 6:24crash dumps for months. Months for one exploit.
- 6:27Yeah. It operated at the absolute edge of what
- 6:29human researchers could practically achieve,
- 6:31so it acted as a natural barrier. It was basically
- 6:34security by obscurity. We kind of just assumed
- 6:36that if a vulnerability was too frustrating and
- 6:39difficult for a human to weaponize, it wasn't
- 6:41a practical, scalable threat. Exactly. But AI
- 6:45has fundamentally altered the economics of vulnerability
- 6:47discovery. Researchers basically decided to throw
- 6:51frontier models, specifically Gemini 4 Argon
- 6:55and GPT 5 .6 Sol, at this exact problem. Okay.
- 7:00And they didn't just ask the AI to read the code.
- 7:02They set the AI up as autonomous agents alongside
- 7:06standard security testing tools. So how does
- 7:10that actually work in practice? Like paint a
- 7:12picture of that workflow for me. Sure. So the
- 7:15human sets up a sandboxed environment, safe,
- 7:18isolated server running PHP. Right. And they
- 7:21give the AI model a goal. Find a way to reliably
- 7:23execute code using this memory glitch. Okay.
- 7:26So the AI writes a Python script to attack the
- 7:29server. The server crashes. Naturally. Right.
- 7:33But instead of a human spending three days analyzing
- 7:35why it crashed, the AI instantly ingests the
- 7:38crash dump, reads the memory offsets, realizes
- 7:41it missed the target by a few bytes, rewrites
- 7:44its own exploit script, and fires again. Wow.
- 7:47And it does this thousands of times. It tests,
- 7:50debugs, and iterates working exploits across
- 7:52different memory layouts in mere hours. Hours.
- 7:57Instead of months of painstaking manual labor.
- 8:00It's essentially automating the scientific method
- 8:03at light speed. Precisely. And that completely
- 8:05removes the specialist effort that used to bottleneck
- 8:08this kind of attack. It takes a theoretical flaw
- 8:11that we basically ignored for a decade and turns
- 8:14it into a highly practical, mass -producible
- 8:17weapon. Which brings us back to that October
- 8:1917th anomaly I mentioned at the top of the show.
- 8:22Because if AI can do this in hours, it begs the
- 8:24obvious question of who got to the finish line
- 8:27first with this specific bug. Right. The good
- 8:30guys or the bad guys. Because finding the bug
- 8:32first is now literally the only thing that matters.
- 8:36Let's look at this timeline because the margin
- 8:38for error has basically vanished here. It really
- 8:41has. So researchers... first discovered these
- 8:44bugs using their AI setup in August of 2026.
- 8:47And they did the responsible thing. They quietly
- 8:49notified the maintainers. And a coordinated patch
- 8:52and public disclosure was scheduled for October
- 8:5422nd. Right, giving everyone time to prepare.
- 8:57Exactly. The plan was to release the fix and
- 8:59the announcement simultaneously so people could
- 9:01patch immediately. But they had to rush the release
- 9:04a day early to October 21st because the CVE identifiers,
- 9:08the tracking numbers for the bugs, leaked on
- 9:10social media. Yeah, and the leak alone is stressful
- 9:13enough, but that isn't even the worst part of
- 9:15the timeline. No, the terrifying part is what
- 9:18Threat Intelligence Network saw four days prior.
- 9:21They operate these things called honeypots, right?
- 9:23Yes. Fake servers set up across the internet
- 9:25designed to look vulnerable, purely to monitor
- 9:28what hackers are trying to do. And on October
- 9:3017th, those honeypots started logging active
- 9:33exploitation attempts perfectly targeting this
- 9:36exact PHP flaw. It's wild. This means attackers
- 9:39were already moving. Either they independently
- 9:42found the exact same 10 -year -old flaw using
- 9:44their own AI infrastructure, or they intercepted
- 9:47the highly classified disclosure intel and built
- 9:49an exploit overnight. It means AI allows malicious
- 9:53actors to weaponize intelligence so fast that
- 9:55traditional patching schedules aren't entirely
- 9:57obsolete. Yeah, and this really forces us to
- 10:00confront a concept in cybersecurity known as
- 10:02the defender's window. Okay, what is that? Historically,
- 10:05when a vulnerability was found, defenders enjoyed
- 10:07a great period. The time between the initial
- 10:09discovery of a flaw and the widespread mass exploitation
- 10:13of that flaw usually took weeks, sometimes months.
- 10:16That gave software maintainers time to write
- 10:19a patch, and it gave IT teams time to test it
- 10:21and deploy it across their networks. But you're
- 10:24saying that window just doesn't exist anymore.
- 10:26It is completely collapsing. As we see with this
- 10:29October 17th activity, keeping defenders ahead
- 10:32is now purely a race over disclosure management
- 10:34and deployment speed. Yeah. You have to assume
- 10:36that... The absolute second a flaw is known to
- 10:39anyone, whether it's leaked on social media,
- 10:41whispered in a dark web forum, or discovered
- 10:44by rogue AI, the clock to widespread exploitation
- 10:47isn't ticking in weeks or days anymore. It's
- 10:49ticking in hours, minutes even. So with attackers
- 10:52literally knocking at the door days before the
- 10:55patch was even public, how did the tech industry
- 10:57mobilize? Because again, we're talking about
- 10:59patching 70 % of the web. Yeah. If you're listening
- 11:02to this and thinking, well, I just run a small
- 11:04WordPress blog for my dental practice. Nobody
- 11:07is targeting me. That's the old way of thinking,
- 11:09right? Completely. With AI automated exploits,
- 11:13attackers are not handpicking targets. Right.
- 11:15They are not looking at your dental practice.
- 11:17They are using automated tools to query the entire
- 11:20internet for any IP address, returning a header
- 11:23that says it runs a vulnerable version of PHP,
- 11:25and you are just caught in the dragnet. So how
- 11:28do we protect everyone caught in that drag now?
- 11:30Well, it required a massive cross -industry coalition
- 11:33working around the clock. You had the core PHP
- 11:36maintainers, the major AI labs, massive cloud
- 11:39providers, and top -tier security firms, all
- 11:41coordinating in private channels. The PHP team
- 11:44pushed out official compiled patches for the
- 11:47active versions, 8 .2, 8 .3, 8 .4, and 8 .5.
- 11:51Cloud providers immediately updated their managed
- 11:54serverless platforms where they had direct control
- 11:57over the infrastructure. But hold on. What about
- 11:59the older versions? What about the end -of -life
- 12:01versions from 7 .4 up to 8 .1? Because a massive
- 12:05portion of the web runs on legacy code. Yeah,
- 12:07and this is where it gets brutal. Those end -of
- 12:09-life versions did not receive official compiled
- 12:12fixes. Wait, really? Yeah. The PHP security team
- 12:15only provided what we call minimal source backports.
- 12:19So what does that actually mean for the average
- 12:20business owner? It means that instead of clicking
- 12:23a button to download and install a neat prepackaged
- 12:26update, you are just given the raw, corrected
- 12:29source code. Oh, no. Yeah. You have to manually
- 12:32compile the entire PHP language from scratch
- 12:34for your specific server environment. And the
- 12:37vast majority of small businesses do not have
- 12:39the technical engineering chops to compile a
- 12:42programming language from source code. Which...
- 12:45entirely explains the drastic response from the
- 12:47government. I mean, the U .S. Cyber Defense Agency,
- 12:49CISA, literally published guidance telling organizations
- 12:53to take internet -facing PHP 8 .1 systems completely
- 12:56offline if they cannot be patched. They didn't
- 12:59say, hey, put a firewall up in front of it. They
- 13:02said, pull the plug. Why wouldn't a standard
- 13:05firewall work here? Well, in the past, if you
- 13:08ran unsupported software, you could often survive
- 13:10by using defensive stopcaps. You could put a
- 13:13web application firewall or WAF in front of your
- 13:15server. Right. A WAF looks at incoming traffic,
- 13:18matches it against the list of known bad signatures,
- 13:20and blocks the malicious stuff. Cloud providers
- 13:23did try to push out WAF rules during this crisis.
- 13:25But it wasn't enough. No, because as the cloud
- 13:28providers themselves admitted, those rules are
- 13:30just bandages on a bullet wound. AI -driven exploits
- 13:34are polymorphic. Meaning? They change their shape.
- 13:37Exactly. The AI generating the attack can constantly
- 13:40morph the payload. Shifting the syntax just enough
- 13:43to bypass the static, rigid rules of a traditional
- 13:45firewall, while still triggering the underlying
- 13:47memory corruption in PHP. That is terrifying.
- 13:50The structural reality we are facing is that
- 13:52if you rely on unsupported, unpatchable software
- 13:54in the AI era, you are functionally defenseless.
- 13:57If you cannot fix the underlying flaw, an AI
- 14:00-driven attack will eventually find a way around
- 14:02your perimeter defenses. Full stop. just staggering.
- 14:08I was reading about a $1 billion initiative called
- 14:11Patch the Planet that launched right alongside
- 14:13this disclosure. Yes, a massive effort. It's
- 14:16essentially subsidizing AI access for frontline
- 14:19network defenders. They released highly specific
- 14:22AI generated query tools for enterprise security
- 14:24teams. Which is so crucial right now. Right.
- 14:27Like, for example, a defender can use tools like
- 14:30Hexa AI to instantly query their entire corporate
- 14:33network for any digital asset that was seen in
- 14:35the last 14 days running a vulnerable version
- 14:38of PHP. And the AI doesn't just find it, it automatically
- 14:41creates the critical remediation tickets, assigns
- 14:45them to the right IT staff, and provides the
- 14:47exact patch commands. Which is a brilliant, necessary
- 14:49evolution. Right. We have to arm the defenders
- 14:51with the exact same capabilities the attackers
- 14:53are using. Exactly. If the offense is fully automated,
- 14:56highly intelligent, and operating at machine
- 14:59speed, Well, your defense must be automated and
- 15:02intelligent just to keep pace. You cannot fight
- 15:05an AI with a spreadsheet and a human IT ticketing
- 15:08system. But even with Patch the Planet, it feels
- 15:10like we are just running faster on a treadmill.
- 15:13You know, we're sprinting to patch a 10 -year
- 15:14-old bug. This incident doesn't feel like a one
- 15:17-off emergency. It feels like a very grim preview
- 15:20of the new normal. It really does. If the economics
- 15:23of hacking have fundamentally changed this much,
- 15:25how does the actual engineering of software need
- 15:28to adapt? We can't keep doing this every time
- 15:30an AI finds a new messy kitchen counter. No,
- 15:33we can't. And you've hit on the core structural
- 15:34force shaping the future of the industry right
- 15:37now. We cannot survive by playing endless whack
- 15:40-a -mole. The focus of software engineering is
- 15:43undergoing a massive shift away from reactive
- 15:45patching and toward building mathematically secure
- 15:48-by -default foundations. So what does that actually
- 15:51look like in practice? How do you build a secure
- 15:54by default foundation? It takes a few different
- 15:57forms happening simultaneously. First, it involves
- 16:00integrating AI coding models directly into the
- 16:03developer's environment. So when an engineer
- 16:06types a line of code that might introduce a memory
- 16:08flaw, the AI acts as a real -time safeguard,
- 16:11refusing to let the bad code commit and suggesting
- 16:14a safer default structure. Oh, that's smart.
- 16:17Like spellcheck, but for vulnerabilities. Exactly.
- 16:20And second, we are seeing a massive industry
- 16:22-wide push to migrate critical infrastructure
- 16:25away from older languages like C and C++, which
- 16:28are what PHP is written in underneath, and moving
- 16:31toward memory -safe languages like Rust. Right.
- 16:35I've heard a lot about Rust lately. Yeah, these
- 16:38modern languages are designed in a way that makes
- 16:40entire classes of errors, like out -of -memory
- 16:43or use -after -free bugs, virtually impossible
- 16:46to write in the first place. The compiler simply
- 16:48won't allow it. But the most fascinating part
- 16:52of this structural shift has to be the rise of
- 16:54formal verification. I saw this mentioned heavily
- 16:57in the aftermath of the PHP crisis. Can you unpack
- 17:00what formal verification actually means? Sure.
- 17:04Formal verification is essentially the holy grail
- 17:06of software engineering. Think about how we traditionally
- 17:09test software. Okay. We write a program and then
- 17:12we run unit tests. We throw a bunch of different
- 17:15inputs at the software to see if it breaks. It
- 17:18is trial and error. Right. Formal verification
- 17:20is different. It is turning software from a craft
- 17:23into a mathematical theorem. It means you use
- 17:27advanced mathematics to conclusively prove that
- 17:30a critical software component satisfies strict
- 17:32security properties under every possible condition.
- 17:36You aren't just testing it. You are proving it
- 17:38cannot fail in specific ways. I love this concept.
- 17:42It is exactly like structural engineering for
- 17:46a suspension bridge. Yes. When we build a massive
- 17:48bridge, we don't just pour the concrete, wait
- 17:51for a crack to appear under the weight of rush
- 17:54hour traffic, and then run out there with some
- 17:56duct tape to patch it. We use math, physics,
- 17:59and load -bearing calculations to absolutely
- 18:02prove the bridge can hold the weight before we
- 18:04even buy the steel. We need to do the exact same
- 18:08thing for our software infrastructure. That is
- 18:10a perfect analogy. And the reason we haven't
- 18:12done that for most software historically is that
- 18:14formal verification is unbelievably dense. I
- 18:17can imagine. The mathematics required to prove
- 18:19a complex system are too slow, too tedious, and
- 18:22too expensive for humans to do at a large scale.
- 18:25It was reserved for things like spacecraft or
- 18:28nuclear reactor controls. Ah, okay. But frontier
- 18:31AI models are perfectly suited for this. They
- 18:34can handle the mathematical density. They can
- 18:37generate the proofs at scale, applying that structural
- 18:40engineering rigor to the everyday code that runs
- 18:42the internet. It really puts this whole crisis
- 18:44and the patch the planet initiative into perspective.
- 18:47We aren't just trying to patch PHP. We are being
- 18:50forced to fundamentally patch the way we build
- 18:52the digital world because the old way is just
- 18:55indefensible in the age of AI. Absolutely. Which
- 18:58leaves me with a thought for you to ponder today.
- 19:00We just spent all this time discussing how AI
- 19:03is incredibly adept at finding hidden flaws in
- 19:06messy human written code. But as AI begins to
- 19:09write more and more of our software entirely
- 19:11from scratch. Will it actually build those mathematically
- 19:15perfect, formally verified systems we just talked
- 19:17about? Or, operating without human oversight,
- 19:21will it weave in entirely new classes of vulnerabilities?
- 19:25Flaws so alien, so structurally complex that
- 19:28only other AIs can even comprehend them, leaving
- 19:31human defenders entirely locked out of the kitchen.
- 19:33Thanks for listening to the AI Newspaper. Visit
- 19:36AINewspaper .org to catch up on the latest updates
- 19:38and sign up for free email alerts.