Skip to content
Start a project
Blog details

PHP Security Update for Egypt and the Gulf

PHP Security Update for Egypt and the Gulf

Short answer: On 19 November 2026 the PHP project published security releases for every supported branch: PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13. Each official announcement calls the build a security release and encourages every user of that branch to upgrade. The official changelogs list session, PHP-FPM, CGI and date-extension fixes, including three issues that the official php-src advisories label Critical: a session serializer mismatch (CVE-2026-115560), PHP-FPM request smuggling through an unread HTTP request body (CVE-2026-129289), and partially overwritten session files (CVE-2026-126714). This is a new release set, not a repeat of the October PHP2Shell fixes. If a Laravel app, WordPress site or custom PHP system in Egypt or the Gulf is still below those version numbers, patch the branch you already run, then confirm the running version.

By Mohamed Samy, senior backend developer specializing in Laravel/PHP, with seven years of experience. Published: 20 November 2026. Updated: 20 November 2026.

What PHP released on 19 November 2026

A day earlier, on 18 November 2026, the PHP security team announced upcoming security releases for Thursday, 19 November 2026, between 14:00 and 14:30 UTC. The notice said the releases would address vulnerabilities affecting all supported PHP versions, that the highest severity was CRITICAL, and that users should prepare to upgrade promptly once the builds were available. It also said the issues rated CRITICAL require either non-default configuration or uncommon setups, and that technical details and fixed version numbers would be published with the releases.

Those versions are now official. The PHP development team announced:

Branch Official security release Official announcement
PHP 8.2 8.2.36 PHP 8.2.36 release announcement
PHP 8.3 8.3.37 PHP 8.3.37 release announcement
PHP 8.4 8.4.28 PHP 8.4.28 release announcement
PHP 8.5 8.5.13 PHP 8.5.13 release announcement

Each announcement uses the same wording: this is a security release, and all users of that branch are encouraged to upgrade. Source downloads are on the official PHP downloads page. The list of changes is in the official PHP 8 ChangeLog.

The changelog entries do not carry the same CVE list on every branch. Counting only the official CVE identifiers in those 19 November entries: 8.5.13 lists 18 CVE identifiers, 8.4.28 lists 14, 8.3.37 lists 13, and 8.2.36 lists 12. Twelve of those identifiers appear on all four security releases, including the three Critical advisories named above. I am not going to flatten that into one invented “18 bugs in every version” figure. Use the official changelog for the branch you actually run.

The 18 November wording about non-default configuration or uncommon setups is still on the official notice, and I will not overwrite it with a third-party blog. What I will add, because it is also official and was published with the releases, is this: the 19 November php-src advisories describe more specific conditions than that one sentence. Some of those conditions include shared session storage, persistent PHP-FPM connections, and the default files session handler. The official recommended action in each of those advisories is still to upgrade to the fixed release for your branch. Use the official advisory for your stack when you judge urgency, not a summary written somewhere else.

The same day, PHP also published PHP 8.6.0 as a major language update. The official 8.6.0 changelog lists the same security CVE identifiers that appear in 8.5.13. That does not make 8.6 the required security path. If you were not already planning a major-version upgrade, stay on the security release for the branch you run today.

Isometric navy scene of a charcoal platform with gold lines from a charcoal box to a gold padlock and a stack of gold plates

How this differs from the October PHP2Shell release

In October the PHP project published a different security set: 8.2.35, 8.3.36, 8.4.27 and 8.5.12, for CVE-2026-109618 and CVE-2026-109619. We covered that release in our October PHP2Shell security update. If you applied those builds, that work still stands. It does not replace this November set.

The official advisory for CVE-2026-115560 states that the session serializer mismatch is a configuration-dependent deserialization issue, separate from the stale global state vulnerability in CVE-2026-109619. Treat the two releases as two official patches, not as one story told twice. A server that stopped at the October versions is still behind the 19 November announcements.

I am not going to invent a claim that this November set is already being exploited. The official pages I used for this article do not state that.

What the official advisories actually say

I am keeping this at the official summary level. The official fix is the version bump. I will not walk through exploit steps.

CVE-2026-115560, in the official php-src advisory, is titled “Session serializer mismatch can lead to remote code execution” and is labelled Critical. The official summary is that session upload progress can write data with one session serialization format and a later read can use another, so a mismatched decoder may treat part of a session key as serialized object data. The official advisory says the mismatch can arise when an application changes the session serialize handler at runtime, and that it can also arise between separate applications, pools, virtual hosts or command-line processes that share a session store with different settings. Official affected versions are PHP before 8.2.36, 8.3 before 8.3.37, 8.4 before 8.4.28 and 8.5 before 8.5.13. The official patched versions are 8.2.36, 8.3.37, 8.4.28 and 8.5.13. The advisory also says session upload progress was introduced in PHP 5.4.0, so older unsupported releases may also be affected.

The official recommended action is to upgrade. The same advisory says the fix disables session upload progress by default, and that an explicit setting overrides the new default, so you should check existing configuration after the upgrade. If the feature is still enabled, official guidance is that every reader and writer of that session data must use the same serialize handler; the fix does not enforce matching serializers across separate configurations. Official text also says that calling ini_set() from the application is too late if you are turning the feature off, and that the setting should be applied administratively before request input is processed.

CVE-2026-129289 is titled “PHP-FPM request smuggling through an unread HTTP request body” and is also labelled Critical, with the same official patched versions. The official summary is that PHP can fail to discard unread bytes from an HTTP request body before reusing a persistent PHP-FPM or LSAPI connection, and that in PHP-FPM an unauthenticated attacker can make those bytes form a separate FastCGI request and execute attacker-controlled PHP code with the privileges of the worker. The official recommended action is, again, to upgrade. Until then, the official advisory says to disable backend connection reuse on the affected front end: leave nginx fastcgi_keep_conn disabled, leave Apache enablereuse disabled, or configure another FastCGI front end to close its backend connection after every request. It also says not to expose PHP-FPM or LSAPI listeners directly to untrusted networks. That is official temporary guidance, not a substitute for the patched release.

CVE-2026-126714 is titled “Partially overwritten session files can lead to remote code execution,” labelled Critical, and patched in the same official versions. The official summary is that the file-based session handler can leave a session file containing parts of two different serialized sessions if a write is interrupted, and that this affects the files session save handler, which is PHP’s default. The official advisory says the issue is not limited to session upload progress. Official recommended action: upgrade. Official temporary notes include disabling session upload progress if the feature is not needed, and they state clearly that the PHP update remains the recommended fix for applications using the built-in files handler.

Those three advisories are not the whole changelog. Official entries also include, among others, a timezone cache use-after-free that can lead to remote code execution, PHP-FPM and CGI fixes, a PHAR OpenSSL signature bypass, and SOAP and HTTP issues. Some of those official identifiers appear only on newer branches. Read the changelog section for your version rather than assuming 8.2 and 8.5 were given the same list.

Who should act in Egypt and the Gulf

If you run PHP 8.2, 8.3, 8.4 or 8.5 below the official fixed version for that branch, this release applies to you. That includes custom Laravel applications, WordPress sites that depend on the server’s PHP package, and other custom PHP systems hosted in Egypt or the wider Gulf.

If a hosting company or a control panel installed PHP for you, ask them which official php.net release the running package actually includes, and whether PHP-FPM or Apache was restarted after the package was updated. I will not invent a rule that the version string always matches the php.net number, and I will not invent a rule that it never does. Confirm it with the host and against the official announcement for your branch.

If you are still on PHP 8.1 or older, there is no official 19 November security release for that branch on php.net. The official CVE-2026-115560 advisory says older unsupported releases may also be affected. The official supported versions page says an end-of-life release is no longer supported, and that users of that release should upgrade as soon as possible, as they may be exposed to unpatched security vulnerabilities. Official security support for PHP 8.2 itself lasts until 31 December 2026. If you are already planning that longer move, our PHP 8.2 end-of-life and Laravel upgrade guide stays the right companion to this patch.

If the same server also runs MySQL, check the MySQL security update for Egypt and the Gulf as well.

Six steps to apply the 19 November 2026 PHP security update

Step 1: Confirm the PHP version that actually serves the site

Check the PHP version of the process that serves the website or API, not only a developer laptop. Compare that number with the official fixed release for the same branch: 8.2.36, 8.3.37, 8.4.28 or 8.5.13. If a hosting panel or a packaged build is in use, ask which official PHP release that package includes.

Step 2: Choose the official fixed release for your current branch

Stay on the branch you already run unless you already have a planned major upgrade. The official path for this security update is 8.2.36, 8.3.37, 8.4.28 or 8.5.13, not a jump to PHP 8.6 solely to obtain the same official fixes.

Step 3: Take a backup you can restore

Take a backup of the application files, the environment configuration, and the database, and store it off the same server. Confirm that you can restore it before you change the runtime.

Step 4: Upgrade from an official or vendor-patched package

Install the official build or the vendor package that includes the official fixed release for your branch. Use the official PHP downloads page or your distribution’s patched package. This is not the moment to move a live application onto an untested major version.

Step 5: Restart the runtime and verify the version

Restart PHP-FPM, Apache, or the other process that actually loads PHP. Then confirm that the version serving the site matches the official announcement. A package that is installed but not loaded in the running worker is not the patch.

Step 6: Recheck session and PHP-FPM settings after the patch

After the upgrade, check whether session upload progress is explicitly enabled, because the official CVE-2026-115560 advisory says an explicit setting overrides the new default. If you still need the feature, official guidance is that every reader and writer of that session store must use the same serialize handler. If you use PHP-FPM, review whether the front end reuses backend connections, following the official CVE-2026-129289 advisory, and do not expose the PHP-FPM listener to untrusted networks.

PHP 8.6 is a separate decision

PHP 8.6.0 is a major update, with official new language features and an official migration guide from PHP 8.5.x to PHP 8.6.x. I will not treat that guide as a reason to skip the 8.2, 8.3, 8.4 or 8.5 security release. If your roadmap already includes 8.6, read the official migration guide, run your test suite, and apply that upgrade as its own project. If you are also planning a framework move, our Laravel 13 upgrade guide for business apps is the place for that work, not a shortcut around this patch.

Soft next step

Golden Code does not sell a ready-made PHP patch package. If you want help confirming the running version, applying the official 19 November security release, and checking the session and PHP-FPM settings that the official advisories call out, send Golden Code a short note for a custom technical quote.

FAQ

I already applied the October PHP2Shell update. Do I still need this one?

Yes. The October releases fixed CVE-2026-109618 and CVE-2026-109619 in 8.2.35, 8.3.36, 8.4.27 and 8.5.12. The official 19 November announcements are a later security set: 8.2.36, 8.3.37, 8.4.28 and 8.5.13. The official CVE-2026-115560 advisory describes that issue as separate from CVE-2026-109619.

Can I stay on PHP 8.2 after this patch?

The official 8.2.36 build is the security release for that branch. Official security support for PHP 8.2 lasts until 31 December 2026. After that date, the official supported versions page says end-of-life releases are no longer supported and should be upgraded.

Is upgrading to PHP 8.6 required to get this security update?

No. Official security releases were published for PHP 8.2, 8.3, 8.4 and 8.5. PHP 8.6.0 is an official major update published the same day, and its changelog also lists the security fixes, but it is not the required path for this patch.

My site runs on a managed host. What should I ask them?

Ask which official PHP release the running package includes, whether that matches 8.2.36, 8.3.37, 8.4.28 or 8.5.13, and whether PHP-FPM or Apache was restarted so the new binary is actually serving the site.

Does Golden Code sell a fixed PHP patch package?

No. Golden Code does custom development and issues a custom technical quote after it has seen the current PHP version, the hosting setup, and the application that has to keep running.

If I disable session upload progress, can I postpone the upgrade?

No. Official advisories recommend upgrading to the fixed release for your branch. Official temporary settings, including disabling session upload progress, are described as additional or temporary measures, and the official advisory for partially overwritten session files says that issue is not limited to upload progress. The PHP update remains the recommended fix.

Sources

Website security service

Have a website or app in mind?

Book a free consultation and get a clear plan, cost and timeline.
Have a website or app in mind?
Chat with us on WhatsApp