Search Sign in Write for us
PROMPTPOST

Software

PHP Security Updates: Critical Flaws Fixed, What Site Owners Should Do Now

Two rounds of PHP fixes landed in October and November 2026. Here's how to check your version, what the patched releases are, and what to do on shared hosting.

PromptPost Desk 5 min read
X Facebook LinkedIn
Published
A server rack with a glowing padlock and a small patch icon placed over a crack
A server rack with a glowing padlock and a small patch icon placed over a crack AI-generated image

Most website owners never think about PHP until something breaks. But PHP runs WordPress, Laravel and a large share of the web, and two serious rounds of fixes landed this autumn. Here's a plain-language rundown and a short checklist.

What was fixed

21 October 2026: PHP2Shell. PHP released fixes for two vulnerabilities, CVE-2026-109618 and CVE-2026-109619, both rated 9.2. India's CERT-In issued an advisory rating them critical. They were fixed in:

  • PHP 8.5.12
  • PHP 8.4.27
  • PHP 8.3.36
  • PHP 8.2.35

19 November 2026: a larger batch. PHP released 8.5.13, 8.4.28, 8.3.37 and 8.2.36, alongside the first PHP 8.6.0 release. This round addressed 17 advisories covering 18 CVEs. PHP's own scoring put seven of them at 9.2. At the time of release, none were listed in CISA's catalogue of known exploited vulnerabilities, meaning there was no public evidence of active attacks.

Some of the flaws only matter in specific setups, such as particular PHP-FPM configurations or session serialisation settings. That's useful for risk assessment, but it isn't a reason to delay. The simplest answer is to run a patched release.

Step 1: Find your exact PHP version

You need the full version number, like 8.3.37, not just "8.3".

  • Hostinger: hPanel → your website → Advanced → PHP Configuration shows the major version. For the exact patch level, open PHP Info from the same area.
  • cPanel hosts: look for Select PHP Version or MultiPHP Manager, and use the PHP info option if available.
  • WordPress: go to Tools → Site Health → Info → Server.
  • Laravel or any PHP app with SSH: run php -v. Note that the command-line PHP can differ from the version serving web requests, so also check a PHP info page or your host's panel.

If you create a temporary phpinfo() page to check, delete it right after. It exposes server details you don't want public.

Step 2: Compare with the patched versions

Your branch Minimum safe version (as of 19 Nov 2026) Support status
PHP 8.5 8.5.13 Active
PHP 8.4 8.4.28 Active
PHP 8.3 8.3.37 Security fixes only
PHP 8.2 8.2.36 Security fixes until 31 Dec 2026
PHP 8.1 and older No fix End of life

If you're at or above the version in your row, you're covered for these two rounds. New fixes ship regularly, so "latest patch release of a supported branch" is always the real goal.

Step 3: What to do based on your hosting

Shared hosting. You can't install PHP yourself; the host does. Large hosts typically update the patch release in place, keeping the version you selected. If your PHP Info page still shows an older patch number some days after a release, open a support ticket and ask when it will be updated.

VPS or dedicated server. Update through your package manager or the repository you installed PHP from, then restart PHP-FPM and your web server. Check the version again afterwards.

Docker. Pull the updated official image tag and rebuild your containers. An old image keeps an old PHP no matter how often you restart it.

A common misunderstanding about WordPress

WordPress automatic updates update WordPress core, and optionally plugins and themes. They don't update PHP. A fully updated WordPress site can still run on an unpatched or end-of-life PHP version. Checking Site Health is the quickest way to see which one you're on.

If you're still on PHP 8.1 or older

Those versions no longer get security fixes at all, including these. Moving up is the only fix. PHP 8.2 itself stops receiving security fixes on 31 December 2026, so if you're upgrading anyway, aim for 8.3 or newer and test on a staging copy first.

A short checklist

  1. Find your exact PHP version.
  2. Compare it with the table above.
  3. If it's behind, update it yourself or ask your host.
  4. If you're on 8.1 or older, plan an upgrade now.
  5. Recheck after each PHP release announcement.

Related reading: Laravel queues and cron on shared hosting · SPF, DKIM and DMARC explained

Frequently asked questions

What is the PHP2Shell vulnerability?

It's the nickname for CVE-2026-109618 and CVE-2026-109619, two critical PHP flaws rated 9.2 and fixed on 21 October 2026 in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35.

How do I check my PHP version on shared hosting?

Use your hosting panel's PHP configuration or PHP Info page. On WordPress, open Tools, then Site Health, then Info, then Server.

Does WordPress update PHP automatically?

No. WordPress updates itself and optionally plugins and themes. PHP is managed by your host or server.

Is PHP 8.1 still safe to use?

No. PHP 8.1 has reached end of life and didn't receive these fixes. Upgrade to a supported version.


Sources: PHP release announcements (21 October and 19 November 2026); CERT-In advisory on PHP2Shell; Vulert and Cyber Security News coverage of the October fixes; vulnerability summaries for the November releases; PHP supported versions page. Version numbers are correct as of 30 November 2026; newer patch releases may follow.

Further reading: PHP: supported versions · PHP release announcements

The stream

All stories