Payments are experiencing issues due to temporary restrictions in Russia. If your payment does not go through, please submit a support request.Our support team is available 24/7 — we are always here to help with hosting and server issues.We are now accepting requests for dedicated server rental and colocation services in our data center.Reminder: we recommend enabling backups for additional data protection.A new VPS/VDS lineup with NVMe storage and improved performance is now available.Maintenance work on some servers has been completed. All services are operating normally.
Article7 min readViews4

PHP releases critical fixes: what to update on your site

On November 19, PHP released security updates for branches 8.2–8.5. Seven critical vulnerabilities were patched that, under certain configurations, could lead to code execution. Here is what website and VPS owners need to check.

Comments 0

A man places an external drive on a desk mat before servicing a server
In this article

On November 19, 2026, the PHP team released security updates for branches 8.2–8.5: 8.5.13, 8.4.28, 8.3.37, and 8.2.36. These updates address several critical vulnerabilities, some of which could allow remote code execution under specific configurations. If your website or online store runs on PHP, verify the actual PHP version handling your web requests and coordinate the update with your provider or system administrator.

Which versions were released

These are updates within existing PHP branches; switching to a new major language version is not required to obtain these fixes. A separate patched release was published for each branch:

  • PHP 8.5 — 8.5.13 replaces earlier releases in the branch.
  • PHP 8.4 — 8.4.28.
  • PHP 8.3 — 8.3.37.
  • PHP 8.2 — 8.2.36.

On the same day, the PHP project released PHP 8.6.0, a new major branch of the language. Websites running on 8.2–8.5 do not need to upgrade to 8.6 to receive the listed fixes; you can simply install the patched release for your current branch. Planning an upgrade to 8.6 should be done separately, with verification of application compatibility, extensions, and the environment.

For CVE-2026-129496, CVE-2026-115560, CVE-2026-126714, and CVE-2026-129289, the advisory specifies the affected ranges: PHP 8.2.0–8.2.35, 8.3.0–8.3.36, 8.4.0–8.4.27, and 8.5.0–8.5.12. CVE-2026-129481 applies to branches 8.3.0–8.3.36, 8.4.0–8.4.27, and 8.5.0–8.5.12, while CVE-2026-129474 and CVE-2026-129182 affect only PHP 8.5.0–8.5.12. For distribution packages, also check their own bulletins: a backport may retain the original base version number.

Which bugs were fixed

CVE-2026-129496 affects the time zone cache in the date extension. In a non-thread-safe (NTS) build, a diagnostic message at startup may leave a reference to already freed memory; an early request in a new or restarted worker process could access it. For the described attack path, PHP error logging to a file and the diagnostic message before full request initialization are critical. The advisory describes scenarios for PHP-FPM, Apache mod_php, and CGI; code execution was demonstrated under additional conditions, so one cannot assume any such handler is automatically vulnerable.

CVE-2026-115560 relates to session handling, including tracking file upload progress. A dangerous situation arises when session data is written by one serializer and then read by another from the same storage; executing code also requires a suitable object chain in the application. This can occur between different applications, virtual hosts, or pools if they share a session storage and have incompatible settings.

CVE-2026-126714 is related to an interrupted file session write: the file may contain remnants of old and new serialized data. The error affects the standard file session handler. A successful attack requires the ability to influence session content, interrupt the write at the right moment, and have suitable classes in the application. The fix makes writing safer but does not replace configuration verification.

A separate CVE-2026-129474 concerns PHP 8.5: a use-after-free error during backtrace collection for __call() and __callStatic() methods. The described remote scenario requires fatal_error_backtraces=1 and zend.exception_ignore_args=0. In PHP 8.5, fatal_error_backtraces is enabled by default, while php.ini-production sets zend.exception_ignore_args=1; check the actual PHP-FPM pool settings and application overrides. The fix is version 8.5.13; the confirmed remote advisory scenario does not apply to branches 8.2–8.4.

Another CVE-2026-129182 affects PHP 8.5. Request termination logic may re-populate the global state last_fatal_error_backtrace after the main cleanup; early diagnostics in the subsequent request of the same worker process could access freed memory. The advisory confirms use-after-free and process crashes, and considers remote code execution possible, though it has not been demonstrated for these specific vectors. The fix is PHP 8.5.13.

CVE-2026-129289 affects PHP-FPM when reusing connections between the frontend and the handler. If an application opens php://input but reads only part of the request body, remaining bytes under certain conditions may be interpreted as a separate FastCGI request within the same connection. Demonstrated remote code execution requires both retention of the backend connection and such a path in the application. Standard NGINX and Apache configurations that close FastCGI connections after each request are not affected by the demonstrated scenario; however, actual settings should still be reviewed and the updated PHP installed.

CVE-2026-129481 affects PHP 8.3–8.5 and session termination. If session cleanup is interrupted by a fatal error in a callback, the process may retain a pointer to a freed filename string; a subsequent request in the same process could access it. The advisory confirms a use-after-free vulnerability with potential for memory corruption or process crash. Remote code execution via this specific field is considered possible but was not demonstrated in the reported research. PHP 8.2 does not contain this field.

What site owners should check

  • Determine not only the installed PHP version but also the one actually serving web requests: PHP-FPM, Apache mod_php, CGI, or another handler in use. The version shown in the command line may belong to a different installation.
  • On shared hosting, request the provider to confirm the release of the patched package and its effective date. On a VPS or dedicated server, check your distribution or package provider's security notifications: the fix may be included in a package without changing the upstream version's base number.
  • Before proceeding, ensure you have an up-to-date backup of files, the database, and configuration, along with a clear recovery procedure. Update the branch on which the project runs without forcing a transition to a different major version.
  • After installation, use the supported restart or process replacement procedure. Verify that the patched build is used by all active PHP-FPM workers or Apache/CGI processes serving the site. Then test login, forms, file uploads, the shopping cart, checkout, and critical integrations.

Separately check session settings in php.ini, PHP-FPM pools, virtual hosts, and application overrides. In updated PHP, upload progress is disabled by default, but an explicitly set configuration can override this value. If multiple applications or pools share a session storage, their serializers must be consistent. Do not change the session format in a live project without a migration plan or a forced termination of old sessions.

Risk boundaries and support timeline

A critical advisory level and the existence of a technical proof-of-concept do not prove that a specific site has already been compromised. The version, handler, and configuration matter. Based on the original sources reviewed, it is impossible to confirm the status of individual client installations or the availability of packages from each hosting provider.

For PHP 8.2, this is not the final scheduled deadline: the branch ends support on December 31, 2026, after which the PHP project does not promise new security fixes. PHP 8.1 and older branches no longer receive updates directly from the project; individual distributions and LTS providers may release their own backport packages. Check your provider's bulletin for details and plan a transition to a supported branch.

Information verified on November 20, 2026, at 03:04 MSK. Package availability from a distribution or provider may differ from the moment the upstream release was published.

Discussion 0

Share your experience and ask questions. Comments without links appear after editorial review.

No comments yet. Start the discussion.