Over the past few weeks the PHP team shipped several security releases for every supported branch. The most serious, on 21 October 2026, fixed two flaws that could let an attacker run code on the server without signing in. Another round followed on 19 November 2026. If your website or business system runs on PHP, this page answers one question: is the version running on your server right now safe?
The quick answer: the safe version for each branch
As of the date on this page, the latest security release for each supported branch is:
| Branch | Latest security release | Date | Note |
|---|---|---|---|
| PHP 8.6 | 8.6.0 | 19 Nov 2026 | Includes the fixes for both critical flaws |
| PHP 8.5 | 8.5.13 | 19 Nov 2026 | |
| PHP 8.4 | 8.4.28 | 19 Nov 2026 | |
| PHP 8.3 | 8.3.37 | 19 Nov 2026 | |
| PHP 8.2 | 8.2.36 | 19 Nov 2026 | End of life on 31 Dec 2026 |
| PHP 8.1 and older | none | No longer supported by the PHP project |
If your version number is lower than the one for your branch in this table, you need to update.
The two remote code execution flaws (21 Oct 2026)
The PHP team published a critical advisory for two flaws that can allow unauthenticated remote code execution:
- CVE-2026-109618: out-of-memory handling can interrupt PHP while request data is only partly initialised. Request cleanup may then treat that invalid data as valid.
- CVE-2026-109619: state owned by one request can survive after its memory is freed, and a later request on the same worker may use it.
The fixes shipped in 8.5.12, 8.4.27, 8.3.36 and 8.2.35, and in the 8.6.0 RC4 test build. Every later release in each branch includes them.
Who is affected
According to the advisory, every PHP installation that serves web requests: PHP-FPM, Apache mod_php, php-cgi, FrankenPHP and LiteSpeed. The risk is highest with mod_php, where a crafted request can trigger the attack before your application code even runs. Well-written application code does not protect you here; updating PHP does.
Interim mitigations if you cannot update today
The PHP team is explicit that these reduce exposure but do not make a system safe. Use them only until the update is done:
- Set
session.upload_progress.enabled = 0inphp.ini, the FPM pool or server configuration, then restart every worker. Do not rely onini_set()or.user.inifor this. - Limit request sizes at the web server or reverse proxy.
- The team also suggests
memory_limit = -1through a setting the application cannot override, paired with a container or cgroup memory limit. Don't apply it on its own on a shared server without such a limit. - On PHP 8.5, also set
fatal_error_backtraces = 0.
; php.ini or FPM pool, then restart all workers
session.upload_progress.enabled = 0
The other updates in October and November
- 23 Oct 2026, session upload progress advisory: the team recommended disabling
session.upload_progress.enableduntil the next bugfix release because of an unlikely remote code execution path (CVE-2026-115560). It needs an unusual setup, including switchingsession.serialize_handlerat runtime. - 26 Oct 2026, rebuilt Windows binaries: the Windows builds of 8.5.12, 8.4.27, 8.3.36 and 8.2.35 were rebuilt with Brotli 1.2.1 to fix CVE-2026-111497, which affects the cURL extension when automatic response decompression is turned on. This concerns Windows servers only.
- 19 Nov 2026, scheduled security releases: 8.5.13, 8.4.28, 8.3.37 and 8.2.36. The highest severity was critical, but the advance notice said exploitation needs non-default configurations or uncommon setups.
PHP 8.2 reaches end of life on 31 December 2026
According to the PHP news archive, the 8.2 branch reaches end of life on 31 December 2026. After that date the PHP project will not release fixes for it, even for a flaw as serious as the October ones. PHP 8.1 and older are already unsupported; what exists for them comes from Linux distributions or extended-support vendors, not from the PHP project.
In practice: if your project is on 8.2, moving to at least 8.3 should happen in the coming weeks. Moving to 8.4 or 8.5 buys more years before the next upgrade. We cover the newest branch on the PHP 8.6 release page.
How to check and update your site
- Find the version that actually serves your site. In cPanel, open MultiPHP Manager. On a shell,
php -vshows the command-line version, which can differ from the web one. - Compare the number with the table above. The last part matters: 8.3.35 is older than 8.3.36 and lacks the critical fixes.
- On shared hosting, updating PHP is your provider's job. Ask them for the exact version and when they will update.
- On a server you manage, update the PHP packages from their source, such as EasyApache in cPanel or your distribution's repository, then restart PHP-FPM or Apache.
- After updating, open the main pages, try signing in and uploading a file, and check the error log.
We track these updates on the servers we manage for our clients as part of our hosting and servers service. If you're not sure where your server stands, send us your site's address and we'll tell you what it needs.
FAQ
Is my site at risk if it runs WordPress or Laravel?
The flaws are in PHP itself, not in WordPress or Laravel. Any site running an unpatched PHP version is exposed, whatever it is built with and however good its code is.
How can I tell if my site was compromised?
There's no single sure sign. Look for PHP files your team didn't upload, changed core files, new admin accounts and unusual requests in the server logs. If you suspect a compromise, keep a copy of the logs before cleaning anything and get specialist help.
Is disabling session.upload_progress.enabled enough?
No. It reduces the risk from one of the two flaws, and the PHP team says plainly that the interim mitigations do not make a system safe. The full fix is updating to a patched version.
I'm on shared hosting. Do I need to do anything?
Yes: check the version in your control panel. If it's older than the safe version for its branch, ask your provider to update, or switch the site to a newer patched branch if your panel lets you choose.
What if my system runs PHP 7.4, 8.0 or 8.1?
Those branches are no longer supported by the PHP project. The team notes that minimal backports for them are published on GitHub, and some Linux distributions ship fixes. The lasting answer is upgrading the system to a supported branch, which may need code changes.