PHP2Shell flaws expose the old code behind 7 in 10 websites (opens the source in a new tab)

Explainer: about 7.5 lakh of some 5 million PHP servers run versions with no patch for the AI-found PHP2Shell flaws.
Original graphic: KKReckonsView full size ↗
  • Two flaws called PHP2Shell, disclosed on Wednesday, sit in the part of PHP that handles crashes. PHP runs WordPress and about 7 in 10 websites, and the bug opens a server before a site's own code or firewall runs.
  • AI found them: security firm Calif, using an OpenAI model, caught the first in August, and Wiz found both two weeks later. Cloudflare saw millions of attack attempts by the night of the announcement.
  • Patches exist for PHP 8.2 to 8.5, but about 7.5 lakh of roughly 5 million PHP servers run versions with none. Finland, Wikipedia and Japan's tax agency took services offline. Pravin Kaushal argues the lasting fix is funding PHP's few maintainers.
7.5 lakh
PHP servers on versions with no patch
7 in 10
websites that run on PHP

Why it matters AI now finds deep bugs cheaply, and so can attackers. Unread old code running banks, shops and government portals has turned from a saving into a liability.

Other side The same AI tools that found PHP2Shell can help defenders audit and patch faster. Funding maintainers helps, but site owners who never update stay exposed however well PHP's team is paid.

Read the full 24 Oct edition →Catch up on past editions

More on:OpenAI 31

Today’s edition is ready

Read deep. Think clearly. Stay curious.

A daily visual briefing on the stories that matter: India, the world, and what’s next.

Read Today’s Edition →Get it by email ↗

Free · 50 editions and 359 stories so far · Unsubscribe anytime

Emails are sent by beehiiv; your address is used only for this newsletter. Privacy · Editorial standards