PHP Security Update: What Was Fixed in October, Who is Exposed, and What to Do Today!

Share -

Key Takeaways

  • Patch the October release first. PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35 fixed two critical remote code execution flaws that attackers have already tried to exploit.
  • A second round is scheduled for 19 November (Today). PHP says the releases cover all supported versions, and the worst issue is rated critical.
  • Until then, turn off session upload progress. Set session.upload_progress.enabled=0 and restart your workers. It covers one flaw only.
  • Know where PHP runs. Servers, containers, CI images, staging, and forgotten internal tools all count.
  • Make patching routine. An inventory, a staging copy, and an owner turn the next update into a normal Tuesday.

 

If your website, store, or app runs on PHP, this week’s security update belongs on today’s task list, not next sprint’s.

PHP’s maintainers have scheduled security releases for 19 November. They cover all supported versions, and the most serious issue is rated critical. The update arrives weeks after an October emergency fix for two critical flaws that attackers have already tried to exploit. If you have not applied that earlier fix, it is your first job.

You are reading this guide because it’s a today’s read and it explains what was fixed last time, who is exposed, and what to do in the next hour, the next week, and the next month. It is a PHP security update you can act on right away. 

The PHP Security Update: What Happened, in Plain Words

The story has four dates worth knowing:

  • 21 October:  PHP shipped emergency patches for two critical remote code execution flaws, known together as PHP2Shell. The fixed versions are 8.5.12, 8.4.27, 8.3.36, and 8.2.35.
  • 23 October: PHP published an informational advisory about a third issue, CVE-2026-115560, with no patch yet and a one-line workaround.
  • October: PHP also patched CVE-2026-111497, a critical flaw in the Brotli decoder library.
  • 18 November: PHP’s maintainers announced that security releases would follow on 19 November, between 14:00 and 14:30 UTC (7:30 to 8:00 pm IST), as part of the regular four-week release cycle.

As The Hacker News reported, the maintainers say the new releases address flaws affecting all supported PHP versions. They rate the highest severity as critical, but say the critical issues need a non-default or uncommon setup. No further details were disclosed.

One note on timing. This article was written before the release window opened, so it does not list the new version numbers. Check the PHP site for the exact numbers once the releases are out.

What Each Fix Means for You

PHP2Shell: two critical flaws, already patched

Tracked as CVE-2026-109618 and CVE-2026-109619, these flaws let an attacker with no account run code on a server by sending crafted web requests. Both are rated critical. The fix is PHP 8.5.12, 8.4.27, 8.3.36, or 8.2.35, or anything newer on the same branch.

The attackers moved fast. Amazon’s honeypots logged an exploit attempt on 17 October, four days before disclosure, and Cloudflare reported attempts climbing into the millions within days. 

Confirmed compromises have been limited so far, mostly against management interfaces and security gateways, and Hunt.io found 616 PHP2Shell-related files across several hosts by 30 October. 

One researcher quoted by The Register said some public proofs of concept work against default mod_php setups but not PHP-FPM. 

Do not lean on that detail. Attackers target whatever is reachable and unpatched.

The session upload progress flaw: CVE-2026-115560

This remote code execution flaw only works when three things are true at once:

  1. Your configuration sets session.serialize_handler to php_binary or php_serialize.
  2. Your application code switches it to php with ini_set() before calling session_start().
  3. Session upload progress is enabled, which is the default.

PHP calls this setup unlikely in practice, and an application that never changes the handler while running is not exposed through this path. 

PHP says the fix will arrive in a regular release, and the 19 November (Today) one is expected to include it, though that is not confirmed. 

Until then, the stopgap is session.upload_progress.enabled=0, followed by a restart of your PHP workers so the change takes effect.

The Brotli flaw: CVE-2026-111497

This is a critical out-of-bounds write in the Brotli decoder library, which could lead to arbitrary code execution. In simple words, it is a memory error that an attacker could use to run their own code. PHP patched it in October. The reports I read describe attacks against the two PHP2Shell flaws, and none reported for the session flaw.

What “all supported versions” means

PHP supports several branches at once. Based on the October releases, those are 8.2, 8.3, 8.4, and 8.5, with the older two in security-only support. Anything older, including PHP 7 and 8.1, no longer receives fixes. The supported versions page lists the current dates.

PHP security status board outlining October vulnerability fixes, upcoming November 19 security releases, PHP2Shell and Brotli decoder flaws, and recommended actions for updating and securing PHP environments.

Are You Exposed? A Five-Minute Check

  1. List every place PHP runs: Production servers, containers, CI images, staging, shared hosting, and the forgotten internal tool someone built years ago.
  2. Check the version on each:  Run php -v, and check the PHP-FPM or Apache module version too, because the command line can differ from the web service.
  3. Compare with the fixed versions:  Anything below the October releases is exposed to PHP2Shell.
  4. Check the session conditions:  Search your code for ini_set calls on session.serialize_handler, and check your php.ini and FPM pool settings.
  5. Mark what faces the internet: Public sites, APIs, and admin panels go first.

Packaged PHP deserves one extra note. A Linux distribution or hosting provider may backport a fix without changing the visible version number, so the provider’s own security notice matters as much as the number you see.

What to Do: Now, After the Release, and This Week

Now, before the 19 November release

  • Install the October versions if you have not. This is the fix for PHP2Shell.
  • Set session.upload_progress.enabled=0 in your php.ini or FPM pool, then restart the workers. If you already did this, you need nothing more until the release.
  • Confirm the setting on every host, container image, and pool, including staging.
  • Keep management interfaces off the open internet.

After the release

  • Update each branch to its newest point release.
  • Test in staging first. Point releases within a branch are meant for fixes, but your tests should still run.
  • Roll out to public-facing systems first. Rebuild container and CI base images, then restart PHP-FPM or Apache.
  • Verify the running service reports the new version, not just the command line.
  • Keep upload progress off unless your app needs the progress feature.

This week

  • Look for signs of trouble: unexpected PHP files in upload or temp folders, odd processes started by the web server user, unfamiliar outbound connections, and new admin accounts.
  • If you find any, treat it as an incident: isolate the host, keep the logs, and rotate credentials.
  • Write down what you changed and when. Auditors and clients will ask.

If You Cannot Patch Today

Turning off session upload progress is an interim setting, not a fix. PHP gave it as the stopgap for the session flaw, and the October advisory also named it as a mitigation for CVE-2026-109619. It does not replace the October update. If a patch really has to wait, reduce your exposure in the meantime:

  • Put admin tools and management interfaces behind a VPN or an IP allow list.
  • Use a web application firewall in front of public PHP apps.
  • Watch logs more closely, and set a firm date for the update.

These steps buy a little time. They are not a plan.

If You Run WordPress, Drupal, or Another PHP Site

Most site owners do not control PHP directly. Their host does. Ask your host three things: which PHP version is my site on, when will it be on the fixed version, and will you tell me when it is done?

On your own servers, test your CMS core, themes, and modules on the new point release in staging before you switch. If you are on PHP 8.1 or older, the jump to a supported branch needs more testing, and it is often the moment to ask whether the site itself is due for work. The signs, costs, and options for modernizing a legacy system are worth a read before you decide how big that step should be, and platform modernization covers the larger moves.

What to Tell Leadership

You may need a short update for people who do not read security advisories. Keep it to four lines:

  • What happened? PHP, which runs many of our sites, has security flaws that let outsiders run code on servers.
  • Why does it matter? Some have been used in real attacks, and another set of fixes arrives on 19 November.
  • What are we doing? Updating internet-facing systems first, with a temporary setting where needed.
  • When will it be done? Give a date, and name the person responsible.

Make Patching Boring: Habits That Outlast This Update

The best response to the next PHP advisory is one nobody notices. These habits get you there:

  • Keep an inventory: One list of every PHP application, its version, its owner, and whether it faces the internet. An architecture review is a fast way to build the first one.
  • Pin and rebuild: Pin PHP versions in container images, and rebuild them on a schedule.
  • Mirror production in staging: A realistic copy makes updates safe to test.
  • Automate tests: If a point release needs a week of manual checking, it will be skipped.
  • Match PHP’s rhythm: New releases come on a regular four-week cycle, so reserve a patch window to fit it.
  • Track end-of-life dates: Put the end of support for each branch on the calendar.
  • Assign watchers: Someone has to read the advisories, whether that is your team or ongoing support.

If every update feels like a project, the real issue is usually technical debt slowing your release cycle, and no single patch will fix that.

Conclusion: Patch First, Then Make It Routine

Order matters in this PHP security update. Install the October versions, turn off session upload progress until the next release, update every branch when the 19 November (Today)versions land, and then use the experience to fix how you patch. The flaws will fade from the news, but the habit stays useful.

Not sure which of your PHP applications are exposed, or where to begin? Book a Discovery Call, bring your list of sites and servers, and we will help you work out what comes first.

Act now and protect your websites before a minor issue turns into a major problem.

 

Frequently Asked Questions

Is the 19 November PHP update critical?

PHP’s maintainers say the highest severity is critical, but that critical issues need a non-default or uncommon setup. Treat it as urgent for internet-facing systems, and schedule it promptly for internal ones.

I already installed the October update. Am I done?

That update fixed the PHP2Shell flaws. The session upload issue, CVE-2026-115560, was handled with a setting until the next regular release, and the 19 November release is expected to include its fix. Update again, and keep session upload progress off until you have.

Does turning off session upload progress fully protect me?

No. It is an interim setting that PHP gave as a stopgap. It does not replace the October update that fixes PHP2Shell, or the 19 November release.

Which PHP version should I run?

A supported branch on its newest point release. Prefer the newest branch your application supports, because older branches receive only security fixes and then stop.

Will updating break my site?

Point releases within a branch rarely do, but test in staging first. Check that your CMS, themes, and modules support the version, then roll out to public-facing systems first.

What if I still run PHP 7 or PHP 8.1?

Those versions no longer receive fixes, so these patches will not reach them. Plan a move to a supported branch, and treat it as urgent if the system faces the internet.

Shikha Kumar
The Author
Shikha Kumar

Co-Founder & Director

Read More Blogs

3D illustration of PHP security infrastructure featuring a red PHP shield, server stack, vulnerability warning indicators, and connected security elements on a clean white background, representing PHP security updates and vulnerability protection. Patch Management, Website Security

Key Takeaways Seven of the 18 fixes are rated Critical at 9.2. Four are rated High and six Moderate, and the last is a library upgrade with no advisory of its own. PHP says the critical ones need a non-default configuration or an uncommon setup. Each critical flaw has its own set of conditions. Persistent […]

AI & Enterprise Strategy, Digital Marketing

Key Takeaways AI-enabled is a label, not a standard. Judge an agency on its real workflow, not on the words in its pitch. A good AI-enabled agency gives the volume work to AI and the judgment to people. Scanning, drafting, testing and reporting are automated. Strategy, brand and approvals are not. Human oversight is the […]

Healthcare AI agent concept featuring a medical professional using a tablet alongside an AI-powered assistant, with connected workflow elements representing patient intake, EHR records, verified tools, and human approval AI & Enterprise Strategy, Healthcare Technology

Key Takeaways Start with administrative work, not diagnosis. Patient access, intake, and prior authorization support have high volume and clear rules, and they do not need clinical judgment. The model is the easy part. Identity, data paths, and sign-off decide whether an agent gets through a security review. HIPAA compliant AI agents need a BAA […]

LN Webworks Logo
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.