PHP fixes 18 flaws, including critical RCE bugs, and ships PHP 8.6
On November 19 PHP released 8.5.13, 8.4.28, 8.3.37 and 8.2.36, closing 18 CVEs, including several critical ones rated CVSS 9.2 that can lead to RCE, session corruption or memory corruption. They include CVE-2026-115560, plus use-after-free flaws in timezone and magic-method handling, and CVE-2026-129289, a PHP-FPM request smuggling bug affecting nginx, Apache, HAProxy and LSAPI setups that reuse backend connections. The phpAfterShell flaw (CVE-2026-126714) in the files session handler was not fixed by the October releases. No attacks are reported, and PHP 8.6 shipped at the same time with stricter session defaults.
- Fixed in PHP 8.5.13, 8.4.28, 8.3.37, 8.2.36 and 8.6.0
- CVE-2026-129289 (9.2): PHP-FPM request smuggling when connections are reused
- phpAfterShell (CVE-2026-126714): TOCTOU in the files session handler, which also needs a gadget chain
- The October 21 releases that fixed PHP2Shell do not contain this fix
- PHP 8.6 turns on session.use_strict_mode and cookie_httponly and sets samesite to Lax
created 19 November at 09:11 · updated 24 November at 16:21