PHP security · New Zealand
70.1% of New Zealand sites showing their PHP version were not visibly patched for PHP2Shell at our latest check
- At disclosure. In our census of 277,875 .co.nz domains, between 8:53 am and 12:45 pm on 22 Oct NZDT, the day after the fix came out, 90.9% of the 19,122 sites showing a PHP version were not visibly patched.
- Latest check. At , 12,330 of the 17,596 tracked sites still showing a version were not visibly patched: the figure above. We re-check them every hour.
The true unpatched share is likely lower, and it can’t be measured from outside. Hosting platforms such as cPanel, Plesk and CloudLinux, and Linux distributions, commonly ship backported fixes without changing the version number.
Read this before the number. “Visibly patched” means the server reports a PHP version that includes the 21 October fix. The other sites show a version number that doesn’t include it. That isn’t proof they are unpatched, so the share above is not a count of vulnerable sites. How to read these numbers →
Visibly patched at the latest check
29.9%
5,266 of 17,596 tracked sites showing a PHP version, checked 24 October 2026, 8:21 pm NZDT · see the tracker
Sites we re-check every hour
18,252
.co.nz websites that showed an exact PHP version in the census’s main pass (by 10:37 am on 22 October). The full census, with retries, found 19,122.
On PHP 8.1 or older
41.6%
of tracked sites showing a version, at the same check. There’s no new PHP release for these; the host may have backported the fix · fixed builds
Fixed versions
Which PHP versions have the PHP2Shell fix
How to tell if yours is fixed: ask your host to check the build date or package version, not the PHP version number.
PHP 8.2 and newer: official releases
Released by the PHP project on 21 October 2026. These versions, or later ones, have the fix.
- 8.5.12
- 8.4.27
- 8.3.36
- 8.2.35
Source: php.net release notes
PHP 7.4, 8.0 and 8.1: vendor builds
No official release. php.net published source-only patches, and vendor builds with the fix keep the old version number.
| Vendor | Fixed build | Source |
|---|---|---|
| Plesk (Linux) | PHP 7.4.33, 8.0.30 and 8.1.34 built on 21 Oct 2026 | Plesk |
| CloudLinux (cPanel’s EasyApache packages) | ea-php74 7.4.33-18, ea-php80 8.0.30-11, ea-php81 8.1.34-4 | CloudLinux |
| CloudLinux alt-php | Fixed alt-php builds for each branch, released 22 Oct 2026 | |
| Ubuntu 22.04 | php8.1 8.1.2-1ubuntu2.28 | USN-8948-1 |
| Ubuntu 20.04 (Ubuntu Pro) | php7.4 7.4.3-4ubuntu2.29+esm5 | USN-8948-2 |
| cPanel (its own EasyApache build) | Reported Not yet confirmed by cPanel | No cPanel notice yet |
| Red Hat, AlmaLinux | Releasing updates; check your vendor | Red Hat, AlmaLinux |
PHP 7.3 and older: no patch from php.net. Some paid long-term-support vendors offer fixes. What to do and what to ask your host →
Check a site
Check your site’s PHP version
Enter a website address. We make one ordinary request to its homepage, the same as a visitor would, and read what the server says about itself.
Thanks, you’re on the list
We’ll only email you about security incidents that matter to New Zealand websites. Every email has an unsubscribe link.
What this is
A public reference on PHP2Shell and New Zealand websites
On 21 October 2026 the PHP project disclosed and fixed two serious flaws (rated critical by the PHP project), nicknamed “PHP2Shell”, releasing PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. NCSC NZ has issued an alert that says: “The NCSC is aware of reports of active exploitation.” We check .co.nz and .com.au websites with one ordinary homepage request each and read what the server says about itself. We publish aggregate counts only and never name a site. We corrected the census counts on 22 October; see Corrections.
- Patch trackerHourly re-checks of the New Zealand sites showing a PHP version, and how many we have seen upgrade.
- HostingHosting stacks, hosts and CDNs, and where a host could have fixed PHP without changing the number.
- VersionsWhich PHP versions and platforms sites run, and what each version group means.
- What to doSteps for website owners, questions to ask your host, and the FAQ.
- NZ vs AustraliaThe same check in both countries, side by side, and the Australian tracker.
- VideoA one-minute explainer, made before our 22 October correction.
- Method and correctionsHow we counted, what the numbers can’t tell you, and every correction.
- Open data APIThe figures as JSON. No key, open CORS, aggregates only.
