Skip to the content
AI and Cybersecurity Learning and Practice Center Test automation Open the Learning Center

NewsResearch

PHP: two remote code execution flaws found with help from AI tools, and governments took sites offline to patch

The PHP Foundation released PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 on October 21 to fix CVE-2026-109618, memory corruption when a request hits memory_limit at the wrong moment, which on Apache with mod_php an unauthenticated request can trigger before any application code runs, and CVE-2026-109619, a fatal error that leaves state pointing at a previous request's freed memory. Reporters demonstrated remote code execution for both; the Foundation puts the severity at CVSS 9.2, not the 10.0 that leaked. Calif and OpenAI each reported the root cause on August 11, Wiz added attack vectors on August 24 and OpenAI more on September 18. Alpha-Omega had scanned PHP with Anthropic's Claude Mythos earlier in the year and later used OpenAI's Daybreak Red to validate reports; the Foundation says people made every decision and wrote every patch. The CVE ids leaked on October 20, the release was moved up a day, Calif published a proof-of-concept video by mistake and Chainguard shipped fixed images six hours early. The Foundation found no working public exploit at release. AP reports the FBI advised taking sites offline if they cannot be updated at once, and some government services in the UK, Finland and Japan went offline temporarily. SecurityWeek reported the same day that exploitation attempts had begun: Amazon saw attempts four days before the patches, Patchstack and Cloudflare on the day of disclosure, Vega saw attempts built on a public proof of concept and Hadrian reported exploitation at scale, mostly against PHP's session upload-progress feature. watchTowr had seen no successful exploitation yet.

Why it matters

AI tools are finding decade-old flaws in software almost every website depends on, and the patch window shrinks when details leak. Update PHP now, and plan for a site you can take offline quickly when a patch cannot go in the same day.

Sources

Read it with the rest of the news in the Learning Center