Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

PHP2Shell shows AI is exposing decades of legacy-code debt

PHP2Shell, a remote-code-execution flaw affecting WordPress, Drupal and other PHP sites, grew out of a memory crash bug reported to PHP back in 2024 and left unfixed because it only caused crashes. Security firm Calif, in an OpenAI-sponsored audit and aided…

Published Read the original
PHP2Shell shows AI is exposing decades of legacy-code debt

Why it matters

Crash-only bugs in old dependencies can no longer be treated as harmless, so patch cadence matters more than ever.

What happened

1 min read

PHP2Shell, a remote-code-execution flaw affecting WordPress, Drupal and other PHP sites, grew out of a memory crash bug reported to PHP back in 2024 and left unfixed because it only caused crashes. Security firm Calif, in an OpenAI-sponsored audit and aided by AI tools, turned it into a working exploit within two weeks, and Wiz confirmed and extended the findings; a patch shipped before any known abuse. Academic researchers quoted say AI now makes finding bugs much faster than fixing them.

inscraper analysis

Our analysis

This is a feature piece, not a new disclosure; its value is a concrete case of an AI-assisted team turning a neglected crash into RCE. The article itself stresses that experts did the work and AI amplified them rather than replacing them. The find-versus-fix asymmetry, especially for underfunded open source, is the real story, and LLM-written patches with LLM-generated formal proofs checked by a proof checker are promising but early. The prediction of a major incident in 2027 is opinion, not evidence.

More in Research