Reviewed on 27 October 2026. On 21 October, the PHP team released fixes for two critical vulnerabilities that could allow unauthenticated remote code execution. The upstream PHP versions that contain the fixes are 8.5.12, 8.4.27, 8.3.36 and 8.2.35. The advisory applies to PHP installations serving web requests, not only WordPress sites.
On 26 October, PHP also announced rebuilt Windows packages (8.5.12-1, 8.4.27-1, 8.3.36-1 and 8.2.35-1) with Brotli 1.2.1, which fixes a separate vulnerability. The -1 suffix identifies a Windows package rebuild; it is not a new PHP runtime version. Check which package and operating system your server uses.
1. Find the PHP runtime serving your site
In WordPress, open Tools → Site Health → Info → Server and check the PHP version reported for the site. Your hosting panel may also show the version assigned to the domain.
On a VPS, you can start with:
php -v
sudo systemctl list-units --type=service --all 'php*-fpm.service'
php -v reports the CLI runtime. By itself, it does not prove which version serves web requests: PHP-FPM, Apache, a container or a proxy may use another binary or pool. Check the virtual-host configuration, active service and deployed image. Do not publish a reachable phpinfo() page to find out; it can expose internal configuration.
2. If your provider manages the server, ask for the patch status
Managed hosting customers may not have permission to update system packages. Ask the provider which fixed version or package is serving your domain, when it was applied, and whether the distribution has supplied a backported fix. PHP notes that some distributions and LTS vendors provide backports; in that case, the visible version number may differ from the upstream PHP.net release. Ask for the package or vendor-advisory reference instead of assuming an older number is patched.
If your control panel lets you choose a PHP version, select a supported branch and confirm that the change applies to the right domain. Test on staging first when possible. A version change can affect extensions, plugins, themes or application code even when you are applying a security fix.
If the provider cannot confirm an update or backport and the server is serving vulnerable PHP, escalate the incident and agree on immediate mitigation. Do not treat a security plugin or a blocked URL as a complete fix: PHP says temporary measures reduce specific attack paths, while updating is the complete solution.
3. If you manage a VPS, update the package serving web requests
First check the operating system, repository and installed PHP branch. Install the security update from that package source; a distribution may backport the fix without changing the upstream version number. Avoid mixing packages from different repositories or compiling another version before you know which service and extensions the application uses.
After updating, restart or reload every PHP process that serves traffic. Depending on the setup, that may include PHP-FPM, Apache with mod_php, FrankenPHP, LiteSpeed or a container. Installing a package does not guarantee that old workers have stopped accepting requests.
If you deploy with Docker, update the base image tag or digest that contains PHP, rebuild it and deploy the new container. Check the runtime inside the service and the image actually running; updating PHP on the host does not change an isolated container.
4. Verify the site after the update
Use the panel or application to verify that the web runtime now uses the fixed package or a confirmed backport, and that all workers are on it. Then test the homepage and PHP-backed paths: sign-in, forms, file uploads, scheduled jobs and database connections. Check logs for module or compatibility errors and confirm that recent backups can be restored.
If an update breaks the application, do not leave a vulnerable branch exposed indefinitely. Use a rollback only as a temporary measure coordinated with the provider or technical owner, and return to a fixed configuration as soon as possible.
Versions listed in the advisory
| Branch | Upstream fixed version published by PHP on 21 October 2026 | Note |
|---|---|---|
| 8.5 | 8.5.12 | The 26 October Windows rebuild appears as 8.5.12-1 because of the Brotli update. |
| 8.4 | 8.4.27 | The 26 October Windows rebuild appears as 8.4.27-1. |
| 8.3 | 8.3.36 | The 26 October Windows rebuild appears as 8.3.36-1. |
| 8.2 | 8.2.35 | The 26 October Windows rebuild appears as 8.2.35-1. PHP says upstream security support for 8.2 ends on 31 December 2026. |
PHP 8.1 and earlier no longer receive updates from the PHP project. Some distributions or LTS vendors may provide backported fixes; confirm that with the system maintainer before deciding what to do next.
Official sources
- PHP security advisory, 21 October 2026: CVE-2026-109618 and CVE-2026-109619, affected scope and fixed versions.
- PHP advisory on session upload progress, 23 October: the unusual configuration required for another vector, scheduled for the next regular release.
- Rebuilt PHP Windows packages with the Brotli fix, 26 October.
- WordPress security notice: checking PHP in Site Health and confirmation that no WordPress Core release is required to fix it.
- Supported PHP versions: branch status and support dates.
Scope: this guide summarizes public information checked on 27 October 2026. It does not confirm the runtime serving any particular Hostbrid domain and does not replace the server administrator’s verification.