Gradient Generator Tool New Tool

Search Suggest

Pinned Post

PHP Security Update November 2026: 7 Critical Vulnerabilities Fixed — Upgrade Guide

PHP released critical security updates for PHP 8.2–8.5. Learn about PHP-FPM, session and engine vulnerabilities, fixed versions and safe Laravel serve
Important: PHP published security updates on November 19, 2026, for PHP 8.5, 8.4, 8.3 and 8.2. The releases address critical vulnerabilities affecting the PHP engine, PHP-FPM, sessions, SOAP, PHAR and other core components.

If you manage a PHP or Laravel application, updating the application code alone is not enough. The PHP runtime, PHP-FPM service, CLI installation, extensions and deployment containers must also be checked.

This guide explains the November security updates, the affected versions, important CVEs and a practical process for upgrading production servers safely.

Table of Contents

1. PHP Security Releases: November 19, 2026

The PHP development team released security updates across multiple maintained PHP branches on November 19, 2026.

These are maintenance and security releases. You do not need to migrate your application to a newer major PHP version just to receive the corresponding security fixes.

Fixed PHP versions

PHP branch Security release Recommended action
PHP 8.5 8.5.13 Upgrade to 8.5.13 or a later fixed release
PHP 8.4 8.4.28 Upgrade to 8.4.28 or a later fixed release
PHP 8.3 8.3.37 Upgrade to 8.3.37 or a later fixed release
PHP 8.2 8.2.36 Upgrade to 8.2.36 or a later fixed release
PHP 8.6 8.6.0 Includes the corresponding fixes out of the box

PHP 8.6.0 was also released on November 19. It is the new stable feature release and includes the relevant security fixes.

Always verify the latest package version offered by your operating-system vendor. Distribution packages may include vendor-specific version suffixes and backported security patches.

2. How Serious Are These PHP Vulnerabilities?

The November security advisory reports seven critical vulnerabilities, four high-severity vulnerabilities, six moderate-severity vulnerabilities and an additional issue in a bundled software library.

The affected components include:

  • PHP core and execution engine.
  • PHP-FPM and PHP-CGI.
  • Session handling.
  • Date and timezone processing.
  • SOAP and XML processing.
  • PHAR archive signature validation.
  • HTTP and FTP stream handling.
  • Other bundled components and extensions.

Possible security impacts

Depending on the vulnerability and deployment configuration, successful exploitation may cause:

  • Remote code execution in the affected PHP process.
  • Denial of service (DoS).
  • Sensitive information disclosure.
  • Memory corruption.
  • Cross-request or session-related security problems.
  • Unexpected behaviour in PHP-FPM or PHP-CGI.
Security Context: The PHP team's announcement notes that the critical issues require non-default configuration or uncommon setups. This does not mean every PHP installation is remotely exploitable. Actual exposure depends on the affected component, configuration and request path.

Public proof-of-concept information

The November 19 NHS England cyber alert reports that multiple proof-of-concept exploits were available and assesses future exploitation as a realistic possibility.

This makes timely patching especially important for internet-facing PHP applications.

3. Important PHP CVEs Developers Should Understand

The PHP changelog contains the detailed list of fixes. The following examples illustrate why the affected components matter:

CVE-2026-129289: PHP-FPM request smuggling

This vulnerability concerns inconsistent handling of HTTP request bodies in PHP-FPM. Under affected FastCGI configurations, unread request data can create request-smuggling conditions. Verify both the PHP runtime and FastCGI request-handling configuration in Nginx or Apache.

CVE-2026-126714: Session file race condition

The PHP security changelog documents a vulnerability involving partially overwritten session files that can lead to remote code execution under affected conditions. This is particularly relevant to applications that use file-based PHP sessions and have shared or incorrectly isolated session storage.

CVE-2026-115560: Session serializer mismatch

This issue involves a session serializer mismatch and can lead to remote code execution in affected configurations. Application developers should avoid manually modifying PHP session serialization behaviour unless they fully understand the security implications.

CVE-2026-129496: Timezone cache use-after-free

The PHP changelog identifies a timezone cache use-after-free issue that can potentially lead to remote code execution. This is an engine-level and date-processing issue rather than an application-level bug.

Other affected areas

Additional fixes cover PHP-FPM status endpoint output, PHAR signature verification, SOAP processing and HTTP response-header handling.

Do not assume that disabling one extension resolves all the vulnerabilities. The only robust remediation is to install the fixed PHP release for your branch.

4. Check Whether Your PHP Server Is Affected

Start by identifying the PHP version used by the command line:

PHP
<?php // This is a PHP script, not a shell command. echo PHP_VERSION . PHP_EOL; echo PHP_SAPI . PHP_EOL;

You can also run the following commands from your server terminal:

Bash
php -v php --ini php -m

Check PHP-FPM separately

A common production mistake is checking only the CLI PHP version. Nginx or Apache may use a different PHP-FPM installation.

Bash
php -v php-fpm8.3 -v systemctl list-units --type=service | grep -i php

The PHP-FPM executable name varies by operating system and installation. Replace 8.3 with your installed branch, or locate the actual executable and service name.

Check installed packages on Debian or Ubuntu

Bash
dpkg -l | grep -E 'php[0-9.]|php-fpm' apt-cache policy php8.3-cli php8.3-fpm php8.3-common

Compare the installed package versions with the security-fixed versions available from your configured package repositories.

5. How to Update PHP on Ubuntu or Debian

The following example uses a PHP 8.3 installation on Debian or Ubuntu. Adapt the package names to your actual PHP version and installed extensions.

Step 1: Inspect available updates

Bash
sudo apt update apt list --upgradable 2>/dev/null | grep -E '^php[0-9.]'

Step 2: Check the candidate package versions

Bash
apt-cache policy php8.3-cli apt-cache policy php8.3-fpm apt-cache policy php8.3-common apt-cache policy php8.3-opcache

Confirm that the configured repository provides a fixed package version. Do not assume that an apt update automatically changes the PHP branch.

Step 3: Upgrade the PHP packages

If your server uses the PHP 8.3 package family, and the candidate versions are correct, update the corresponding installed packages:

Bash
sudo apt install --only-upgrade \ php8.3-cli \ php8.3-common \ php8.3-fpm \ php8.3-opcache

Add the PHP extensions that are installed and used by your application, such as php8.3-mysql, php8.3-redis, php8.3-curl and php8.3-xml.

If your operating-system repository does not yet provide the fixed version, follow the repository vendor's security guidance. Avoid downloading random PHP binaries or mixing package repositories without understanding the consequences.

Step 4: Restart PHP-FPM

Bash
sudo systemctl restart php8.3-fpm sudo systemctl status php8.3-fpm --no-pager

Step 5: Verify the new runtime

Bash
php -v php-fpm8.3 -v php -m

Check the CLI and FPM versions independently. Verify that all required extensions are still loaded.

6. Laravel 13: Security Upgrade Checklist

Laravel 13 requires PHP 8.3 or higher. A Laravel application running on PHP 8.3, 8.4 or 8.5 should receive the security updates for its corresponding PHP branch. Updating PHP does not require an automatic Laravel framework upgrade.

Step 1: Check Composer platform requirements

Bash
composer validate composer check-platform-reqs composer show --direct

Step 2: Run the Laravel test suite

Bash
php artisan test

Test important application features, especially:

  • Authentication and session handling.
  • File uploads and downloads.
  • Database transactions.
  • Queue processing and scheduled jobs.
  • Payment and third-party API integrations.
  • XML, SOAP and archive processing if your application uses them.

Step 3: Restart long-running queue workers

PHP runtime upgrades must be followed by a controlled restart of long-running application workers:

Bash
php artisan queue:restart

Make sure your process manager, such as Supervisor, brings workers back up immediately after they exit.

Step 4: Inspect application logs

Bash
tail -n 100 storage/logs/laravel.log sudo journalctl -u php8.3-fpm -n 100 --no-pager

7. Important PHP-FPM and Nginx Security Checks

Updating PHP fixes the vulnerable runtime code, but administrators should also review their web-server and FastCGI configuration.

Review these settings:

  • Keep PHP-FPM status endpoints restricted to trusted monitoring systems.
  • Do not expose internal PHP-FPM status pages publicly.
  • Use the recommended FastCGI request-handling configuration for your web server.
  • Keep PHP-FPM socket permissions restricted.
  • Do not allow untrusted users to access PHP session storage.
  • Review reverse proxies and FastCGI connection reuse settings.
  • Keep Nginx and Apache security updates current.

Find your active PHP-FPM configuration:

Bash
php-fpm8.3 -i | grep -E 'Loaded Configuration|Scan this dir' sudo nginx -T
Warning: Nginx configuration output can contain sensitive values; do not publish it without reviewing and redacting secrets. Compare your setup against the official PHP-FPM and web-server documentation.

8. What About Docker and Cloud Deployments?

Applications running in containers must update the PHP runtime inside the container image. Updating the host's PHP installation does not patch PHP inside a Docker container.

Docker upgrade workflow:

  1. Identify the PHP base image used by the application.
  2. Check the official image tags for the fixed PHP branch.
  3. Update the Dockerfile or image reference.
  4. Build a new image.
  5. Run automated tests against that image.
  6. Deploy the new image and verify its runtime version.

Example Dockerfile pattern:

Dockerfile
FROM php:8.3-fpm-bookworm WORKDIR /var/www/html COPY . . CMD ["php-fpm"]

Rebuild and redeploy the image instead of modifying a running container manually.

9. PHP Security Upgrade: Common Mistakes

Bad practice Better practice
Checking only php -v Check CLI and PHP-FPM separately
Updating application Composer packages only Patch the PHP runtime and extensions
Updating the host but not Docker images Rebuild and redeploy patched images
Restarting PHP without checking workers Restart FPM and long-running queue workers safely
Upgrading directly in production without tests Validate in staging and maintain rollback capability
Disabling one extension and assuming everything is fixed Install the appropriate security release
Ignoring unsupported PHP branches Move to an actively maintained PHP branch

10. What If You Are Still Using PHP 8.1 or Earlier?

PHP 8.1 and earlier are not included in the November 19 fixed-version list. These branches have reached End of Life (EOL) and do not receive official security maintenance.

End-of-Life Warning: Installing an old package or applying an unofficial patch is not an adequate solution. Plan an immediate upgrade to a maintained PHP version (PHP 8.2+) that is supported by your framework and dependencies.

Check your current Laravel version, Composer constraints, installed extensions and third-party packages before choosing a target PHP branch. Laravel 13 requires PHP 8.3 or higher.

11. Production PHP Security Checklist

Use this checklist before considering your upgrade complete:

  • Identify every PHP version running on the server.
  • Confirm that CLI and FPM use the intended versions.
  • Install the fixed release or a later vendor-patched package.
  • Update all PHP extensions and relevant packages.
  • Rebuild PHP Docker images where applicable.
  • Verify session storage permissions and configuration.
  • Review PHP-FPM and FastCGI exposure.
  • Run Composer platform checks.
  • Run automated application tests.
  • Restart FPM and queue workers.
  • Review application and system logs.
  • Maintain a tested rollback plan.

12. Frequently Asked Questions

Which PHP versions received security updates on November 19, 2026?

PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 were released as security updates. PHP 8.6.0 was also released and includes the relevant fixes.

How many security issues were addressed?

The November advisory reports seven critical, four high and six moderate vulnerabilities, together with an issue in a bundled library.

Is PHP-FPM affected?

Yes. The November changelog includes PHP-FPM-related fixes, including request smuggling and status endpoint issues.

Is Laravel 13 affected by the PHP security releases?

Laravel 13 applications use the PHP runtime, so they must run on a properly patched PHP installation. The framework itself does not need to be upgraded merely to receive a PHP runtime security fix.

Do I need to upgrade Laravel when upgrading PHP?

Not automatically. Check the PHP requirements of your installed Laravel release and all Composer dependencies. Upgrade the framework only when required by your compatibility or maintenance plan.

Does updating PHP CLI also update PHP-FPM?

Not necessarily. They can be installed as separate packages or use different versions. Verify both installations and restart the relevant FPM service after patching.

Does updating PHP on the host fix Docker containers?

No. Containers bundle their own runtime. Rebuild and redeploy the affected container images with a patched PHP base image.

Can I remain on PHP 8.3?

Yes, provided that your operating-system vendor offers a fixed package, your PHP branch remains maintained and your application dependencies support it. The corresponding upstream fixed release is PHP 8.3.37.

What should I do if my package manager does not show the fixed version?

Check the repository configuration and vendor security advisories. Some distributions backport security fixes without changing the upstream version number. Check the vendor's package changelog.

Are PHP 8.1 and earlier covered?

They are not included in the November 19 fixed-version list. Older end-of-life branches should be migrated to a supported PHP branch immediately.

Conclusion: Patch PHP Before the Next Production Incident

The November 19, 2026 PHP security releases are important for developers and server administrators because the affected components sit directly in the application execution path.

PHP-FPM, session handling, the PHP engine, SOAP and other extensions all deserve attention during the upgrade process.

For Laravel developers, the practical approach is straightforward: identify the actual runtime, install the fixed package, verify PHP-FPM, run Composer and application tests, restart long-running workers and monitor the deployment.

Do not wait for a framework upgrade to patch the underlying PHP runtime.

Have you updated your PHP production server to the November 2026 security releases? Share your PHP version and deployment environment in the comments.


Official Sources and Security Advisories

  1. PHP 8 Official Changelog — PHP Development Team, November 19, 2026 release entries.
  2. PHP 2026 News Archive — Official release announcements.
  3. PHP Releases Updates for Multiple Vulnerabilities — NHS England Digital, November 19, 2026.
  4. PHP Foundation Security Releases — November 19, 2026 — AWS Security Bulletin, November 19, 2026.
  5. PHP Supported Versions — Official PHP maintenance information.
  6. Laravel 13 Deployment Documentation — Official Laravel documentation.
  7. PHP-FPM Installation and Configuration — Official PHP documentation.

Post a Comment

NextGen Digital Welcome to WhatsApp chat
Howdy! How can we help you today?
Type here...