On October 21, 2026, the PHP project released emergency security updates for two critical flaws that can allow an attacker to execute code on the web server where PHP is running, without needing to authenticate first. Both of these issues are present in the PHP core, which means that the potential impact reaches far beyond a single plugin or theme. The vulnerabilities affect any site running PHP, which includes the millions of WordPress sites on the platform.
The updates are available now and only protect a site if the hosting server has applied them.
What PHP Fixed On October 21
The PHP team released four patched versions of PHP, namely 8.5.12, 8.4.27, 8.3.36, and 8.2.35. The release notes describe this update as a security fix addressing two critical vulnerabilities, which have been assigned the identifiers CVE-2026-109618 and CVE-2026-109619 . The project team notes that no mitigation measures are available, so the recommended action is to upgrade PHP versions.
The first flaw is related to PHP processing of out-of-memory situations, and the advisory states that processing could be interrupted at the point when internal request data structures have not been fully initialized. Therefore, any subsequent clean-up code would then deal with the invalid data as if it were legitimate. The second problem is related to the fact that there is a possibility of stale global storage, and the internal structures owned by requests could potentially hold on to the pointers.
Both issues are related to incorrect memory management practices, and the vulnerability types qualify as critical with regard to PHP. Thus, the update is important, as malicious code could be used to pass specially-crafted web requests, which would lead to the server being compromised.
Sevalla, the web hosting company, reports that the two flaws have been rated 9.2 according to the criticality scale.
Why Mod_Php Faces the Biggest Risk
PHP security advisory: All PHP installations serving web requests are at risk, including PHP-FPM, Apache mod_php, php-cgi, FrankenPHP and LiteSpeed. The project rates the vulnerability as particularly critical for Apache web servers using the mod_php module due to the direct execution of PHP scripts within the Apache environment. PHP currently has a demonstrated exploit in this configuration where an unauthenticated attacker could execute arbitrary PHP code before any application-specific PHP code is executed, potentially compromising the target site. Many WordPress users run their sites with a clean default theme and only a few plugins, believing this to be a secure setup. However, this vulnerability could allow an attacker to execute PHP code before WordPress has processed the request.
Which Versions are Affected
The patched releases were distributed in the four branches that still receive regular updates. If your site uses an older build from these branches, you need the updated version.
PHP 8.1 and older versions no longer receive regular official updates. They are now on the project’s end-of-life list. However, due to the severity of the issue, the PHP Security Team made an exception for the limited source code fixes for PHP 7.4, 8.0, and 8.1. These fixes are available to the users who compile PHP from the source or do not have a long-term support subscription from their hosting provider
Do not consider it as a return of support for these branches. The limited source code fixes are only a one-time exception, so hosts and long-term support vendors will also provide their patches. Contact your host to check if you are protected while planning a transition to a supported PHP version.
Why WordPress Owners Should Care
WordPress is written in PHP – a programming language that runs your install on your web server. Crucially, updating WordPress (or even its plugins) will not update PHP. Which means many people overlook this issue when updating WordPress.
The patch must be applied by your web host, but if your shared hosting plan lets you choose a PHP version in cPanel, make sure the version you choose includes the fix. If you are unsure, feel free to open a support ticket with your web host and ask them.
You can check what PHP version you are currently running by going to Tools > Site Health > Info > Server in the WordPress dashboard and expanding the section. The WordPress support team has a guide on how to update PHP with similar steps.
Governments Pulled Sites Offline
WordPress is written in PHP – a programming language that runs your install on your web server. Crucially, updating WordPress (or even its plugins) will not update PHP. Which means many people overlook this issue when updating WordPress.
The patch must be applied by your web host, but if your shared hosting plan lets you choose a PHP version in cPanel, make sure the version you choose includes the fix. If you are unsure, feel free to open a support ticket with your web host and ask them.
You can check what PHP version you are currently running by going to Tools > Site Health > Info > Server in the WordPress dashboard and expanding the section. The WordPress support team has a guide on how to update PHP with similar steps.
Steps Site Owners Should Take Now
Move in this order.
- First, ask your host to install one of the fixed versions: 8.5.12, 8.4.27, 8.3.36, or 8.2.35. Or ask them to confirm that their update includes both fixes.
- Second, if you run PHP 8.1 or older, back up your site and plan an upgrade. Ask whether your host can apply a vendor-provided fix in the meantime.
- Third, if you cannot patch right away, talk with your host about taking the affected site offline until it is updated. It is a hard call, but a site that is down can be restored. A site that is compromised may not be.
A web application firewall, such as Cloudflare, may block some attack attempts. It is not a substitute for installing the fixes. Also make sure every visit passes through the firewall. Attackers who can reach your origin server directly can bypass those checks.
Protecting Search Visibility During Downtime
Downtime presents another issue for site owners: rankings. Google recommends serving a 503 Service Unavailable response when you’re performing maintenance to let crawlers know that the downtime is intentional and temporary
Ask your host to show a maintenance page with a 503 status code; the page can be served either by the web server or a content delivery network and doesn’t need to be written in PHP, which is what you’re trying to patch in the first place.
A short, well-flagged downtime is much better for your search presence than an exploited CMS, which could lead to data breaches and long-term ranking damage.
Cleanup After the Patch
Installing the fix closes the door. It does not remove an intruder who already got in. A patch does not remove an existing compromise.
After patching, check for three warning signs:
- Web shells, which are malicious scripts that give attackers ongoing access.
- Unfamiliar admin accounts.
- Unexpected changes to PHP files.
If you find any of these, treat the site as breached. Restore from a clean backup, rotate passwords, and review access logs with your host.
What this Means Going Forward
Search Engine Journal’s Director of Technology, Vahan Petrosyan has argued that the exploiters are ahead of software vendors regarding fixing the issues. He cited how the attack method had been present before this security patch. He also predicted that significantly damaging vulnerabilities will be regularly reported with lesser mitigation times for their owners. That was his view, and the following disclosures’ rates are yet to come.
The practical takeaway is that one should currently agree with their host on who will implement the emergency fixes. One also needs to decide on who gets to take the site offline in case of no protection measures. It might prove effective to urge one’s technical crew to conduct regular audits of one’s code and look out for anything remotely suspicious. It is critical to be ahead of the problem, and waiting for an immediate crisis to occur will waste the most crucial hours.
Frequently Asked Questions
Q 1: What are the two PHP flaws?
CVE-2026-109618 and CVE-2026-109619. Both are unauthenticated remote code execution issues in PHP. One is an out-of-memory handling problem and the other is related to stale global state.
Q 2: Which PHP versions contain the fix?
The fixes are in PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35. All four were released on October 21, 2026. Any older build in those branches stays exposed.
Q 3: Does updating WordPress fix this problem?
No. PHP is a server-side language, so your WordPress install doesn’t have the PHP code inside it. Your host will need to upgrade to the fixed PHP versions.
Q 4: How do I check my PHP version in WordPress?
On the Tools > Site Health page, click Info, then look under Server settings. Expand the Server subheading to reveal the PHP version.
Q 5: Which setups face the highest risk?
PHP recommends that all applications that serve website traffic should be upgraded. On Apache servers, installations with the mod_php configuration are considered the most vulnerable because an attacker could deliver a working script before application code is run by the server.
Q 6: Can a firewall protect me instead of patching?
A web application firewall would block some attacks, but the advisory said it was not a replacement for fixing the underlying issue. An attacker who can access your webserver directly could potentially bypass such a tool.
Q 7: What should I do if I run PHP 8.1 or older?
Make a full backup of files and databases and plan a migration to supported versions. PHP recommends checking if there are any remaining publicly accessible, supported branches to upgrade from. For some versions of PHP 7.4, 8.0 and 8.1 the PHP project released partial source code fixes. Some vendors may also have support for older versions. The PHP advisory recommended contacting your webhost to see what mitigation they recommended.
Q 8: Should I take my site offline?
If you cannot patch right away, talk with your host about it. If you do go offline, ask for a maintenance page with a 503 status. This tells Google the outage is temporary.




