Last updated: (UTC)

PHP core vulnerabilities and fixes

These independently reviewed advisories cover important PHP runtime issues. This list is not complete; further official advisories are under review.

CVE-2026-129289

FPM: a persistent FastCGI connection can reuse unread request-body data; application and frontend behavior matter.

Affected upstream versions: < 8.2.36; 8.3.0–8.3.36; 8.4.0–8.4.27; 8.5.0–8.5.12

First upstream fixes: 8.2.36 · 8.3.37 · 8.4.28 · 8.5.13.

Official advisory ↗

CVE-2026-129538

CGI: inconsistent path values with cgi.fix_pathinfo enabled. PHP-FPM and Apache mod_php are not affected by this issue.

Affected upstream versions: < 8.2.36; 8.3.0–8.3.36; 8.4.0–8.4.27; 8.5.0–8.5.12

First upstream fixes: 8.2.36 · 8.3.37 · 8.4.28 · 8.5.13.

Official advisory ↗

CVE-2026-129291

FPM on Linux: output capture must be enabled and the attacker must already be able to execute PHP code in a worker.

Affected upstream versions: 8.1.20–8.1.34; 8.2.7–8.2.35; 8.3.0–8.3.36; 8.4.0–8.4.27; 8.5.0–8.5.12

First upstream fixes: 8.2.36 · 8.3.37 · 8.4.28 · 8.5.13. PHP 8.1: no upstream fixed release is listed.

Official advisory ↗

CVE-2026-129182

PHP 8.5: a shutdown error and an early diagnostic in a later request handled by the same worker are required.

Affected upstream versions: 8.5.0–8.5.12

First upstream fixes: 8.5.13.

Official advisory ↗

CVE-2026-129474

PHP 8.5: the documented remote path requires fatal-error backtraces enabled and exception arguments included.

Affected upstream versions: 8.5.0–8.5.12

First upstream fixes: 8.5.13.

Official advisory ↗

CVE-2026-91768

FPM: an attacker needs reachable IPv6 FastCGI TCP and a source address within the same /96 as an allowed client; Unix sockets and IPv4-only setups are outside this condition.

Affected upstream versions: < 8.2.34; 8.3 < 8.3.35; 8.4 < 8.4.26; 8.5 < 8.5.11

First upstream fixes: 8.2.34 · 8.3.35 · 8.4.26 · 8.5.11.

Official advisory ↗

CVE-2026-129496

A non-thread-safe build can retain a stale timezone cache after a startup diagnostic written to PHP's file-based error log; a later early-request diagnostic is also required.

Affected upstream versions: < 8.2.36; 8.3.0–8.3.36; 8.4.0–8.4.27; 8.5.0–8.5.12

First upstream fixes: 8.2.36 · 8.3.37 · 8.4.28 · 8.5.13.

Official advisory ↗

CVE-2026-129481

A fatal callback can interrupt session shutdown and leave a stale filename for a later request in the same worker. The outcome depends on the application and filename storage; code execution was not demonstrated for this specific path.

Affected upstream versions: 8.3.0–8.3.36; 8.4.0–8.4.27; 8.5.0–8.5.12

First upstream fixes: 8.3.37 · 8.4.28 · 8.5.13.

Official advisory ↗

CVE-2026-126714

Interrupted writes in the files session handler can corrupt session data. Code execution additionally requires attacker influence, a suitable interruption and an application deserialization gadget chain.

Affected upstream versions: < 8.2.36; 8.3.0–8.3.36; 8.4.0–8.4.27; 8.5.0–8.5.12

First upstream fixes: 8.2.36 · 8.3.37 · 8.4.28 · 8.5.13.

Official advisory ↗

CVE-2026-128064

PHP HTTP or FTP stream wrappers can send data unencrypted when an HTTPS or FTPS URL contains an uppercase S, including in a redirect. Exposure depends on the traffic and an observer.

Affected upstream versions: < 8.2.36; 8.3.0–8.3.36; 8.4.0–8.4.27; 8.5.0–8.5.12

First upstream fixes: 8.2.36 · 8.3.37 · 8.4.28 · 8.5.13.

Official advisory ↗

CVE-2026-115560

Session upload progress can write data using one session serializer and later read it with another. Code execution additionally requires access to the shared session and a suitable application gadget chain.

Affected upstream versions: < 8.2.36; 8.3.0–8.3.36; 8.4.0–8.4.27; 8.5.0–8.5.12

First upstream fixes: 8.2.36 · 8.3.37 · 8.4.28 · 8.5.13.

Official advisory ↗

Ubuntu

Distribution packages may use backports. Check your vendor's advisory and full package revision; other vendors and architectures remain unverified here.

For CVE-2026-129289, CVE-2026-129538 and CVE-2026-129291, Canonical lists these package revisions: Ubuntu 26.10 PHP 8.5: 8.5.9-0ubuntu2.2; 26.04 PHP 8.5: 8.5.4-0ubuntu1.6; 24.04 PHP 8.3: 8.3.6-0ubuntu0.24.04.14; 22.04 PHP 8.1: 8.1.2-1ubuntu2.29. For CVE-2026-129182 and CVE-2026-129474, the notice identifies only Ubuntu 26.10 and 26.04 as affected. Check the actual installed package and architecture against Canonical.

Ubuntu USN-9185-1 ↗

Sources checked: 2026-12-06 08:06–08:11 UTC; Ubuntu: 09:04–09:05 UTC