Back up your application and configuration, and test in staging before applying a PHP vulnerability update. Use only the package source and branch actually installed on your system.
Vendor package status
| Branch / source | Confirmed package | PHP2Shell · Status |
|---|---|---|
| PHP 8.5 ubuntu-archive · 26.04 | 8.5.4-0ubuntu1.5 Source ↗ | Fix confirmed Checked at: 2026-10-30 19:15:48 UTC |
| PHP 8.5 ubuntu-archive · 26.10 | 8.5.9-0ubuntu2.1 Source ↗ | Fix confirmed Checked at: 2026-10-30 19:15:48 UTC |
| PHP 8.5 ondrej-ppa | See vendor advisory Source ↗ | Fix confirmed Checked at: 2026-10-22 03:28:58 UTC |
| PHP 8.5 sury · Ubuntu 24.04 (noble) · arm64 | Package revisions by systemUbuntu 24.04 (noble) · arm64 · php8.5-cli Ubuntu 24.04 (noble) · arm64 · php8.5-common Ubuntu 24.04 (noble) · arm64 · php8.5-fpm Source ↗ | Fix confirmed Checked at: 2026-11-21 17:33:16 UTC |
| PHP 8.5 sury · Ubuntu 22.04 (jammy) · arm64 | Package revisions by systemUbuntu 22.04 (jammy) · arm64 · php8.5-cli Ubuntu 22.04 (jammy) · arm64 · php8.5-common Ubuntu 22.04 (jammy) · arm64 · php8.5-fpm Source ↗ | Fix confirmed Checked at: 2026-11-21 17:32:56 UTC |
A confirmed advisory records vendor publication. It does not inspect your machine. Status not confirmed means no verified package threshold is recorded for that combination.
Which source installed your PHP?
Ubuntu archive packages and third-party repositories have different revisions. The same upstream number can refer to different patch states.
This PHP vulnerability guide does not infer package publication from a source upload, a planned update or a release-candidate tag.
PHP 8.5: update, restart and verify
ubuntu-archive · Ubuntu 26.04
Follow the vendor security advisory for this PHP vulnerability. Confirm the complete installed package and the serving runtime.
Checked at 2026-10-30 19:15:48 UTC · Vendor source ↗
Update → Restart → Verify
Untested — follow vendor docs. Executable commands are withheld because this exact environment has not been tested. Back up and test in staging, apply the vendor update, restart the PHP runtime, and compare the installed package with the advisory.
Open vendor instructions ↗ubuntu-archive · Ubuntu 26.10
Follow the vendor security advisory for this PHP vulnerability. Confirm the complete installed package and the serving runtime.
Checked at 2026-10-30 19:15:48 UTC · Vendor source ↗
Update → Restart → Verify
Untested — follow vendor docs. Executable commands are withheld because this exact environment has not been tested. Back up and test in staging, apply the vendor update, restart the PHP runtime, and compare the installed package with the advisory.
Open vendor instructions ↗ondrej-ppa
Launchpad Jammy and Noble binary indexes contain the fixed supported releases for amd64 and arm64. See the architecture table for exact revisions; EOL backport contents require separate evidence.
Checked at 2026-10-22 03:28:58 UTC · Vendor source ↗
Update → Restart → Verify
Untested — follow vendor docs. Executable commands are withheld because this exact environment has not been tested. Back up and test in staging, apply the vendor update, restart the PHP runtime, and compare the installed package with the advisory.
Open vendor instructions ↗sury · Ubuntu Ubuntu 24.04 (noble) · arm64
The current official Sury ARM64 binary index lists the package revisions below. Their downloaded SHA-256 values match the index, and the common package changelog names both PHP2Shell CVEs. The exact current builds were not installed or restarted in this check; earlier runtime screenshots cover prior builds. For upstream end-of-life branches, confirm vendor support.
Checked at 2026-11-21 17:33:16 UTC · Vendor source ↗
Update → Restart → Verify
Untested — follow vendor docs. Executable commands are withheld because this exact environment has not been tested. Back up and test in staging, apply the vendor update, restart the PHP runtime, and compare the installed package with the advisory.
Open vendor instructions ↗sury · Ubuntu Ubuntu 22.04 (jammy) · arm64
The current official Sury ARM64 binary index lists the package revisions below. Their downloaded SHA-256 values match the index, and the common package changelog names both PHP2Shell CVEs. The exact current builds were not installed or restarted in this check; earlier runtime screenshots cover prior builds. For upstream end-of-life branches, confirm vendor support.
Checked at 2026-11-21 17:32:56 UTC · Vendor source ↗
Update → Restart → Verify
Untested — follow vendor docs. Executable commands are withheld because this exact environment has not been tested. Back up and test in staging, apply the vendor update, restart the PHP runtime, and compare the installed package with the advisory.
Open vendor instructions ↗Repository publication by architecture
These PHP vulnerability package observations describe the exact binary index, not a tested installation. For end-of-life branches, a new package date alone does not prove the contents of a backported security fix. Before choosing a PHP vulnerability update, match your operating-system release and architecture. Do not switch repositories solely because another architecture has a newer build.
sury · jammy · amd64
Checked at: 2026-10-21T23:22:27.074675+00:00 · Repository index ↗
| Package | Published revision |
|---|---|
| php7.4-cli | 1:7.4.33-31+0~20261021.121+ubuntu22.04~1.gbpe9c428 |
| php8.0-cli | 1:8.0.30-25+0~20261021.88+ubuntu22.04~1.gbpabebea |
| php8.1-cli | 8.1.34-9+0~20261021.82+ubuntu22.04~1.gbp4e430a |
| php8.2-cli | 8.2.35-1+0~20261021.94+ubuntu22.04~1.gbp8bff78 |
| php8.3-cli | 8.3.36-1+0~20261021.88+ubuntu22.04~1.gbp250f7c |
| php8.4-cli | 8.4.27-1+0~20261021.57+ubuntu22.04~1.gbp7636b9 |
| php8.5-cli | 8.5.12-1+0~20261021.27+ubuntu22.04~1.gbp1a3e8a |
sury · jammy · arm64
Checked at: 2026-11-21T17:33:04.964798+00:00 · Repository index ↗
| Package | Published revision |
|---|---|
| php7.4-cli | 1:7.4.33-38+debsuryorg22.04.1+1 |
| php8.0-cli | 1:8.0.30-25+0~20261021.88+ubuntu22.04~1.gbpabebea |
| php8.1-cli | 8.1.34-15+debsuryorg22.04.1+1 |
| php8.2-cli | 8.2.36-3+debsuryorg22.04.1+1 |
| php8.3-cli | 8.3.37-3+debsuryorg22.04.1+1 |
| php8.4-cli | 8.4.28-3+debsuryorg22.04.1+1 |
| php8.5-cli | 8.5.13-3+debsuryorg22.04.1+1 |
sury · noble · amd64
Checked at: 2026-10-21T23:22:27.205680+00:00 · Repository index ↗
| Package | Published revision |
|---|---|
| php7.4-cli | 1:7.4.33-31+0~20261021.121+ubuntu24.04~1.gbpe9c428 |
| php8.0-cli | 1:8.0.30-25+0~20261021.88+ubuntu24.04~1.gbpabebea |
| php8.1-cli | 8.1.34-9+0~20261021.82+ubuntu24.04~1.gbp4e430a |
| php8.2-cli | 8.2.35-1+0~20261021.94+ubuntu24.04~1.gbp8bff78 |
| php8.3-cli | 8.3.36-1+0~20261021.88+ubuntu24.04~1.gbp250f7c |
| php8.4-cli | 8.4.27-1+0~20261021.57+ubuntu24.04~1.gbp7636b9 |
| php8.5-cli | 8.5.12-1+0~20261021.27+ubuntu24.04~1.gbp1a3e8a |
sury · noble · arm64
Checked at: 2026-11-21T17:33:29.356842+00:00 · Repository index ↗
| Package | Published revision |
|---|---|
| php7.4-cli | 1:7.4.33-38+debsuryorg24.04.1+1 |
| php8.0-cli | 1:8.0.30-32+debsuryorg24.04.1+1 |
| php8.1-cli | 8.1.34-15+debsuryorg24.04.1+1 |
| php8.2-cli | 8.2.36-3+debsuryorg24.04.1+1 |
| php8.3-cli | 8.3.37-3+debsuryorg24.04.1+1 |
| php8.4-cli | 8.4.28-3+debsuryorg24.04.1+1 |
| php8.5-cli | 8.5.13-3+debsuryorg24.04.1+1 |
ppa · jammy · amd64
Checked at: 2026-10-21T23:22:28.451217+00:00 · Repository index ↗
| Package | Published revision |
|---|---|
| php7.4-cli | 1:7.4.33-31+ubuntu22.04.1+deb.sury.org+1 |
| php8.0-cli | 1:8.0.30-25+ubuntu22.04.1+deb.sury.org+1 |
| php8.1-cli | 8.1.34-9+ubuntu22.04.1+deb.sury.org+1 |
| php8.2-cli | 8.2.35-1+ubuntu22.04.1+deb.sury.org+1 |
| php8.3-cli | 8.3.36-1+ubuntu22.04.1+deb.sury.org+1 |
| php8.4-cli | 8.4.27-1+ubuntu22.04.1+deb.sury.org+1 |
| php8.5-cli | 8.5.12-1+ubuntu22.04.1+deb.sury.org+1 |
ppa · jammy · arm64
Checked at: 2026-10-21T23:22:28.653871+00:00 · Repository index ↗
| Package | Published revision |
|---|---|
| php7.4-cli | 1:7.4.33-31+ubuntu22.04.1+deb.sury.org+1 |
| php8.0-cli | 1:8.0.30-25+ubuntu22.04.1+deb.sury.org+1 |
| php8.1-cli | 8.1.34-9+ubuntu22.04.1+deb.sury.org+1 |
| php8.2-cli | 8.2.35-1+ubuntu22.04.1+deb.sury.org+1 |
| php8.3-cli | 8.3.36-1+ubuntu22.04.1+deb.sury.org+1 |
| php8.4-cli | 8.4.27-1+ubuntu22.04.1+deb.sury.org+1 |
| php8.5-cli | 8.5.12-1+ubuntu22.04.1+deb.sury.org+1 |
ppa · noble · amd64
Checked at: 2026-10-21T23:22:28.672436+00:00 · Repository index ↗
| Package | Published revision |
|---|---|
| php7.4-cli | 1:7.4.33-31+ubuntu24.04.1+deb.sury.org+1 |
| php8.0-cli | 1:8.0.30-25+ubuntu24.04.1+deb.sury.org+1 |
| php8.1-cli | 8.1.34-9+ubuntu24.04.1+deb.sury.org+1 |
| php8.2-cli | 8.2.35-1+ubuntu24.04.1+deb.sury.org+1 |
| php8.3-cli | 8.3.36-1+ubuntu24.04.1+deb.sury.org+1 |
| php8.4-cli | 8.4.27-1+ubuntu24.04.1+deb.sury.org+1 |
| php8.5-cli | 8.5.12-1+ubuntu24.04.1+deb.sury.org+1 |
ppa · noble · arm64
Checked at: 2026-10-21T23:22:28.910028+00:00 · Repository index ↗
| Package | Published revision |
|---|---|
| php7.4-cli | 1:7.4.33-31+ubuntu24.04.1+deb.sury.org+1 |
| php8.0-cli | 1:8.0.30-25+ubuntu24.04.1+deb.sury.org+1 |
| php8.1-cli | 8.1.34-9+ubuntu24.04.1+deb.sury.org+1 |
| php8.2-cli | 8.2.35-1+ubuntu24.04.1+deb.sury.org+1 |
| php8.3-cli | 8.3.36-1+ubuntu24.04.1+deb.sury.org+1 |
| php8.4-cli | 8.4.27-1+ubuntu24.04.1+deb.sury.org+1 |
| php8.5-cli | 8.5.12-1+ubuntu24.04.1+deb.sury.org+1 |
If you cannot update immediately
Temporary mitigation is not a complete fix. A PHP vulnerability affecting web requests needs a verified runtime update. Have your administrator assess the availability and operational impact of these measures.
Disable session upload progress before request parsing
session.upload_progress.enabled = OffSet this in the configuration used by the website runtime, before request parsing, then restart every serving PHP worker. Do not rely on application-level configuration changes or FPM per-directory overrides. Disabling it removes PHP's built-in session upload-progress feature.
Blocks the confirmed session upload-progress paths of CVE-2026-109619 only. It does not fix CVE-2026-109618 or every stale-state path. Test the application after changing configuration. A successful configuration check does not demonstrate that exploitation is impossible.
What about the other session settings?
The cleanup, strict-mode, cookie-only and HttpOnly settings sometimes shared alongside this measure concern session housekeeping or general session hardening. PHP's advisory does not identify them as fixes for these two vulnerabilities. Do not mark a server patched after applying that five-line snippet.
- For the out-of-memory PHP vulnerability, the advisory describes administratively removing the memory limit and restricting request sizes. Removing the memory limit can exhaust host resources and is still incomplete.
- For the branch covered by the advisory, PHP also lists disabling fatal-error backtraces. Correct recurring startup configuration warnings and restart all workers.
- Read the exact settings and limitations in the PHP security advisory before making further configuration changes.
Checked at 2026-10-21 23:25:00 UTC. PHP stale-state advisory: mitigation limits ↗ PHP session configuration reference ↗
After the PHP security update
Test critical requests, application logs, scheduled tasks and background workers. Keep a record of the package source and revision used to resolve this PHP vulnerability. If the branch is end-of-life, plan the next supported-version migration.
Plan a supported-version migration →Common questions
Why does my PHP version still look old after updating?
Distribution vendors often backport a PHP vulnerability fix without changing the upstream version. Match the installed package revision to your vendor advisory and confirm the web runtime.
Does updating command-line PHP also update my website?
It depends on your installed runtimes. The command line, PHP-FPM and a hosting panel can use different binaries. Verify the runtime serving each website after the PHP security update.
Do I need to restart PHP workers?
Yes. Follow the vendor restart procedure for all serving workers, including PHP-FPM, Apache and long-running application workers. A package update alone does not prove every process is running the new runtime.