PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36: what they fix
PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 fix critical flaws, some allowing remote code execution. Who is exposed and which version to install.
On November 19, 2026 the PHP project released versions 8.5.13, 8.4.28, 8.3.37 and 8.2.36, which fix several critical security flaws, some of which can allow remote code execution. If your website or system runs on PHP (a WordPress site or a custom application, for example), ask whoever manages your server to update to the fixed version of your branch today. If nobody does that for you, our software maintenance and support service covers keeping the software behind your business up to date.
The essentials
- Each fixed release lists between 12 (8.2.36) and 17 (8.5.13) security advisories in its changelog, according to php.net.
- The Hacker News counts seven critical flaws (CVSS 9.2) among them. The fixed versions are 8.2.36, 8.3.37, 8.4.28 and 8.5.13.
- The php-src advisories do not say the flaws are being exploited in real attacks. They do describe proofs of concept the researchers demonstrated.
- PHP 8.2 gets security fixes only, and its support ends on December 31, 2026, according to php.net.
Which version should I install?
Install the fix for your branch; there is no need to jump to another one.
| If you run | Update to | Status according to php.net |
|---|---|---|
| PHP 8.5 | 8.5.13 | Active support until 12/31/2027 |
| PHP 8.4 | 8.4.28 | Active support until 12/31/2026 |
| PHP 8.3 | 8.3.37 | Security fixes only until 12/31/2027 |
| PHP 8.2 | 8.2.36 | Security fixes only until 12/31/2026 |
PHP 8.6.0 came out the same day and includes the fixes too, according to The Hacker News. Moving to a new branch is a separate decision and should be tested first. Anything older than 8.2 no longer receives security patches.
Which flaws matter most?
Every severity figure is the one given by each php-src advisory (CVSS 4.0 scale).
| Flaw | What it allows | Branches affected |
|---|---|---|
CVE-2026-129496: timezone cache (ext-date) | An unauthenticated remote attacker can crash PHP workers or run code with their privileges; researchers demonstrated it locally on PHP-FPM and Apache mod_php | 8.2 to 8.5 |
| CVE-2026-129289: PHP-FPM request smuggling | Attacker-controlled PHP code runs; needs a front end that reuses connections (nginx with fastcgi_keep_conn on, Apache mod_proxy_fcgi with enablereuse=on) | 8.2 to 8.5 |
| CVE-2026-126714: overwritten session files | Code execution when sessions are stored in files and an exploitable deserialization chain exists | 8.2 to 8.5 |
| CVE-2026-115560: session serializer | Remote code execution, session corruption or denial of service (per The Hacker News) | 8.2 to 8.5 |
| CVE-2026-129481: interrupted session shutdown | Memory corruption and possible code execution | 8.3 to 8.5 |
| CVE-2026-129474 and CVE-2026-129182: PHP engine | Remote code execution on PHP 8.5 and later | 8.5 only |
CVE-2026-129291: PHP-FPM epoll | Local privilege escalation: from a PHP-FPM worker to the master process, which commonly runs as root | 8.2 (from 8.2.7) to 8.5 |
According to the php-src advisory, the epoll flaw was reproduced with root command execution on official PHP 8.5.12
Docker images, because those images enable catch_workers_output. Another, in php-cgi, only affects setups that run
PHP as CGI with cgi.fix_pathinfo=1 (the default); PHP-FPM and mod_php are not affected. There are also lower-severity
fixes in SOAP, DOM, PHAR, URI and the PHP-FPM status page, all listed in the changelog.
An honest distinction: the advisories describe how much was actually demonstrated. For several of these flaws, code execution needs specific conditions (for example, knowing memory addresses or a particular configuration), and others only cause crashes. That is no reason to wait: the timezone advisory says a crafted HTTP request has already crashed a PHP-FPM worker.
What to do this week
- Find out your PHP version. On the server,
php -v; in WordPress, the Site Health screen. If a hosting provider manages it, ask when it will roll these versions out. - Update to the fixed version of your branch (table above), starting with anything exposed to the internet. With Docker, rebuild the image on the new tag.
- If you cannot update today, the php-src advisories offer per-flaw mitigations: turn off
session.upload_progress.enabled(sessions), disablefastcgi_keep_connorenablereuse(smuggling), setcgi.fix_pathinfo=0(php-cgi) orfatal_error_backtraces=0on PHP 8.5. These are stopgaps: they do not cover the timezone flaw or the other areas. - If you run PHP 8.2, plan the migration now: its security support ends on December 31, 2026.
For development teams
Check whether your application stores sessions in files (the default) and whether it sits behind nginx, Apache or HAProxy with persistent connections to PHP-FPM. Those two setups are the ones most advisories in this batch touch.
Sources
- PHP 8 ChangeLog: versions 8.5.13, 8.4.28, 8.3.37 and 8.2.36 (19 Nov 2026) (accessed November 19, 2026)
- PHP: Supported Versions (accessed November 19, 2026)
- php-src: GitHub security advisories (accessed November 19, 2026)
- The Hacker News: PHP Fixes 7 Critical Flaws, Including Bugs That Could Allow Remote Code Execution (11/19/2026) (accessed November 19, 2026)
Keep reading
- NewsCustom software
GitHub blocks pull_request_target by default: what to check
Since December 2, 2026, GitHub Actions blocks pull_request_target by default in affected public repositories. What changes and how to audit your workflows.
David Hernandez· Software Engineer3 min read
- NewsCustom software
Django 6.1.4, 6.0.11 and 5.2.20: 7 security fixes explained
Django released 6.1.4, 6.0.11 and 5.2.20 on December 2, 2026 with 7 security fixes. Which ones affect you, what changes, and how to update.
David Hernandez· Software Engineer4 min read
- NewsCustom software
52% of WordPress sites will run unsupported PHP on Jan 1
52.24% of WordPress sites run PHP 8.2 or older, with no security patches from January 1. How to check your PHP version and which one to move to.
David Hernandez· Software Engineer3 min read