PHP 8.5 is fixed upstream in 8.5.12. The branch is in active support until 31 December 2027. This is also the only current production branch where fatal_error_backtraces is a confirmed producer for CVE-2026-109619, so the temporary setting fatal_error_backtraces=0 applies here and not to older branches.

Lifecycle

PHP 8.5 has active support until 31 December 2027. The reference point from php.net is 8.5.12 is the fix. End-of-life status and a vendor backport are different facts. A branch can be unsupported by the PHP project and still have a distribution build that includes these two fixes.

What is confirmed about exposure

The defects are in the PHP runtime, so a PHP 8.5 process that serves HTTP is in the population PHP told users to update. mod_php is the highest-risk integration. PHP-FPM is not excluded. An application update does not change this runtime.

Upstream options

Install the fixed upstream release named above, from php.net or the Windows builds linked from the release announcement.

Vendor packages

Ubuntu 26.04 lists php8.5 fixed in 8.5.4-0ubuntu1.5, and Ubuntu 26.10 lists 8.5.9-0ubuntu2.1. Both are backports below the 8.5.12 upstream number. Ubuntu says these releases receive the fix as part of standard support.

Nginx, Apache, and PHP-FPM

Nginx and Apache only route the request. On PHP 8.5, identify whether the vhost uses PHP-FPM, mod_php, or CGI. mod_php remains the highest-risk SAPI in PHP’s advisory regardless of how old the branch is. PHP-FPM on 8.5 is still in scope for CVE-2026-109619’s session path. Restart the daemon that loaded this branch after any package change. A host with PHP 8.5 and a newer PHP side by side is only fixed for the vhost you actually updated.

Remediation paths

Upstream installs should move to 8.5.12. Ubuntu 26.04 and 26.10 should install the named package revision and restart PHP. If you cannot update a PHP 8.5 host today, the advisory’s extra temporary control is fatal_error_backtraces=0 plus the session upload progress setting. Neither replaces 8.5.12.

Temporary settings from the PHP advisory remain available and remain incomplete. See the mitigations page.

Production precautions

Snapshot or otherwise preserve the current packages before you change a production PHP 8.5 host. Expect a restart of php-fpm or Apache to drop active requests. If an extension fails to load, roll back and treat that as a compatibility problem, not as a reason to skip the CVE.

Validation

Query the binary the vhost uses after the restart. On backport-style packages, compare the package version rather than waiting for php -v to print a new upstream number. Check one authenticated and one anonymous application route you already know how to judge.

When to involve a specialist

Involve a specialist when PHP 8.5 is tied to a custom extension, a control-panel build, or a release process that cannot take the upstream tag directly. That is the normal case for this branch, not an edge case.

Questions

Is the last upstream PHP 8.5 release a PHP2Shell fix?

PHP 8.5 is fixed upstream in 8.5.12. The branch is in active support until 31 December 2027. This is also the only current production branch where fatal_error_backtraces is a confirmed producer for CVE-2026-109619, so the temporary setting fatal_error_backtraces=0 applies here and not to older branches.

Can you help if we cannot upgrade this week?

Yes. The engagement can cover a vendor package check, exposure reduction, or a migration plan. It will not pretend a missing patch exists.

Sources checked