PHP November 2026 Security Update: 7 Critical CVEs and Fixed Versions

PHP November 2026 Security Update: 7 Critical CVEs and Fixed Versions

By Md. Kamruzzaman
15 min read

Last verified: November 23, 2026. Recheck the official PHP advisories and your operating-system vendor's security notices before applying changes.

Quick answer: On November 19, 2026, the PHP project released security updates for supported branches 8.5, 8.4, 8.3 and 8.2. The release fixes seven Critical vulnerabilities, each rated CVSS v4.0 9.2, across session handling, PHP-FPM request processing, the PHP engine and the date/timezone code. The fixed releases for existing branches are PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36. The seven issues do not affect every branch equally and do not all have the same exploitation conditions.

PHP also addressed additional High, Moderate and bundled-library issues in the same release cycle. This guide focuses on the seven Critical CVEs because they warrant a clear production review.

Why the update is time-sensitive: NHS England reports multiple publicly available proof-of-concept exploits for vulnerabilities in this alert and assesses future exploitation as a realistic possibility. Public proof-of-concept code is not evidence that every PHP deployment is vulnerable or that every issue is being exploited in the wild; it is a reason to prioritize applicability checks and patching.

PHP security update at a glance

ItemVerified detailRelease dateNovember 19, 2026Critical vulnerabilities7SeverityCriticalCVSS9.2 / 10, CVSS v4.0Security areasSession handling, PHP-FPM, PHP engine memory safety, date/timezone handlingFixed PHP branches8.5, 8.4, 8.3 and 8.2Primary actionUpgrade to the matching fixed release, test, deploy and verify every relevant runtime

Source: PHP 2026 release archive and NHS England Cyber Alert CC-4900.

Which PHP versions are fixed?

For the supported PHP branches in use before the November 19 release, the security updates are:

Branch Fixed release Critical CVEs
PHP 8.5 8.5.13 7
PHP 8.4 8.4.28 5

PHP 8.3 8.3.37 5

PHP 8.2 8.2.36 4

The branch counts above are derived from the affected-version ranges in the seven individual advisories. In particular, CVE-2026-129182 and CVE-2026-129474 affect the 8.5 branch; CVE-2026-129481 affects 8.3 and later. The other four Critical advisories cover the listed 8.2–8.5 branches.

PHP 8.6.0 was also released on November 19, 2026. It is a new major branch, not a point-update target for an existing 8.2–8.5 installation. Do not make a major-version jump solely to remediate this release without checking application and extension compatibility.

Important for distribution packages: Linux vendors may backport PHP security fixes into packages whose upstream-looking version string is different from the PHP.net release number. Check your distribution's exact package advisory and errata. Do not conclude that a package is vulnerable or patched from the upstream version number alone.

The seven Critical PHP vulnerabilities

All seven CVEs below are rated Critical with a CVSS v4.0 base score of 9.2. Their conditions and outcomes differ. Some can lead to remote code execution under specific application or runtime conditions; others can cause memory corruption or worker crashes, and remote code execution has not been demonstrated for every specific path.

1. CVE-2026-115560 — Session serializer mismatch

Area: PHP session upload progress and session serialization. Supported branches: 8.2–8.5.

The session upload-progress feature can write attacker-influenced session data using one serialization format and later have it read using another. Under a configuration where the writer and reader use different session serializers, part of a session key can be interpreted as serialized object data. If the application also has a suitable object-deserialization gadget chain, the condition can lead to code execution with the PHP worker's privileges.

The relevant review points include whether session upload progress is enabled, the effective session.serialize_handler in every application/pool that can access the same session data, and whether multiple contexts share a session directory and session ID. The November 19 fix disables session upload progress by default and prevents runtime changes to session settings while the feature is enabled. An explicit configuration can override a default, so inspect the effective configuration rather than assuming the new default is active.

Official advisory: GHSA-658j-r8rw-q6mx.

2. CVE-2026-126714 — Partially overwritten session files

Area: PHP's file-based session handler. Supported branches: 8.2–8.5.

When PHP replaces a file-based session, an interrupted write can leave a mixture of new and old serialized data. An attacker who can influence session contents and cause a write to stop at a useful point may be able to leave attacker-controlled objects in the session file. If the application contains a suitable deserialization gadget chain, reopening that session can lead to code execution. Session data can also be corrupted.

This issue is particularly relevant because PHP's files session save handler is the default. The precise risk still depends on whether an attacker can influence the session data and interrupt the write in the required way. The fix truncates the existing file before writing the replacement session data and aborts if truncation fails.

Official advisory: GHSA-fm2m-fjf5-v3cp.

3. CVE-2026-129289 — PHP-FPM request smuggling

Area: PHP-FPM and persistent FastCGI/LSAPI connections. Supported branches: 8.2–8.5.

PHP can fail to discard unread bytes from an HTTP request body before reusing a persistent backend connection. The vulnerable path requires an application to open php://input without consuming the request body completely and a front end that reuses the backend FastCGI connection. Leftover body bytes can then be interpreted as a separate FastCGI request.

For PHP-FPM, a crafted request can cause attacker-controlled PHP code to run with the worker's privileges by crossing the front-end-to-backend trust boundary. The advisory identifies configurations such as Nginx with fastcgi_keep_conn on or Apache mod_proxy_fcgi with connection reuse enabled. Standard Nginx and Apache configurations that close the FastCGI connection after each request are not affected by the demonstrated PHP-FPM attack path. The related LSAPI issue can desynchronize or disrupt subsequent requests; the PHP-FPM PHP_ADMIN_VALUE execution chain should not be generalized to LSAPI.

Do not assume that using PHP-FPM alone proves exposure. Check the actual front-end connection-reuse settings and application handling of php://input, then upgrade to the fixed branch release.

Official advisory: GHSA-qc49-hpvq-g2w6.

4. CVE-2026-129182 — Use-after-free in fatal-error backtrace state

Area: PHP engine shutdown and fatal-error backtrace handling. Supported branch: 8.5 only.

PHP 8.5 can recreate the last_fatal_error_backtrace state while restoring modified INI settings after executor cleanup. The request memory can then be released while the global still references that memory. An early diagnostic in a subsequent request handled by the same worker can access the stale backtrace, leading to memory corruption or a worker crash; remote code execution is a potential impact, but the advisory notes that RCE through the specific newly identified restoration paths has not been demonstrated.

The advisory describes configuration-dependent shutdown diagnostics, including path-specific max_memory_limit interactions and certain output-compression/output-handler combinations. This is not a claim that every PHP 8.5 application has the same trigger. The supported fix is PHP 8.5.13.

Official advisory: GHSA-2fjv-p558-g82m.

5. CVE-2026-129474 — Use-after-free in magic-method backtraces

Area: PHP engine backtrace collection for __call() and __callStatic(). Supported branch: 8.5 only.

When PHP collects a backtrace for a method handled by __call() or __callStatic(), it can access freed memory if a fatal error occurs at the relevant point in execution. A remote request can reach this path in an application with a suitable call path. Successful remote code execution has been demonstrated under particular conditions.

The demonstrated path requires fatal_error_backtraces=1 and zend.exception_ignore_args=0. PHP's php.ini-production sets zend.exception_ignore_args=1, which prevents this particular demonstrated path when that value is effective. Custom configuration, per-directory overrides or other runtime settings may change the result. Verify the effective settings in the PHP 8.5 workers rather than assuming either exposure or safety from a default file.

Official advisory: GHSA-8mjj-2r7p-4hg2.

6. CVE-2026-129481 — Use-after-free after interrupted session shutdown

Area: PHP session shutdown and application callbacks. Supported branches: 8.3–8.5.

PHP records the executing script filename when a session starts. If a fatal error interrupts cleanup while session variables are being destroyed—for example, a callback reached through a user-defined stream wrapper's stream_close()—the filename pointer can remain after request memory is freed. A later request on the same worker can then release the stale string, causing memory corruption or a worker crash. Code execution through this specific field has not been demonstrated in the advisory.

The demonstrated sequence depends on how the script was loaded and whether its filename is request-owned. The advisory describes an example with OPcache disabled; enabling OPcache alone should not be treated as a universal mitigation. The supported fix is to upgrade the affected 8.3, 8.4 or 8.5 branch.

Official advisory: GHSA-g3vh-838c-65v7.

7. CVE-2026-129496 — Timezone-cache use-after-free

Area: PHP date/timezone cache and startup diagnostics. Supported branches: 8.2–8.5.

In non-thread-safe PHP builds, a diagnostic written to a file-based error_log during module startup can cause the timezone cache to be allocated in startup memory that is later freed while a reference remains. A diagnostic raised early in a worker's first request—for example, a max_input_vars warning—can then access the stale cache. On affected configurations, this can crash a PHP-FPM, Apache module or CGI worker; the advisory identifies potential remote code execution as well as denial of service.

Configuration review should include date.timezone, file-based error logging and warnings emitted during module startup and early request handling. The reliable remediation is to install the fixed PHP branch release and verify that the worker processes actually restarted on the patched build.

Official advisory: GHSA-gr4f-wgx5-jpfv.

Why the PHP branch and runtime matter

The seven Critical issues do not map evenly across branches. PHP 8.5 is affected by all seven. PHP 8.3 and 8.4 are affected by five each. PHP 8.2 is affected by four. That difference comes from the individual advisory ranges, not from a general rule that a newer PHP version is automatically more exposed.

PHP's command-line binary and the runtime serving web traffic may not be the same installation. A server can have a patched CLI binary while PHP-FPM, an Apache module, a queue worker, a cron task or a container image still runs an older package. A load-balanced application can also have a mixture of patched and unpatched nodes.

Inventory every relevant execution path, including:

  • PHP CLI and scheduled jobs.

  • PHP-FPM services and every configured pool.

  • Apache mod_php or other web-server integrations, where used.

  • Long-running queue workers and background services.

  • Docker images, Kubernetes workloads, autoscaling groups and deployment artifacts.

  • Staging, production, regional replicas and standby environments.

  • Managed hosting or operating-system packages that may carry vendor backports.

How to check your PHP environment

Start with the PHP binary and configuration used by the application. These commands are useful for the CLI installation:

php -v
php --ini
php -i

Do not treat that output as proof of the PHP-FPM or Apache runtime version. Identify the actual service binary, its configuration file, scanned INI files, pool configuration and package source. Where a provider manages PHP for you, check its runtime selector and security-update notice.

For the advisory-specific review, inspect the effective configuration and application paths for:

  • session.save_handler, session.upload_progress.enabled and session.serialize_handler.

  • Applications or pools sharing session storage, session IDs or session readers/writers.

  • Code that opens php://input without consuming the request body, alongside FastCGI or LSAPI backend connection-reuse settings.

  • fatal_error_backtraces, zend.exception_ignore_args and path-specific INI overrides on PHP 8.5.

  • Session shutdown callbacks and custom stream wrappers, including stream_close() behavior.

  • date.timezone, file-based error_log and startup diagnostics on non-thread-safe builds.

These settings are investigation points, not a universal checklist of conditions that every application must satisfy. The exact trigger differs by CVE. Use the individual advisory to decide what is relevant to the environment.

Recommended production remediation workflow

1. Verify the primary advisories

Use the official PHP release notes and each GitHub Security Advisory. Confirm the branch-specific affected range, any configuration prerequisites, the fixed release and whether the operating-system or hosting vendor has issued a backport.

2. Build a runtime inventory

Record the PHP version, package source, SAPI (CLI, FPM, Apache module or other), container/image digest, relevant configuration and deployment target for every application and worker. Distinguish versions declared in an image or package manifest from the binaries actually executing in production.

3. Select the supported upgrade path

For upstream PHP branches, use the matching fixed release: 8.5.13, 8.4.28, 8.3.37 or 8.2.36. For distribution packages, use the vendor's fixed package or erratum. Avoid forcing an unrelated major-version upgrade during an emergency patch unless compatibility has been assessed.

4. Test the application in staging

Regression-test the workflows that matter to the application, including authentication and sessions, multipart uploads and file handling, custom session serializers, application routes that read request bodies, PHP-FPM request processing, time/date functions, error handling and any custom stream-wrapper callbacks. Run the existing automated test suite and a production build where applicable.

Do not send exploit payloads to production as a routine way to validate a patch. Use the vendor's fix, dependency/runtime evidence and safe regression coverage.

5. Deploy and restart the relevant workers

Apply the update through the normal change process. Restart or replace PHP-FPM, Apache workers, queue workers and containers as required so that old processes do not continue serving traffic. In a multi-node environment, verify every node, region, replica and autoscaled image.

6. Verify the deployed result

Confirm the runtime version from the actual web-serving process or a controlled, access-restricted diagnostic—not only from the CLI. Check package and image metadata, worker start times, deployment state, error rates and application behavior. Remove temporary diagnostic endpoints after verification and do not expose detailed runtime configuration publicly.

7. Plan lifecycle work separately

PHP 8.2 receives security fixes only until December 31, 2026. PHP 8.3 receives security support until December 31, 2027; PHP 8.4 until December 31, 2028; and PHP 8.5 until December 31, 2029. PHP 8.1 reached upstream end of life on December 31, 2025. A fixed point release addresses the advisory; it does not extend a branch's support lifetime.

Teams on PHP 8.2 should therefore plan a compatibility-tested migration to a newer supported branch. Teams on PHP 8.1 or older should check their platform vendor's support and backport policy and plan an upgrade to an actively supported PHP branch.

Common mistakes to avoid

  • Checking only php -v: it may show the CLI binary rather than the FPM or Apache runtime.

  • Assuming all seven CVEs affect every branch: each advisory has its own affected range.

  • Calling all seven RCE bugs: the impact ranges from conditional RCE to memory corruption, worker crashes and request desynchronization; RCE has not been demonstrated for every specific path.

  • Assuming a version string proves exposure: distributions may backport fixes and carry different package release numbers.

  • Updating one node only: old workers, containers or replicas can continue running an affected build.

  • Assuming an update means the entire system is secure: this release addresses specific PHP vulnerabilities, not every application, library, configuration or infrastructure risk.

Frequently asked questions

How many Critical vulnerabilities were fixed in the November 19, 2026 PHP release?

Seven Critical vulnerabilities, each rated CVSS v4.0 9.2, were identified in the release advisories. The same release cycle also addressed High, Moderate and bundled-library issues.

Which PHP versions should I upgrade to?

For the existing upstream branches, the fixed releases are PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36. Use the matching release for your supported branch, or the corresponding fixed package from your operating-system or hosting vendor.

Are all seven vulnerabilities remote code execution?

No. Some issues can lead to RCE under specific conditions, while other advisories describe memory corruption, worker crashes or request desynchronization. CVE-2026-129481, for example, documents a use-after-free where code execution through the specific field has not been demonstrated.

Does every PHP-FPM installation have the request-smuggling vulnerability?

No. CVE-2026-129289 requires a relevant application path that opens php://input without fully consuming the request body and a front end that reuses backend FastCGI connections. Check the real web-server and FPM configuration rather than assuming exposure from the presence of PHP-FPM alone.

Is the PHP session upload-progress feature involved in the security update?

Yes. CVE-2026-115560 concerns inconsistent session serializers in a configuration where session upload progress can write session data that is later interpreted using another serializer. The fix changes the feature's default and constrains runtime session-setting changes while upload progress is enabled. Explicit configuration and shared session storage still need review.

Is PHP 8.2 still supported?

Yes, for security fixes through December 31, 2026. PHP 8.2.36 addresses the applicable November 19 issues, but users should plan a migration to a newer supported branch before 8.2 reaches end of life.

How do I know if my production application is patched?

Verify the exact PHP package and binary used by the web-serving runtime, its configuration and the deployment state of every relevant FPM service, Apache worker, container, queue worker and replica. A CLI version check alone is not sufficient.

How BizSafer can help

A security release is only the starting point. Production teams need to establish which advisories apply to their actual runtime and configuration, identify the supported remediation path, test application behavior and verify that the intended release is running across the relevant production environments.

BizSafer supports application-security advisory assessment, PHP and framework dependency review, patch planning, controlled remediation, regression testing and deployment verification. The exact scope depends on the application, runtime architecture, access available and customer change process.

Request the Production Patch Readiness Checklist: DM PATCH through our LinkedIn or X profiles.

Need help reviewing your PHP environment? Book a free 30-minute security scoping call to discuss the application, PHP runtime, deployment setup and possible next steps.

The call is an initial scoping discussion, not a free technical audit, source-code review or remediation engagement. Any assessment, implementation or production verification is separately scoped and quoted.

Official references

Last verified: November 23, 2026. The official PHP advisories and distribution-vendor notices should be checked again before applying a production change.

Tags:

#PHP security update November 2026#PHP 8.5.13#PHP 8.4.28#PHP 8.3.37#PHP 8.2.36#CVE-2026-115560#CVE-2026-126714#CVE-2026-129289#CVE-2026-129182#CVE-2026-129474#CVE-2026-129481#CVE-2026-129496#PHP-FPM security#PHP session security

Share this article: