AI AgentsPublished 27 October 20264 min

Critical PHP Vulnerability: What SMEs Should Do Now

By Alexandre Saint-Jean

Audio version

Audio version produced by text-to-speech from the article. Our AI charter


On 21 October 2026, the PHP project published a security advisory on PHP.net saying that PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 fix two critical vulnerabilities that could allow unauthenticated remote code execution. The project strongly encouraged all PHP users to update immediately. It had warned the day before (PHP.net, 20 October 2026) that a security release would ship at 14:00 UTC on 21 October, with both flaws rated CVSS v4.0 9.2.

What did the PHP project actually announce?

According to the PHP.net advisory of 21 October 2026, every PHP installation that serves web requests is at risk: PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. The risk is highest for mod_php. The GitHub php-src advisory for CVE-2026-109618 (21 October 2026), rated CVSS v4 9.2, covers php-src versions before 8.2.35, 8.3.36, 8.4.27 and 8.5.12.

The reporters confirmed unauthenticated remote code execution over HTTP against mod_php with default settings. For FPM, FrankenPHP and LSAPI, the advisory judges exposure likely from code analysis, and no complete FPM exploit has been demonstrated. These are two different levels of evidence, and the advisory keeps them apart.

Who found the flaws, and is AI involved?

According to BleepingComputer on 21 October 2026, the flaws were discovered by researchers from Calif, OpenAI and Wiz. The GitHub advisory credits four reporters by their GitHub handles: lcfr-hax, sagitzadik-wiz, tomash-areion and amyb-oai. We have not checked the BleepingComputer attribution against another source, so read it as that outlet's account as of 21 October 2026.

Our take: what we can say is narrow: researchers from OpenAI were among those named. How the flaws were found is not something this article claims, so it makes no claim that AI was involved. For a company, the method matters less than the timing, which is the next point.

How fast did attackers move?

According to BleepingComputer, Cloudflare's chief technology officer, Dane Knecht, said the company was already observing early attacks targeting both vulnerabilities before the patches were published. That is one outlet's report, dated 21 October 2026, and we have not checked it against Cloudflare directly.

Our take: the reported order of events, attacks first and patches second, is the practical lesson. A company that waits for its next scheduled maintenance window is making a decision, even if nobody wrote it down. This is a reading, not a finding of the sources.

Does this affect the website of a small business?

It depends on what runs your site, and the advisory is the place to check, not a headline. Kaspersky notes (21 October 2026) that marketplaces, e-commerce platforms, online learning platforms and CMSs such as WordPress, Drupal and Joomla are written in PHP. Its article does not say each of those products is directly vulnerable, and neither do we.

What matters is the PHP version and build on the server. Per the PHP project, PHP 8.1 and older no longer receive updates from the project. It publishes patches you compile yourself for PHP 7.4, 8.0 and 8.1, and notes that some distributions and long-term-support vendors provide backported fixes. If your server runs an older version, ask your host which option applies.

What should an SME do now?

Kaspersky's recommendations, published on 21 October 2026, are practical:

  • If a host or service provider manages your server, ask them to apply the update.
  • Check the packages of your distribution or host. The version number may not change, so read the package changelog.
  • Restart PHP-FPM or the web server.
  • Confirm the version with php -v.
  • Review your logs from 20 October onward.

The PHP advisory adds that none of the temporary mitigations, such as session.upload_progress.enabled=0, memory_limit=-1 or a low post_max_size, is complete, and that updating is the only safe choice. Do not treat a configuration tweak as a substitute for the update.

Our take: for a small company, the discipline is organisational. Keep a list of who hosts and maintains each site, who is responsible for updates, and how quickly they must answer when a critical advisory appears. This is a reading, not a requirement from the sources. For the wider habits, see our guide to AI security best practices for SMEs, and our note on protecting API keys and secrets on GitHub. If you handle finance or accounting data on a PHP site, our AI audit for finance and accounting is a broader starting point.

Our take: if you build or commission sites with AI tools, the technical basics before coding with AI cover the groundwork, including what you are responsible for once the code runs on a server. Again, this is our reading, not a claim from the advisory.

Frequently asked questions

Did AI find this PHP vulnerability?
According to BleepingComputer, on 21 October 2026, the flaws were discovered by researchers from Calif, OpenAI and Wiz. This article does not claim that an AI system found them.
Which PHP versions contain the fix?
The PHP project says PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 fix the two vulnerabilities. PHP 8.1 and older no longer receive updates from the project. It publishes patches to compile yourself for PHP 7.4, 8.0 and 8.1, and notes that some distributions and long-term-support vendors provide backported fixes.
Is my WordPress or e-commerce site vulnerable?
Kaspersky says that CMSs such as WordPress, Drupal and Joomla, and many e-commerce platforms, are written in PHP. Its article does not say each product is directly vulnerable. Check the PHP version your server runs and any notice from your CMS or shop vendor.
Can I protect my site without updating PHP?
The PHP advisory says none of the temporary mitigations, such as session.upload_progress.enabled=0, memory_limit=-1 or a low post_max_size, is complete, and that updating is the only safe choice.
How do I check which PHP version my site uses?
Kaspersky suggests confirming the version with `php -v` on the server and checking your distribution or host packages. The version number may not change, so the package changelog is worth reading. Your host can also tell you.

Sources

Get the AI briefing, no commitment

Free · Every Wednesday morning · One-click unsubscribe · Your data is never sold

Free first call

Got an AI project in mind?

30 minutes to scope your need and see how to fund it. No commitment.

Working with companies across France, remote.