PHP 8.5.13 and 8.4.28 Fix 12 Security Vulnerabilities

PHP security vulnerabilities November 2026 advisory alert showing PHP security vulnerabilities CVE-2026-129289 and CVE-2026-129496

TL;DR

On November 19, 2026, the PHP team shipped urgent updates for four active branches to fix 12 PHP security vulnerabilities. Seven critical flaws score 9.2 on the CVSS v4 scale and allow remote code execution under specific setups. Site owners must upgrade to PHP 8.5.13, 8.4.28, 8.3.37, or 8.2.36 right away.

Why It Matters

Web tracker W3Techs notes that PHP powers 68.1 percent of websites with a known server-side language. Within that share, PHP 8 runs on 68.1 percent of tracked sites. Since WordPress, Laravel, and Magento rely on PHP, unpatched hosts expose large parts of the web.

Security teams built lab proofs to verify memory corruption and code execution for several bugs. However, neither live attacks in the wild nor public exploit kits are known so far. Even so, these PHP security vulnerabilities put shared hosts and busy web clusters at risk.

How the Attack Works

PHP-FPM Smuggling and Epoll Bugs

Per GitHub Security Advisories for php-src, two major flaws hit PHP-FPM setups. First, CVE-2026-129289 (CVSS 9.2) lets remote attackers smuggle FastCGI requests through unread HTTP bodies. When an app opens php://input without reading it all over a reused link, leftover bytes form a new request. Thus, that forged request can change PHP_ADMIN_VALUE settings and run rogue PHP code.

Second, CVE-2026-129291 (CVSS 8.8) is an epoll use-after-free bug when catch_workers_output is on. If a child process holds an output pipe open, late cleanup frees an active worker record. Local attackers in a www-data worker can then gain root rights.

Session Storage and Serializer Flaws

Three critical bugs hit PHP session storage. In CVE-2026-115560 (CVSS 9.2), session upload progress saves keys in php_binary or php_serialize format. If another script reads that store with the php format, attacker bytes turn into objects and run code.

Likewise, CVE-2026-126714 (CVSS 9.2) occurs because ps_files_write writes session files without clearing old bytes first. Therefore, a halted write mixes new and old data, letting attackers inject object gadgets. Meanwhile, CVE-2026-129481 (CVSS 9.2) keeps a stale filename pointer when a fatal error halts session shutdown.

Backtrace and Timezone Cache Bugs

Three more critical flaws corrupt memory during error logs and backtraces. In CVE-2026-129496 (CVSS 9.2), a startup warning sent to a file error_log creates a temp timezone cache. Consequently, early requests can read that freed cache before reset and run worker code.

In addition, two PHP 8.5 bugs stem from fatal error backtraces. CVE-2026-129182 (CVSS 9.2) rebuilds last_fatal_error_backtrace when INI cleanup fails after shutdown. Also, CVE-2026-129474 (CVSS 9.2) reads freed argument memory when a fatal error hits inside __call or __callStatic.

XML, SOAP, URI, and CGI Parser Flaws

Four medium-risk PHP security vulnerabilities cause crashes or data leaks. In CVE-2026-129538 (CVSS 6.9), php-cgi miscalculates pointer offsets during PATH_INFO rewrites, causing out-of-bounds reads and writes. Next, CVE-2026-129438 (CVSS 6.3) triggers an integer overflow in PHP 8.5 on 2 GiB RFC 3986 URIs.

Finally, two XML bugs crash workers. CVE-2026-129506 (CVSS 6.3) frees a SOAP DTD while XML attributes still point to it. Moreover, Dom\XMLDocument::saveXml causes a double free on shared namespace tags in CVE-2026-129501 (CVSS 6.3).

Affected Versions

These PHP security vulnerabilities hit all active branches before the November 19, 2026 release:

  • Branch 8.5: Releases 8.5.0 through 8.5.12 (all 12 CVEs).
  • Latest 8.4: Releases 8.4.0 through 8.4.27 (9 CVEs).
  • Active 8.3: Releases 8.3.0 through 8.3.36 (8 CVEs).
  • Legacy 8.2: Releases 8.2.0 through 8.2.35 (7 CVEs; end-of-life on December 31, 2026).

Patch and Mitigation Steps

Admins should grab patched source code and binaries from the official PHP downloads page or install vendor packages for PHP 8.5.13, 8.4.28, 8.3.37, and 8.2.36.

If patching takes time, apply config locks now. Turn off FastCGI connection reuse on reverse proxies, set catch_workers_output = no, and disable session.upload_progress.enabled. Furthermore, set zend.exception_ignore_args = 1 and cgi.fix_pathinfo = 0 where needed.

Support Our Threat Intelligence

If you find our technology report and cybersecurity news helpful, consider supporting our work.

Crypto QR Code
USDT (TRC20):
TN8BdV8cp4T1Cd28gK9qTAnZknzzuwyUtm
USDT (ERC20):
0x3725e1a7d3bc5765499fa6aaafe307fabcd75bce

Leave a Reply