avoid.worksIdeas, projects & AI notes.
← Back to news

PHP patches two critical flaws after AI-assisted discovery

PHP patched two critical flaws that could let an attacker take over a website server. AI helped find one, while PHP maintainers made and released both fixes.

Hover, click, or tap a dotted-underlined term for a quick explanation and a link to read more.

A website can look normal while the software underneath needs an urgent update. On October 21, the PHP project announced fixes for two critical security flaws in PHP, the language behind many websites. The flaws could let someone run code on an affected server without logging in. If you operate a site that uses PHP, check your installed version and your hosting provider’s guidance now.

What did AI do here?

OpenAI says an AI-assisted security researcher found one of the flaws while using GPT-5.6 Sol. Security company Wiz also independently found and reported both flaws. PHP’s maintainers led the investigation, fixes, and release; OpenAI and other partners helped coordinate testing and advance protection. This is a useful example of an AI agent helping people find a problem, while humans verify it and ship the repair.

Who should act?

According to PHP’s advisory, installations serving web requests are affected, including common PHP setups. The fixed PHP versions are 8.5.12, 8.4.27, 8.3.36, and 8.2.35. If your host supplies PHP, check its security notice: some vendors received patches early and may provide a fixed package with a different version number. PHP 8.1 and older no longer get normal PHP-project updates, although some vendors provide backported fixes. Site visitors cannot update a server themselves; the site owner or host must do it.

PHP says the suggested temporary measures reduce exposure to particular attack paths but are not a complete fix. Updating is the safe choice. If you do not know whether a site uses PHP, ask its host or developer instead of assuming a WordPress plugin update covers the underlying PHP version.

What is still unknown?

The public notices describe the flaws and available fixes. They do not establish how many sites remain vulnerable or whether a particular site was compromised. OpenAI says its AI-assisted research found one flaw before attackers did; that is its account, not a guarantee about every affected server. The immediate practical takeaway is the PHP project’s update advice.

Sources & further reading