CVE-2026-109618 and CVE-2026-109619: which PHP version you need and when the patch is released

The PHP version that fixes CVE-2026-109618 and CVE-2026-109619 will be announced on Wednesday, October 21, 2026 at 14:00 UTC, when the PHP security team publishes the patch. In the meantime, you can already check if your PHP branch will receive the fix.

Pending Update: At the time of publishing this note (October 21, 2026, before 14:00 UTC), PHP had not yet published the patch. We will add the fixed version of each branch here as soon as it appears on php.net.

The official announcement was posted to the php.announce mailing list. In it, the PHP security team confirms two critical vulnerabilities, each with a CVSS v4.0 score of 9.2. The advisory does not mention CVE identifiers, affected versions, or technical details.

https://news-web.php.net/php.announce/509

What Version of PHP Fixes CVE-2026-109618 and CVE-2026-109619?

At the time of publishing, none yet: PHP had not announced the fixed version numbers. According to php.net, the affected and fixed versions will be published together with the patch.

What you can do now is identify your branch. PHP maintains four supported branches: 8.2, 8.3, 8.4, and 8.5. Their latest versions are from the security update on September 24:

Branch Latest version before this patch Security support until
8.5 8.5.11 Dec 31, 2029
8.4 8.4.26 Dec 31, 2028
8.3 8.3.35 Dec 31, 2027
8.2 8.2.34 Dec 31, 2026

If your branch appears in the table, you will receive a fix. If it doesn’t, read the section below about older versions.

PHP 8.6.0 is still in release candidate phase (RC3, with RC4 scheduled for October 22) and should not be used in production.

What Time Does the PHP Security Patch Release?

The PHP critical security release is scheduled for 14:00 UTC on Wednesday, October 21, 2026. In local time:

City Local time
Mexico City 08:00
Bogotá, Lima 09:00
Buenos Aires, Santiago 11:00
Madrid 16:00

It may be released earlier. The team has reserved the right to move up the release if details of any of the vulnerabilities leak or if active exploitation is detected.

What Is Known About the PHP2Shell Vulnerabilities?

Offically, very little. It’s worth separating what PHP said from what others are reporting.

Confirmed by PHP:

  • There are two vulnerabilities, both critical severity with CVSS v4.0 9.2.
  • There will be a coordinated release at 14:00 UTC.
  • PHP’s announcement does not name CVEs, affected versions, or how the flaws work.

Reported by researchers, not by PHP:

  • Identifiers. CVE-2026-109618 and CVE-2026-109619 first appeared in a Hacker News post that was later deleted. They were then repeated by watchTowr to BleepingComputer and appear in CERT-EU advisory 2026-018.
  • Scope and severity. watchTowr claims both are remote code execution (RCE) vulnerabilities affecting PHP 5, 6, 7, and 8. The firm assigns them CVSS 10, compared to PHP’s official 9.2.
  • Exploitation status. watchTowr says it has reproduced CVE-2026-109618. As of October 20, no active exploitation had been observed.
  • CERT-EU collects these reports. It attributes the characterization as RCE to leaks, and the scope “from PHP 5” to a security researcher. It recommends identifying PHP-based applications now and, where immediate patching is not possible, isolating internet-exposed applications from the public network.
  • Nickname. The flaws circulate under the unofficial name PHP2Shell.
  • Mechanism. A third-party analysis attributes one of the flaws to a heap use-after-free in session.upload_progress. Neither PHP nor CERT-EU has confirmed this, so treat it as unverified.

How Do I Check What PHP Version I Have with php -v and phpinfo()?

In the terminal, run:

php -v

The first line shows the version and SAPI, for example PHP 8.3.35 (cli).

Note: the php binary in your terminal is the CLI. Your web server might be running another build via PHP-FPM or the Apache module, with a different version and different php.ini.

To see what your site actually runs, temporarily create a file with <?php phpinfo(); in the web root and open it in your browser. Then delete it immediately, because it exposes your entire configuration.

To see which php.ini the CLI loads:

php --ini

Do you install PHP with packages from your Linux distribution? Then the fix will arrive as a security update from the distro, and its version number may not match PHP’s. Also check the security advisories from your distribution.

What If I’m Using PHP 8.1, 7.4, or 5.x?

You will not receive an official fix. PHP 8.1 and all earlier versions are end of life (EOL), and the PHP project only patches the four supported branches.

If the reported scope (“from PHP 5”) is confirmed, every server on an unsupported branch will remain exposed after 14:00 UTC. Realistic options are:

  • migrate to a supported branch;
  • rely on a vendor or distribution that applies security backports, as some enterprise Linux distributions do;
  • isolate the application from the internet, as CERT-EU suggests.

Note that branch 8.2 itself loses security support on December 31, 2026, in ten weeks.

Is There a Mitigation While Waiting for the Patch?

There is a temporary measure circulating, but it is not confirmed as a solution to these CVEs. Several researchers suggest disabling upload progress tracking in php.ini:

session.upload_progress.enabled = Off

Two facts make it worth considering even without confirmation:

  • It is enabled by default. The manual indicates its default value is 1.
  • The PHP manual itself already recommends disabling it if you don’t use upload progress bars. The feature writes file names and field names sent by the client to the session store without validating them. According to the manual, this makes it trivial to exploit any local file inclusion vulnerability.

The directive is INI_PERDIR, so change it in php.ini, not at runtime with ini_set(). Then reload PHP-FPM or your web server.

At the time of publishing this note, neither PHP nor CERT-EU had confirmed that this setting blocks either of the two vulnerabilities. Use it to reduce exposure, not as a substitute for updating.

How Do I Update PHP When the Patch Is Released?

As soon as it’s published, follow this order:

  1. Read the version announcement on php.net. That’s where the fixed version for your branch and CVE details will be.
  2. Update all web traffic servers first. Then the CLI, workers, and containers. Rebuild Docker images that pin a PHP base image.
  3. Check the version that is actually running. Use php -v and phpinfo() in the web SAPI to verify it’s the new one.
  4. Review the session.upload_progress setting. If you disabled it and your application uses upload progress bars, deliberately decide whether to re-enable it after patching.

And you? What version of PHP is running on your production server today?

When Will You Apply the PHP Patch?
  • The same day it’s released
  • This week
  • It depends on my hosting or distribution
  • I prefer another option (tell us which)
0 votantes

Comment below or, if this article reached you by email, reply directly to the email: your reply will be published here.

Related: Does Your Project Use a Vulnerable Version of Handlebars? How to Check and Update to 4.7.10