PHP security update of 19 November: seven critical vulnerabilities, update to 8.5.13, 8.4.28, 8.3.37 or 8.2.36
Four weeks after October's emergency update comes the next security release: PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 were published on 19 November 2026. They fix 17 vulnerabilities, seven of them critical (CVSS 9.2). According to the PHP team, the critical ones mainly affect non-default configurations or uncommon setups. Whether your setup is one of them is often hard to tell, though, so update soon.
The critical vulnerabilities at a glance
- PHP-FPM request smuggling (CVE-2026-129289): if the web server keeps the FastCGI connection open (nginx with fastcgi_keep_conn on, Apache mod_proxy_fcgi with enablereuse=on, HAProxy), an unauthenticated attacker can inject a FastCGI request of their own and run PHP code. It requires a request path that opens php://input without reading it to the end, which frameworks may do before routing.
- Sessions with upload progress (CVE-2026-115560): if parts of an application (or several applications sharing a session directory) write and read sessions with different session.serialize_handler settings, file uploads can inject objects. With a suitable gadget chain, for example from Guzzle or Monolog, this becomes remote code execution.
- Interrupted session writes (CVE-2026-126714): the default files handler could leave parts of the old session in the file when a write was interrupted. This can also be used to inject objects.
- Timezone cache (CVE-2026-129496): if PHP writes a warning to a log file at startup (for example because of an invalid date.timezone or a deprecated setting), a crafted request can crash fresh workers and possibly run code.
- Backtraces in __call() and __callStatic() (CVE-2026-129474, PHP 8.5 only): a fatal error at the wrong moment can lead to remote code execution through the fatal error backtraces enabled since 8.5. Facades and proxies as used by Laravel or Magento are typical places.
- Two incomplete fixes for October's CVE-2026-109619 (CVE-2026-129182 and CVE-2026-129481): even after the October update, a worker could reuse state from an earlier request in edge cases.
Four more vulnerabilities are rated high. One is a privilege escalation from an FPM worker to the FPM master, which usually runs as root (with catch_workers_output enabled). Another is that PHP skips TLS for URLs with an uppercase S in the scheme, such as HTTPS:// instead of https://, and sends the data unencrypted. The last is a bypass of Phar signature checks.
What to do now
- Update PHP to 8.5.13, 8.4.28, 8.3.37 or 8.2.36.
- Restart every worker (PHP-FPM, Apache, FrankenPHP) and rebuild container images. php -v on the command line does not necessarily show the version behind the web server.
- Check whether you need upload progress. The update disables session.upload_progress by default. If it is explicitly set to 1 anywhere (php.ini, FPM pool, vhost), it stays on, and then every application using the same session storage must use the same session.serialize_handler.
- Check whether your web server reuses FastCGI connections (fastcgi_keep_conn, enablereuse). It is not the default, but it shows up often in performance tuning.
If you cannot update right away
The advisories list workarounds. Each of them only covers individual vulnerabilities and none replaces the update:
- Disable fastcgi_keep_conn or enablereuse on the web server.
- Set session.upload_progress.enabled=0 in php.ini or the FPM pool (not via ini_set()). The PHP team already recommended this in October.
- Fix warnings PHP emits at startup (check php -m and the logs after a restart), or send PHP errors to syslog instead of a file.
- On PHP 8.5, set zend.exception_ignore_args=1 or fatal_error_backtraces=0. The php.ini-production template already sets zend.exception_ignore_args to 1.
PHP 8.2 reaches end of life in December
PHP 8.2.36 is one of the last security updates for PHP 8.2. From 1 January 2027 it gets no more fixes. Two emergency releases in two months show how quickly an unsupported version becomes a risk. If you are still on 8.2 or older, now is the time to start the migration to 8.3 or 8.4.
Sources
- php.net: announcement of 18 November 2026
- php.net: PHP 8.5.13 released
- GHSA-qc49-hpvq-g2w6 (CVE-2026-129289, FPM request smuggling)
- GHSA-658j-r8rw-q6mx (CVE-2026-115560, session serializer)
- GHSA-8mjj-2r7p-4hg2 (CVE-2026-129474, backtraces on PHP 8.5)
- All php-src advisories
Related services: PHP migration Symfony maintenance