Critical PHP flaws take government sites offline as AI code-proof research advances
Two critical PHP vulnerabilities, together dubbed PHP2Shell and tracked as CVE-2026-109618[1] and CVE-2026-109619 with a CVSS[2] score of 9.2, let unauthenticated requests gain code execution in default configurations, prompting government sites in Europe and Japan to go offline or publish maintenance notices. Independent security researcher Ryan Austin found them in early August, tracing leads back to a memory-limit defect recorded in 2004 and an underappreciated 2020 report, while large language models mainly cut exploit validation from weeks to days. This unfolded as OpenAI announced its frontier models took part in finding vulnerabilities and Anthropic published research showing AI generating formal proofs[3] for open-source codebases that pass independent checkers. The flaws sit in the C implementation of the PHP interpreter, which still powers about 69% of websites with known server-side languages; roughly 65% of PHP sites run 8.x, about 27% and 7% run 7.x and 5.x, and official patches cover only 8.2 through 8.5, leaving about a third of sites without updates. The article presents ServBay's patches backported[4] to legacy PHP branches as a buffer for teams that cannot upgrade, letting them replace the interpreter package while staying on their current major version.
Discussion
Commenters largely endorse splitting acceptance between application-level proofs, runtime versions and patch status; one adds that interpreter upgrades can change legacy behavior, so regression-test and rollback evidence should be preserved alongside verifying the vulnerability no longer reproduces. Another says the PHP section is worth a second read.
Sources
-
CNJuejin ZH
AI说代码没漏洞?马上被 PHP 打脸了


