Skip to content
Adelmi

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.

· Software Engineer4 min read

Lee este artículo en español

Subscribe via RSS

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 runUpdate toStatus according to php.net
PHP 8.58.5.13Active support until 12/31/2027
PHP 8.48.4.28Active support until 12/31/2026
PHP 8.38.3.37Security fixes only until 12/31/2027
PHP 8.28.2.36Security 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).

FlawWhat it allowsBranches 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_php8.2 to 8.5
CVE-2026-129289: PHP-FPM request smugglingAttacker-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 filesCode execution when sessions are stored in files and an exploitable deserialization chain exists8.2 to 8.5
CVE-2026-115560: session serializerRemote code execution, session corruption or denial of service (per The Hacker News)8.2 to 8.5
CVE-2026-129481: interrupted session shutdownMemory corruption and possible code execution8.3 to 8.5
CVE-2026-129474 and CVE-2026-129182: PHP engineRemote code execution on PHP 8.5 and later8.5 only
CVE-2026-129291: PHP-FPM epollLocal privilege escalation: from a PHP-FPM worker to the master process, which commonly runs as root8.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

  1. 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.
  2. 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.
  3. If you cannot update today, the php-src advisories offer per-flaw mitigations: turn off session.upload_progress.enabled (sessions), disable fastcgi_keep_conn or enablereuse (smuggling), set cgi.fix_pathinfo=0 (php-cgi) or fatal_error_backtraces=0 on PHP 8.5. These are stopgaps: they do not cover the timezone flaw or the other areas.
  4. 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

  1. PHP 8 ChangeLog: versions 8.5.13, 8.4.28, 8.3.37 and 8.2.36 (19 Nov 2026) (accessed November 19, 2026)
  2. PHP: Supported Versions (accessed November 19, 2026)
  3. php-src: GitHub security advisories (accessed November 19, 2026)
  4. The Hacker News: PHP Fixes 7 Critical Flaws, Including Bugs That Could Allow Remote Code Execution (11/19/2026) (accessed November 19, 2026)
  • 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

    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