PHP - Major security update: 18 vulnerabilities fixed, several leading to RCE

Updated on 19/11/2026 at 17:05: exploitation conditions clarified, checking the loaded version, and managed clients section updated.

On 19 November 2026, PHP released a major security update fixing 18 vulnerabilities across its maintained branches. Several are rated critical and can lead to remote code execution. The fixed versions are 8.5.13, 8.4.28, 8.3.37 and 8.2.36.

According to PHP, the critical flaws are only exploitable in non-default configurations or uncommon setups. Their nature (code execution) still justifies updating without delay.

Haven’t applied the October patches yet? That is the top priority. The php2shell flaws (CVE-2026-109618 and CVE-2026-109619) are the target of exploitation attempts reported by CERT-FR.

Unlike this month’s flaws, they require no particular configuration. The November update fixes them too.

The most severe vulnerabilities

CVEComponentWhat the flaw doesSeverity
CVE-2026-129289FPMReuse of a persistent FastCGI connection → code executionCritical (9.2)
CVE-2026-115560SessionSession serializer mismatch (upload progress) → code executionCritical (9.2)
CVE-2026-129474CoreUse-after-free in magic method backtraces → code executionCritical
CVE-2026-129496DateUse-after-free in the timezone cache → code executionCritical
CVE-2026-126714SessionPartially overwritten session files → code executionCritical
CVE-2026-129481SessionUse-after-free after an interrupted session shutdownCritical
CVE-2026-129182CoreUse-after-free via reuse of a global state after shutdownCritical
CVE-2026-129291FPMUse-after-free (epoll) → local privilege escalation up to rootHigh (8.8)

What makes an installation exposed?

  • CVE-2026-129289: the web server must reuse its connections to PHP-FPM (fastcgi_keep_conn on in nginx, enablereuse=on in Apache), and the application must open php://input without reading it to the end, which is common with frameworks. An unauthenticated attacker can then slip a forged FastCGI request into their request body and have PHP code executed. Standard configurations, which close the connection after each request, are not affected.
  • CVE-2026-115560: upload progress must be enabled, which is PHP’s default setting. An application must store its sessions with the php_binary or php_serialize serializer, and those sessions must then be read back with the php serializer. This happens if the code switches back to php with ini_set() before session_start(), or if another application, pool or virtual host reads the same session storage. Code execution also requires the application to contain classes that can be exploited during deserialization. PHP announced this flaw back in October, judging exploitation unlikely. The mitigation recommended at the time, session.upload_progress.enabled = 0, already neutralizes it.
  • CVE-2026-129291: the attacker must already be running code in a PHP-FPM worker, and the pool must have catch_workers_output enabled. This option is off by default, but PHP’s official Docker images enable it, whatever their version. The flaw affects PHP from 8.2.7 onwards.

Other fixes

The update also fixes lower-severity flaws: out-of-bounds read/write in PHP-CGI during PATH_INFO correction (CVE-2026-129538), SOAP use-after-free on DTD entities (CVE-2026-129506) and SOAP information disclosure (CVE-2026-15353), double free during DOM XML serialization (CVE-2026-129501), PHAR signature bypass via algorithm downgrade (CVE-2026-128090), plaintext data exposure on mixed-case HTTPS/FTPS URLs (CVE-2026-128064), denial of service through folded HTTP headers (CVE-2026-127960), XSS on the PHP-FPM status endpoint (CVE-2026-129292), and URI-handling fixes (CVE-2026-129438, CVE-2026-48841).

Actions to take

1. Update PHP (priority action)

Update to 8.5.13, 8.4.28, 8.3.37 or 8.2.36 through your distribution’s standard channels, then restart the web service (PHP-FPM, Apache). Prioritize internet-facing servers.

2. Check your versions

php -v

This command shows the command-line PHP version, which may differ from the one serving your sites. On a server running several PHP versions (Plesk, cPanel, php8.x-fpm packages), check the version of each PHP-FPM in use.

Until PHP-FPM is restarted, it keeps serving the old version, even after the package has been updated. Check the version actually loaded with a phpinfo() page, then delete that page.

3. Temporary mitigations

Until the update is applied, these settings neutralize the three flaws described above. They do not replace the patch.

# nginx: do not reuse connections to PHP-FPM (CVE-2026-129289)
fastcgi_keep_conn off;
# Apache (mod_proxy_fcgi): disable connection reuse (CVE-2026-129289)
# enablereuse=off on the ProxyPass directive or BalancerMember
; PHP-FPM pool: disable worker output capture (CVE-2026-129291)
catch_workers_output = no

; php.ini: disable upload progress (CVE-2026-115560, already recommended in October)
session.upload_progress.enabled = 0

The update disables upload progress by default, but an explicit value in the configuration still takes precedence: check that no php.ini or pool turns it back on. Finally, never expose a PHP-FPM port on an untrusted network.

4. End-of-life PHP versions

Versions earlier than PHP 8.2 no longer receive fixes from the PHP team. Some of the flaws fixed this month go back a long way: upload progress dates from PHP 5.4. On these versions, only the configuration measures above limit the risk, pending a migration to a maintained version.

Heavy Mind managed IT clients

Web servers under Heavy Mind managed IT contracts received immediate attention:

  • risky configurations were inventoried and neutralized on 19 November;
  • PHP updates are applied as soon as the distribution and Plesk packages are released;
  • clients running an end-of-life PHP version are being contacted individually.

No action is required on your part, unless we contact you about an end-of-life version.

Not a managed IT client?

We can assist you with this release - and beyond. Heavy Mind offers:

  • Web server audit: inventory of PHP versions and exposed configurations
  • Patch deployment: controlled rollout with regression testing and scheduled restarts
  • End-of-life version migration: moving to a maintained PHP version
  • Monitoring setup: alerts as soon as a security fix is available in your distribution’s packages

Let's talk about your needs and build the right solution together.

Contact us

Sources: PHP - ChangeLog 8.5.13 · GHSA-qc49-hpvq-g2w6 (CVE-2026-129289) · GHSA-658j-r8rw-q6mx (CVE-2026-115560) · GHSA-jm4m-qfqx-967m (CVE-2026-129291) · CERT-FR - CERTFR-2026-ALE-014