cve.bz

CVE-2026-115560 (PHP2Shell) Session serializer mismatch can lead to remote code execution

9.2 criticalEPSS 71%

Known as PHP2Shell, PHPocalypse

Critical (9.2) in php group php. EPSS 71% estimated probability of exploitation activity in the next 30 days.

On this page
Session serializer mismatch can lead to remote code execution. Session upload progress, when enabled, can store attacker-controlled data in a session key using the php_binary or php_serialize session serializer. If the same session is later read with the php serializer, because session.serialize_handler is changed at runtime or differs between applications sharing a session store, bytes inside the key can be passed to the unserializer. A remote attacker able to submit a multipart upload can inject objects, which may lead to code execution when the reading application contains a suitable gadget chain, or to session corruption or denial of service. This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.

Severity

CVSS 4.0

9.2 critical
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
71% estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-11-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-20 Improper Input Validation
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A05:2025 Injection, A08:2025 Software or Data Integrity Failures
Published
Modified
Assigned by
php (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-115560 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-115560?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-115560?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-115560 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
PHP Group PHPbefore 8.2.36
PHP Group PHPfrom 8.3.0 before 8.3.37
PHP Group PHPfrom 8.4.0 before 8.4.28
PHP Group PHPfrom 8.5.0 before 8.5.13

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12php8.28.2.36-1~deb12u1DEBIAN-CVE-2026-115560 DLA-4916-1
Debian13php8.48.4.28-1~deb13u1DEBIAN-CVE-2026-115560 DSA-6641-1
Debian14php8.4no fix listedDEBIAN-CVE-2026-115560
Ubuntu22.04:LTSphp8.1no fix listedUBUNTU-CVE-2026-115560
Ubuntu24.04:LTSphp8.3no fix listedUBUNTU-CVE-2026-115560
Ubuntu26.04:LTS, 26.10php8.5no fix listedUBUNTU-CVE-2026-115560
UbuntuPro:14.04:LTSphp5no fix listedUBUNTU-CVE-2026-115560
UbuntuPro:16.04:LTSphp7.0no fix listedUBUNTU-CVE-2026-115560
UbuntuPro:18.04:LTSphp7.2no fix listedUBUNTU-CVE-2026-115560
UbuntuPro:20.04:LTSphp7.4no fix listedUBUNTU-CVE-2026-115560
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morephp8, php8-fpm, php8-test and 3 more8.0.30-150400.4.83.1SUSE-SU-2026:5389-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 5 morephp7, php7-fpm, php7-fastcgi and 1 more7.4.33-150400.4.84.1SUSE-SU-2026:5399-1
SUSELinux Enterprise Module for Legacy 15 SP7php7, apache2-mod_php77.4.33-150400.4.84.1SUSE-SU-2026:5399-1
SUSELinux Enterprise Module for Package Hub 15 SP7php7, php7-fpm, php7-test and 3 more7.4.33-150400.4.84.1SUSE-SU-2026:5399-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7php8, php8-fpm, php8-test and 3 more8.3.37-150700.3.27.1SUSE-SU-2026:5398-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6php8, php8-fpm, php8-test and 3 more8.2.36-150600.3.46.1SUSE-SU-2026:5390-1
openSUSETumbleweedphp88.5.13-1.1openSUSE-SU-2026:12618-1
AlmaLinux8apcu-panel, php-pecl-apcu, php-pecl-apcu-devel5.1.18-1.module_el8.6.0+2750+78feabcbALSA-2026:100991
AlmaLinux8libzip, libzip-devel, libzip-tools1.6.1-1.module_el8.10.0+3935+28808425ALSA-2026:100991
AlmaLinux8libzip, libzip-tools1.6.1-1.module_el8.6.0+2750+78feabcbALSA-2026:100991
AlmaLinux8libzip, libzip-tools1.6.1-1.module_el8.6.0+3239+bedf0508ALSA-2026:100991
AlmaLinux8php, php-gd, php-cli and 24 more7.4.33-9.module_el8.10.0+4385+9e3d9df0ALSA-2026:100991
AlmaLinux8php-pear1:1.10.13-1.module_el8.10.0+3935+28808425ALSA-2026:100991
AlmaLinux8php-pecl-apcu, php-pecl-apcu-devel5.1.18-1.module_el8.10.0+3935+28808425ALSA-2026:100991
AlmaLinux8php-pecl-apcu, php-pecl-apcu-devel5.1.18-1.module_el8.6.0+3239+bedf0508ALSA-2026:100991
AlmaLinux8php-pecl-rrd2.0.1-1.module_el8.10.0+3935+28808425ALSA-2026:100991
AlmaLinux8php-pecl-rrd2.0.1-1.module_el8.6.0+2750+78feabcbALSA-2026:100991
AlmaLinux8php-pecl-rrd2.0.1-1.module_el8.6.0+3239+bedf0508ALSA-2026:100991
AlmaLinux8php-pecl-xdebug2.9.5-1.module_el8.10.0+3935+28808425ALSA-2026:100991
6 more for AlmaLinux in the JSON.
Alpinev3.24php838.3.37-r0ALPINE-CVE-2026-115560
Alpinev3.24php848.4.28-r0ALPINE-CVE-2026-115560
Alpinev3.24php858.5.13-r0ALPINE-CVE-2026-115560
Azure Linux3phpno fix listedAZL-115114
Alpaquitastreamphp838.3.37-r0BELL-CVE-2026-115560

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Critical.

Red Hat's statement

Updates to address CVE-2026-109618 and CVE-2026-109619 for PHP versions 8.0 and below as shipped in Red Hat Enterprise Linux unconditionally disabled the Session Upload Progress functionality affected by this issue. That change provides a mitigation for this issue as well, and therefore those packages are not affected by this CVE-2026-115560 issue.

The following PHP versions in Red Hat Enterprise Linux disabled Session Upload Progress via previous updates:

* php (8.0) packages in Red Hat Enterprise Linux 9

* php:7.4 module in in Red Hat Enterprise Linux 8

* php (5.4) packages in Red Hat Enterprise Linux 7

* php (5.3) packages in Red Hat Enterprise Linux 6

Red Hat's mitigation

See the security bulletin for a detailed mitigation procedure.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10php8.4-0:8.4.28-1.el10_3Fixed 2026-11-20RHSA-2026:100821
Red Hat Enterprise Linux 10phpAffected
Red Hat Enterprise Linux 6phpOut of support scope
Red Hat Enterprise Linux 7phpAffected
Red Hat Enterprise Linux 8php:7.4/phpAffected
Red Hat Enterprise Linux 8php:8.2/phpAffected
Red Hat Enterprise Linux 9phpAffected
Red Hat Enterprise Linux 9php:8.2/phpAffected
Red Hat Enterprise Linux 9php:8.3/phpAffected
Red Hat Enterprise Linux 9php:8.4/phpAffected
Red Hat Hardened ImagesphpAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-115560.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • sykeops/CVE-2026-115560 Harbor Check: matches CVE 8 stars, Python, created
    PHP Session upload progress RCE - CVE-2026-115560
  • googlesky/CVE-2026-115560 Harbor Check: matches CVE 3 stars, Python, created
    PoC and Docker lab for CVE-2026-115560 — PHP session upload-progress serialize_handler mismatch to unauthenticated object injection / RCE. …
  • slabbdev/php-cve-2026-115560-kit Harbor Check: matches CVE 2 stars, Shell, created
    Local-only PoC lab for CVE-2026-115560 (PHP session upload-progress serialize-handler confusion) — two-request PoC on the PHP CLI built-in …
  • basesixtythree/B63-POC-CVE-2026-115560 Harbor Check: matches CVE 1 star, Python, created
    PoC and verification material for CVE-2026-115560 (PHP session serializer confusion via session.upload_progress -> object injection -> RCE)
  • LLCForge/CVE-2026-115560 Harbor Check: matches CVE 0 stars, Python, created
    CVE-2026-115560 -- PHP Session Upload Progress Serialize-Handler Mismatch -> Unauthenticated Object Injection / RCE. CVSS 9.8 Critical.
8 more

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON