- PHP released patched versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35 on October 21, 2026 for two critical flaws.
- This is a server-level PHP issue. WordPress, plugin and theme updates do not fix it.
- Hosted? Ask your provider to confirm the patched version in writing.
- Self-managed? Back up, patch, restart services and verify the live runtime.
PHP is the server-side language behind many business websites, membership portals, ecommerce stores and WordPress installations. When PHP itself needs a security update, normal website maintenance becomes urgent, because the issue sits below the website application. This guide covers who is affected, why WordPress updates are not enough and what site owners should do next.
Update PHP to patched versions now
If you own a website, administer WordPress or manage hosting for clients, treat this as an emergency, not a routine backlog item. The PHP project released patched versions PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 on October 21, 2026, to address two critical vulnerabilities that can allow unauthenticated remote code execution. The official guidance is clear: all PHP users should update immediately. php.net ↗
In practical terms, the safest action is to confirm the PHP version running on the server, not just the version shown inside a CMS dashboard. If you don’t control the server, contact your hosting provider now and ask whether your account has been moved to a fixed PHP build.
What happened, and why is this urgent?
Two unauthenticated remote code execution vulnerabilities were disclosed in PHP: CVE-2026-109618, described as RCE via out-of-memory corruption, and CVE-2026-109619, described as RCE via stale global state. Both are rated critical with a CVSS v4.0 score of 9.2. A successful attack could allow code execution under the web worker account. Rapid7 ↗
That matters because PHP handles web requests before your website application does its normal work. With the highest-risk setup, Apache mod_php, PHP reported a demonstrated unauthenticated exploit where the attack can happen before any application code runs. php.net ↗ The plain-English takeaway: a firewall, theme update or plugin cleanup is not a substitute for patching PHP.
This is a PHP issue, not a WordPress plugin or theme issue
A common misunderstanding is that every website security issue can be fixed from the WordPress admin area. These vulnerabilities affect PHP itself, not WordPress core, plugins or themes. WordPress auto-updates are still good security hygiene, but they do not replace the PHP runtime on the server.
That distinction is central to good web development and website maintenance. WordPress runs on top of PHP. If PHP is vulnerable, updating WordPress leaves the lower layer exposed. The fix is a server-level PHP update, installed through the host, operating system packages, LTS vendor packages, official PHP source or Windows binaries.
Affected PHP installations serving web requests
The PHP advisory identifies all PHP installations serving web requests as at risk, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. mod_php deserves special priority because PHP considers it the highest risk. php.net ↗ Use this quick checklist when reviewing exposure:
Shared hosting
Confirm the host has patched the PHP build used by your account.
WordPress hosting
Don’t assume WordPress auto-updates fixed PHP. Ask specifically about PHP.
VPS or dedicated server
Check PHP packages, service type and restart status.
Containers
Rebuild or redeploy images with patched PHP, then verify inside the running container.
Multiple sites
Check every virtual host, pool, container and legacy app, not only the main website.
What should hosted site owners ask their provider?
If your hosting company manages PHP for you, your job is confirmation. Ask whether the server has been updated to PHP 8.5.12, 8.4.27, 8.3.36, 8.2.35, or a vendor package that backports the complete fixes. If the host has a status page, security bulletin or control panel notice, check it and save the confirmation for your records.

Send your host this, word for word: “Please confirm that the PHP runtime serving my website has been patched for CVE-2026-109618 and CVE-2026-109619, and tell me which fixed PHP version or vendor backport is installed.” It keeps the answer about PHP, not WordPress.
Steps for self-managed servers
If you manage your own server, take a backup before making changes. Include site files, databases, configuration files, web server configuration, PHP-FPM pool settings, container definitions and any custom build notes. Then patch PHP from a trusted source and restart the relevant services so the running workers actually use the new build.
Older PHP and Remirepo users need extra care
PHP 8.1 and older no longer receive official updates from the PHP project. Some Linux distributions and LTS vendors may provide backports, so contact your vendor or plan an upgrade to a supported PHP version. The PHP team also published minimal source backports for PHP 7.4, 8.0 and 8.1 for users building from source or without an LTS vendor option. php.net ↗
If you use Remirepo RPM packages, check for updated packages and verify your specific stream. The PHP advisory originally stated that rpms.remirepo.net would not have updates on October 21, 2026, and recommended switching to distribution packages or building from source. Later community reports indicated updated Remi packages were appearing, but availability may vary by mirror and platform. Don’t assume you are patched until you verify locally. php.net ↗
Not sure who controls your server?
That’s more common than you think. Book a consultation and we’ll find out where your site runs and whether it’s patched.
Temporary measures are not the fix
If you cannot update immediately, understand the risk: only a full PHP update completely solves the issue. The PHP advisory lists temporary measures that may reduce exposure to specific attack paths, such as configuration changes for memory handling and session upload progress. Those steps do not make an installation safe. Follow the advisory exactly, apply changes where required, restart workers and keep working toward a complete update. php.net ↗
The bottom line: this is a server-level PHP security event. Keep WordPress, plugins and themes updated, but don’t confuse those tasks with patching PHP. Confirm the runtime, apply the fixed version or vendor backport and document the result as part of ongoing maintenance. If your site is overdue for more than a patch, read why outdated websites bleed leads.
Quick answers
Do WordPress updates fix the PHP vulnerabilities?
No. These vulnerabilities are in PHP itself, which runs underneath WordPress. You need a server-level PHP update from your host or server administrator.
Which PHP versions are patched?
PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, released October 21, 2026, or a vendor package that backports the complete fixes.
How do I know if my website is affected?
Any PHP installation serving web requests is at risk, including PHP-FPM, Apache mod_php, php-cgi, FrankenPHP and LiteSpeed. Confirm the live PHP runtime version with your host or on the server.
What if I’m on PHP 8.1 or older?
Those versions no longer get official updates. Ask your Linux distribution or LTS vendor about backports, or plan an upgrade to a supported PHP version.



