How AI tools helped turn a two-year-old PHP crash report into a critical flaw

IEEE Spectrum traces PHP2Shell from a low-priority 2024 report to a patched critical bug, caught before known exploitation. Install the PHP updates.

November 1, 2026

An out-of-memory bug reported to the PHP Foundation in 2024 sat unaddressed, as crash reports often do. IEEE Spectrum explains how it became PHP2Shell, a critical vulnerability, and how it was fixed before attackers were known to have used it.

What happened

  • Audit: security firm Calif was asked to audit PHP independently, in work sponsored by OpenAI. A Calif researcher, using AI tools, found the bug was far more serious than it looked.
  • Disclosure: Calif alerted the PHP Foundation, and Wiz confirmed and expanded the findings.
  • Patch: a team of four engineers spent two months on the fix.

Why it matters

  • For anyone running PHP: apply the PHP Foundation’s security release. Matthew Green of Johns Hopkins told Spectrum: “don’t wait till next week. Just do it.”
  • Backlogs: Suman Jana of Columbia says AI is “very good” at this detailed reasoning but “clearly cannot” do it alone, and that the gap between finding and fixing bugs “puts a lot of strain on the defenders”.

Source

Summary written by FoxaMind with AI assistance from the sources above. Check the originals for full details.