CVE-2026-126714

critical EU-CRITICAL
EUVD alias: EUVD-2026-130158
Assigned by CNA: php
Published 2026-11-19 · Modified 2026-11-23
CVSS v3
—
CVSS v4 NEW
9.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VIR risk
9.2

Description

Partially overwritten session files can lead to remote code execution. The files session save handler, which is the default, writes updated session data into the existing session file without first clearing it. If a write is interrupted, the file can contain the beginning of the new session followed by the end of the old one, and bytes of an ordinary string can later be unserialized as objects. An attacker who can influence the session data, for example through session upload progress, and interrupt a write at a suitable point may inject objects, which can lead to code execution when the application contains a suitable gadget chain. Session data can also be corrupted. 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.

Predictions

Exploit likelihood
20%
Patch ETA
—

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Red Hat Errata — Red Hat Inc. · View original ↗ · Open-Errata-API

Description php: Partially overwritten session files can lead to remote code execution Red Hat statement See the security bulletin for a detailed mitigation procedure. CVSS v3: 8.1 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) Errata / fixed releases ProductPackageAdvisoryReleased Red Hat Enterprise Linux 10php8.4-0:8.4.28-1.el10_3RHSA-2026:1008212026-11-20T00:00:00Z Red Hat Enterprise Linux…

Workaround

procedure. CVSS v3: 8.1 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)

Description

php: Partially overwritten session files can lead to remote code execution

Red Hat statement

See the security bulletin for a detailed mitigation procedure.

CVSS v3: 8.1 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)

Errata / fixed releases

ProductPackageAdvisoryReleased
Red Hat Enterprise Linux 10php8.4-0:8.4.28-1.el10_3RHSA-2026:1008212026-11-20T00:00:00Z
Red Hat Enterprise Linux 10php-0:8.3.37-1.el10_3RHSA-2026:1023002026-11-23T00:00:00Z
Red Hat Enterprise Linux 10.0 Extended Update Supportphp-0:8.3.37-1.el10_0RHSA-2026:1029342026-11-24T00:00:00Z
Red Hat Enterprise Linux 10.2 Extended Update Supportphp8.4-0:8.4.28-1.el10_2RHSA-2026:1012512026-11-21T00:00:00Z
Red Hat Enterprise Linux 10.2 Extended Update Supportphp-0:8.3.37-1.el10_2RHSA-2026:1023022026-11-24T00:00:00Z
Red Hat Enterprise Linux 7 Extended Lifecycle Supportphp-0:5.4.16-48.el7_9.2RHSA-2026:1013372026-11-22T00:00:00Z
Red Hat Enterprise Linux 8php:7.4-8100020261119125714.f7998665RHSA-2026:1009912026-11-21T00:00:00Z
Red Hat Enterprise Linux 8php:8.2-8100020261119180255.f7998665RHSA-2026:1012762026-11-22T00:00:00Z
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportphp:7.4-8040020261122143307.d7c09045RHSA-2026:1032762026-11-24T00:00:00Z
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onphp:7.4-8040020261122143307.d7c09045RHSA-2026:1032762026-11-24T00:00:00Z
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportphp:7.4-8060020261122141928.5caa48ffRHSA-2026:1028232026-11-24T00:00:00Z
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onphp:7.4-8060020261122141928.5caa48ffRHSA-2026:1028232026-11-24T00:00:00Z
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicephp:7.4-8080020261122140017.0b4eb31dRHSA-2026:1027132026-11-24T00:00:00Z
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsphp:7.4-8080020261122140017.0b4eb31dRHSA-2026:1027132026-11-24T00:00:00Z
Red Hat Enterprise Linux 9php:8.3-9090020261119185155.9RHSA-2026:1022262026-11-23T00:00:00Z
Red Hat Enterprise Linux 9php:8.4-9090020261119185955.9RHSA-2026:1022552026-11-23T00:00:00Z
Red Hat Enterprise Linux 9php:8.2-9090020261119181904.9RHSA-2026:1022612026-11-23T00:00:00Z
Red Hat Enterprise Linux 9php-0:8.0.30-8.el9_9.2RHSA-2026:1022972026-11-23T00:00:00Z
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsphp-0:8.0.30-1.el9_2.3RHSA-2026:1028472026-11-24T00:00:00Z
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsphp:8.2-9040020261120181742.9RHSA-2026:1026952026-11-23T00:00:00Z
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsphp-0:8.0.30-1.el9_4.3RHSA-2026:1028552026-11-24T00:00:00Z
Red Hat Enterprise Linux 9.6 Extended Update Supportphp:8.3-9060020261121170731.9RHSA-2026:1026842026-11-23T00:00:00Z
Red Hat Enterprise Linux 9.6 Extended Update Supportphp:8.2-9060020261121171142.9RHSA-2026:1026962026-11-23T00:00:00Z
Red Hat Enterprise Linux 9.6 Extended Update Supportphp-0:8.0.30-3.el9_6.3RHSA-2026:1034952026-11-25T00:00:00Z
Red Hat Enterprise Linux 9.8 Extended Update Supportphp:8.3-9080020261120133305.9RHSA-2026:1012522026-11-21T00:00:00Z
Red Hat Enterprise Linux 9.8 Extended Update Supportphp:8.2-9080020261120141350.9RHSA-2026:1012532026-11-21T00:00:00Z
Red Hat Enterprise Linux 9.8 Extended Update Supportphp-0:8.0.30-8.el9_8.2RHSA-2026:1034922026-11-25T00:00:00Z
Red Hat Hardened Imagesphp-main-8.5.13-0.1.hum1RHSA-2026:1016582026-11-22T00:00:00Z
Red Hat OpenShift Dev Spaces 3.31devspaces/udi-rhel9:1795500059RHSA-2026:1035212026-11-25T00:00:00Z

Package state

ProductPackageState
Red Hat Enterprise Linux 6phpOut of support scope

Apply commands

bash fix
Apply RHSA-2026:100821 for Red Hat Enterprise Linux 10
yum update -y php8
# or:
dnf upgrade -y php8

OS impact

Azure Linux Affected 2 releases
VersionPackageStatusFixed in
4.0 — Affected —
3.0 — Affected —
almalinux AlmaLinux Fixed 3 releases
VersionPackageStatusFixed in
10 php-intl php-embedded php-ldap +22 more Fixed 8.3.37-1.el10_3
10 php8.4-mysqlnd php8.4-cli php8.4-soap +22 more Fixed 8.4.28-1.el10_3
9 php-gd php-cli php-soap +22 more Fixed 8.0.30-8.el9_9.2
9 php-pecl-zip Fixed 1.22.3-1.module_el9.4.0+65+49ff6472
9 php-pecl-xdebug3 Fixed 3.2.2-2.module_el9.4.0+65+49ff6472
9 apcu-panel php-pecl-apcu-devel php-pecl-apcu Fixed 5.1.23-1.module_el9.4.0+65+49ff6472
9 php-pecl-redis6 Fixed 6.2.0-3.module_el9.9.0+305+241c80e2
9 php-pecl-rrd Fixed 2.0.3-4.module_el9.4.0+65+49ff6472
8 php-json php-xmlrpc Fixed 7.4.33-9.module_el8.10.0+4385+9e3d9df0
8 php-pear Fixed 1.10.14-1.module_el8.10.0+3796+30ed3ef7
8 php-embedded php-common php-gd +22 more Fixed 8.2.36-1.module_el8.10.0+4386+fb99a9e9
8 libzip-tools libzip-devel libzip Fixed 1.7.3-1.module_el8.10.0+3796+30ed3ef7
8 apcu-panel php-pecl-apcu-devel php-pecl-apcu Fixed 5.1.23-1.module_el8.10.0+3796+30ed3ef7
8 php-pecl-zip Fixed 1.22.3-1.module_el8.10.0+3796+30ed3ef7
8 php-pecl-rrd Fixed 2.0.3-1.module_el8.10.0+3796+30ed3ef7
8 php-pecl-xdebug3 Fixed 3.2.2-2.module_el8.10.0+3796+30ed3ef7
8 php-pecl-xdebug Fixed 2.9.5-1.module_el8.6.0+2750+78feabcb
alpine Alpine Fixed 1 release
VersionPackageStatusFixed in
v3.24 php84 Fixed 8.4.28-r0
v3.24 php83 Fixed 8.3.37-r0
v3.24 php85 Fixed 8.5.13-r0
debian Debian Fixed 4 releases
VersionPackageStatusFixed in
trixie php8.4 Fixed 8.4.28-1~deb13u1
sid php8.4 Fixed 8.4.28-2
forky php8.4 Fixed 8.4.28-2
bookworm php8.2 Fixed 8.2.36-1~deb12u1
gentoo Gentoo Fixed 1 release
VersionPackageStatusFixed in
— — Fixed 8.2.36
redhat Red Hat Fixed 2 releases
VersionPackageStatusFixed in
9 php-pecl-apcu-devel apcu-panel php-pecl-apcu Fixed 5.1.23-1.module+el9.7.0+24111+199d2cc4
9 php-pecl-redis6 Fixed 6.2.0-3.module+el9.9.0+24551+b05e3fee
9 php php-bcmath php-cli +22 more Fixed 8.0.30-8.el9_9.2
9 php-pecl-rrd Fixed 2.0.3-4.module+el9.7.0+24111+199d2cc4
9 php-pecl-xdebug3 Fixed 3.2.2-2.module+el9.7.0+24111+199d2cc4
9 php-pecl-zip Fixed 1.22.3-1.module+el9.7.0+24111+199d2cc4
8 libzip-tools libzip libzip-devel Fixed 1.7.3-1.module+el8.10.0+20770+a5eca186
8 php-common php-dba php-dbg +22 more Fixed 8.2.36-1.module+el8.10.0+25372+eaf0dd36
8 php-pecl-zip Fixed 1.22.3-1.module+el8.10.0+20770+a5eca186
8 php-pear Fixed 1.10.14-1.module+el8.10.0+20770+a5eca186
8 php-pecl-rrd Fixed 2.0.3-1.module+el8.10.0+20770+a5eca186
8 php-pecl-apcu php-pecl-apcu-devel apcu-panel Fixed 5.1.23-1.module+el8.10.0+20770+a5eca186
8 php-pecl-xdebug Fixed 2.9.5-1.module+el8.10.0+22485+a3539972
8 php-json php-xmlrpc Fixed 7.4.33-9.module+el8.10.0+25371+681fa571
8 php-pecl-xdebug3 Fixed 3.2.2-2.module+el8.10.0+20798+00eaeb41
rockylinux Rocky Linux Fixed 3 releases
VersionPackageStatusFixed in
10 php8.4 Fixed 8.4.28-1.el10_3
10 php Fixed 8.3.37-1.el10_3
9 php-pecl-apcu Fixed 5.1.23-1.module+el9.7.0+40004+bf50a568
9 php-pecl-redis6 Fixed 6.1.0-3.module+el9.8.0+40203+35cc8ffc
9 php-pecl-rrd Fixed 2.0.3-4.module+el9.7.0+40005+715283ec
9 php-pecl-xdebug3 Fixed 3.3.1-1.module+el9.7.0+40005+715283ec
9 php-pecl-zip Fixed 1.22.3-1.module+el9.7.0+40005+715283ec
9 php Fixed 8.3.37-1.module+el9.9.0+40496+4cbfb9f5
8 php-pecl-xdebug3 Fixed 3.2.2-2.module+el8.10.0+1911+f499711e
8 php-pecl-rrd Fixed 2.0.1-1.module+el8.4.0+414+2e7afcdd
8 php-pecl-apcu Fixed 5.1.18-1.module+el8.10.0+1604+6558efc7
8 php-pecl-xdebug Fixed 2.9.5-1.module+el8.10.0+1604+6558efc7
8 php-pecl-zip Fixed 1.18.2-1.module+el8.10.0+1604+6558efc7
8 php Fixed 7.4.33-9.module+el8.10.0+40479+a65e1b9e
8 libzip Fixed 1.6.1-1.module+el8.10.0+1604+6558efc7
8 php-pear Fixed 1.10.13-1.module+el8.10.0+1912+72767185
ubuntu Ubuntu Fixed 8 releases
VersionPackageStatusFixed in
xenial libapache2-mod-php7.0 libphp7.0-embed php7.0-bcmath +36 more Fixed 7.0.33-0ubuntu0.16.04.16+esm23
trusty libapache2-mod-php5 libapache2-mod-php5filter libphp5-embed +26 more Fixed 5.5.9+dfsg-1ubuntu4.29+esm19
stonking libapache2-mod-php8.5 libphp8.5-embed php8.5 +30 more Fixed 8.5.9-0ubuntu2.2
resolute libapache2-mod-php8.5 libphp8.5-embed php8.5 +30 more Fixed 8.5.4-0ubuntu1.6
noble libapache2-mod-php8.3 libphp8.3-embed php8.3 +32 more Fixed 8.3.6-0ubuntu0.24.04.14
jammy libapache2-mod-php7.4 libapache2-mod-php8.0 libapache2-mod-php8.1 +34 more Fixed 8.1.2-1ubuntu2.29
focal libapache2-mod-php7.4 libphp7.4-embed php7.4 +34 more Fixed 7.4.3-4ubuntu2.29+esm6
bionic libapache2-mod-php7.2 libphp7.2-embed php7.2 +35 more Fixed 7.2.24-0ubuntu0.18.04.17+esm15
suse SUSE Tracked 1 release
VersionPackageStatusFixed in
— — Unknown —

Application impact

VendorProductVersionsFixed
php phpphp{"startIncluding":"8.2.0","endExcluding":"8.2.36"}8.2.36
php phpphp{"startIncluding":"8.3.0","endExcluding":"8.3.37"}8.3.37
php phpphp{"startIncluding":"8.4.0","endExcluding":"8.4.28"}8.4.28
php phpphp{"startIncluding":"8.5.0","endExcluding":"8.5.13"}8.5.13
php phpphp{"endExcluding":"8.2.36"}8.2.36

References

CWEs

CWE-367 CWE-662

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.