Critical PHP Security Update: Immediate Action Required to Protect Your Website

Critical PHP Security Update
Briskstar
Briskstar
date-time-icon
23 Oct, 2026

Your website may be running a serious security risk without showing any visible warning. If your website or web application uses PHP, an outdated PHP version could expose your server to attacks that allow hackers to execute malicious code without logging in.

On October 21, 2026, the PHP team released emergency security updates to fix two critical vulnerabilities, CVE-2026-109618 and CVE-2026-109619, collectively known by security researchers as PHP2Shell. Both vulnerabilities have a CVSS score of 9.2 out of 10, indicating a critical level of risk. Security researchers have reported exploitation attempts, making it important for website owners and development teams to act quickly.

The good news is that fixes are available for supported PHP versions. The priority is to identify which PHP version your server is running and install the appropriate security update.

What Is the PHP2Shell Security Vulnerability?

PHP is the server-side programming language that powers many websites and web applications, including WordPress websites, Laravel applications, and custom-built platforms.

The PHP2Shell issue involves two vulnerabilities in PHP’s internal request-handling and memory-management processes. Under certain conditions, these flaws can allow an attacker to execute malicious code on a vulnerable server without authentication.

In simple terms, an attacker may not need a valid username, password, or administrator account to exploit a vulnerable PHP installation. Successful exploitation could allow them to run commands with the permissions of the affected web process, potentially compromising website files, exposing sensitive information, or disrupting application operations.

The two vulnerabilities are:

  • CVE-2026-109618: An out-of-memory handling vulnerability that can leave PHP’s internal request data in an unsafe state during error handling.
  • CVE-2026-109619: A stale global-state vulnerability that can cause PHP to reference memory that has already been released, potentially leading to memory corruption and code execution.

Both vulnerabilities are rated CVSS 9.2. The PHP team considers systems running PHP as an Apache module (mod_php) to be at particularly high risk because a vulnerable request may trigger the attack before the application code executes.

The important point is that this is a vulnerability in PHP itself, not simply a bug in a particular website, plugin, or framework.

Who Is at Risk?

If your server runs an affected PHP version, your website or application may be exposed even if it appears to be working normally.

Potentially affected environments include:

  • WordPress websites running vulnerable PHP versions.
  • Laravel applications and other PHP-based web applications.
  • Custom PHP websites and business applications.
  • Servers running PHP through Apache mod_php, PHP-FPM, CGI, FrankenPHP, or LiteSpeed.
  • Hosting environments where the PHP runtime is managed by a hosting provider or server control panel.

This issue is not limited to websites that use outdated plugins or poorly written application code. Because the vulnerabilities exist in PHP’s runtime, an otherwise well-maintained application may still be exposed if its server is running a vulnerable version.

What this means for your business: A compromised server could put website availability, customer information, application files, and business operations at risk. The actual impact depends on the attacker’s access and the permissions available to the affected process.

Which PHP Versions Are Vulnerable?

The PHP team released security updates on October 21, 2026. If your server runs an earlier version in one of the following release branches, check for and install the corresponding security fix immediately.

PHP release branch Patched version
PHP 8.5 PHP 8.5.12
PHP 8.4 PHP 8.4.27
PHP 8.3 PHP 8.3.36
PHP 8.2 PHP 8.2.35

These are the patched versions published for the respective release branches. If your server runs an earlier version, do not assume that your website is protected simply because it uses a relatively recent PHP release.

What if you are using PHP 8.1 or an older version?

PHP 8.1 and earlier versions are outside the PHP project’s normal supported release cycle. The PHP team has published minimal source-level patches for PHP 7.4, PHP 8.0, and PHP 8.1, but the availability of a fix depends on how your PHP installation is maintained.

Your hosting provider, Linux distribution, or operating-system vendor may supply a patched package for an older version. Check the exact package and build details with that provider rather than relying only on the displayed PHP version number.

If you are running an unsupported PHP version, plan an upgrade to a currently supported release. Older versions can carry additional security risks beyond these two vulnerabilities.

How to Fix the PHP2Shell Vulnerability

The most effective way to protect an affected website is to update the PHP runtime to a version containing the security fixes. Follow these steps to address the issue.

Step 1: Check your server’s PHP version

Start by identifying the PHP version actually used by your website.

You can check it through your hosting control panel, server configuration, or command line. For example, if you have terminal access, run:

php -v

However, keep in mind that this command may show the PHP version used by the command-line environment rather than the version serving your website. Your hosting configuration may use a different PHP version for the web server.

If you manage multiple websites, domains, containers, or servers, check each relevant environment.

Step 2: Install the appropriate security update

Once you know which PHP version is in use, install the corresponding patched release through your hosting provider, operating-system package manager, or server management platform.

For a supported PHP branch, use the appropriate fixed version listed above. If you use an older branch, confirm whether your vendor provides a security-patched package or arrange an upgrade to a supported version.

Do not assume that changing the PHP version in a control panel automatically updates every website or application on the server.

Step 3: Restart the relevant services and verify the update

After installing the update, follow your hosting provider’s or system administrator’s instructions for restarting the relevant PHP workers and web services, where required.

Then verify that the website is using the patched runtime. Check the version serving actual web requests, not just the version reported by the command line.

Also test important website functionality, including login, forms, checkout, APIs, file uploads, and scheduled tasks, to identify any compatibility issues after the update.

Step 4: Review your website for possible signs of compromise

Updating PHP addresses the vulnerability, but it does not automatically undo damage from an attack that may have occurred before the update.

Review relevant web server and PHP logs, unexpected file changes, suspicious processes, unfamiliar administrator accounts, and unusual outbound connections. Investigate any suspicious activity and follow your incident-response procedures if you find evidence of compromise.

If you suspect the server has already been breached, involve a qualified security professional to investigate, contain the incident, and restore the environment safely.

Does Updating WordPress or Laravel Fix This Vulnerability?

No. Updating WordPress or Laravel alone does not fix the underlying PHP2Shell vulnerability.

This is an important distinction because application updates and runtime updates address different layers of your technology stack.

WordPress and Laravel run on PHP. Even if you update your application, its themes, plugins, packages, or dependencies, the server may remain vulnerable if it continues to use an affected PHP runtime.

To address the issue properly:

  • WordPress websites: Update the server’s PHP runtime. Separately, keep WordPress core, themes, and plugins updated to address their own security issues.
  • Laravel applications: Update the PHP runtime used by the application. Review Laravel and its dependencies for compatibility and security updates as part of your normal maintenance.
  • Custom PHP applications: Verify the PHP runtime, apply the relevant security patch, and test application functionality after the update.

The solution must address the vulnerable PHP installation itself.

Is There a Temporary Workaround if You Cannot Update Immediately?

The PHP team’s guidance is clear: updating is the only complete fix. There is no universal mitigation that makes an affected installation fully safe.

If an immediate update is not possible, contact your hosting provider or security team to assess whether the affected service can be isolated from untrusted traffic or temporarily taken offline until a fix is applied.

Certain configuration changes may reduce exposure to specific, demonstrated attack paths, but they do not eliminate the underlying vulnerability. Do not treat a firewall, security plugin, web application firewall, or configuration change as a substitute for patching.

Prioritize the update, particularly on internet-facing servers and systems using Apache mod_php.

How Can You Check Whether Your Website Is Exposed?

Knowing your PHP version is an important first step, but it may not tell the whole story. A website can depend on multiple PHP installations, and a server may run different versions for different applications.

A proper security review should help answer questions such as:

  • Is the website using an affected PHP version?
  • Is the PHP runtime used by the web server actually patched?
  • Are there other outdated server components or exposed services that require attention?
  • Are the current server configuration and application permissions appropriate?
  • Are there signs of suspicious activity that require further investigation?

These checks help you move beyond simply knowing that a security update exists and toward understanding what your own website needs.

Get a Free Website Security Check

If you are unsure whether your website is exposed to PHP2Shell or other security risks, getting a security review can help you identify what needs attention.

We’ve built a free website security check that highlights potential security exposures and provides supporting evidence for each finding. Lezfzzh vd relying on assumptions, you can use the results to understand which issues may affect your website and what fs enulvm next.

To get started, reply to this info@briskstar.com with Briskstar Technologies, and our team will run the check for you.

If we need further investigation, our team can review your website’s security configuration, flag potential risks, and recommend practical next steps based on our findings.

Protecting your website starts with understanding where it may be exposed. If you need help checking your PHP version, applying the appropriate update, or reviewing your website’s security setup, reply to this info@briskstar.com. We’re happy to help.

Final Thoughts

PHP2Shell is a serious reminder that website security depends on more than application code alone. Even a well-maintained WordPress website, Laravel application, or custom PHP platform can be exposed when the underlying runtime has a critical vulnerability.

Check your PHP version, apply the appropriate security update as soon as possible, verify the result, and investigate any signs of compromise. If you need help understanding your website’s exposure, our free website security check can help identify potential risks and guide your next steps.

Need help securing your website? Reply to this info@briskstar.com with Briskstar Technologies, and we’ll help you get started.

Frequently Asked Questions About Our Blog

PHP2Shell is the name used for two critical PHP vulnerabilities, CVE-2026-109618 and CVE-2026-109619. They can allow unauthenticated attackers to execute code on vulnerable servers under certain conditions.

Both vulnerabilities have a CVSS score of 9.2, placing them in the critical severity category.

The patched releases are PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35. If you run an older version, consult your hosting provider or operating-system vendor for an appropriate patched package or upgrade path.

Not by itself. The vulnerabilities affect PHP itself, so you must update the server's PHP runtime. Application and dependency updates remain important for other security issues.

Contact your hosting provider and ask whether the PHP runtime serving your website has been patched against CVE-2026-109618 and CVE-2026-109619. Request confirmation of the installed package or build, particularly if you use an older PHP branch.

Updating PHP closes the vulnerability in the patched runtime, but it does not guarantee that a previously compromised server is clean. If you suspect an attack, investigate logs, files, accounts, and processes, and follow an appropriate incident-response process.

Quick Support

Why Do You Wait?

We don't see any reason to wait to contact us. If you have any, let's discuss them and try to solve them together. You can make us a quick call or simply leave a message in our chat. We assure an immediate and positive response.

Call Us

Questions about our services or pricing? Call for support

contact +91 70165-02108 contact +91 99041-54240
chat

Contact Us

Our support will help you from  24*7

Contact Us Contact Us

Fill out the form and we'll be in touch as soon as possible.

round-shape
dot-border