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
- IEEE Spectrum article on PHP2Shell — IEEE Spectrum, Dina Genkina, November 2, 2026
Summary written by FoxaMind with AI assistance from the sources above. Check the originals for full details.