CVE-2026-129538

medium
EUVD alias: EUVD-2026-130137
Assigned by CNA: php
Published 2026-11-19 · Modified 2026-11-23
CVSS v3
—
CVSS v4 NEW
6.9
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
VIR risk
6.9

Description

PHP-CGI out-of-bounds read and write during PATH_INFO correction. The PHP CGI binary (php-cgi), in CGI and FastCGI mode with cgi.fix_pathinfo enabled (the default), can perform an out-of-bounds read and write when the path removed from SCRIPT_FILENAME or PATH_TRANSLATED is longer than the supplied PATH_INFO, or when PATH_INFO is empty. This requires a web server mapping that passes such inconsistent values, or a FastCGI listener reachable by untrusted clients. An unauthenticated remote attacker can crash the process, may obtain process memory if the application exposes PATH_INFO or PATH_TRANSLATED, and may corrupt memory. PHP-FPM and the Apache module are not affected. 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: PHP-CGI out-of-bounds read and write during PATH_INFO correction 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.2…

Description

php: PHP-CGI out-of-bounds read and write during PATH_INFO correction

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.2 Extended Update Supportphp8.4-0:8.4.28-1.el10_2RHSA-2026:1012512026-11-21T00: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 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.4 Update Services for SAP Solutionsphp:8.2-9040020261120181742.9RHSA-2026:1026952026-11-23T00: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.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 Hardened Imagesphp-main-8.5.13-0.1.hum1RHSA-2026:1016582026-11-22T00: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 1 release
VersionPackageStatusFixed in
3.0 — Affected —
almalinux AlmaLinux Fixed 3 releases
VersionPackageStatusFixed in
10 php8.4-pgsql php8.4-ffi php8.4-odbc +22 more Fixed 8.4.28-1.el10_3
10 php-ffi php-dbg php-mbstring +22 more Fixed 8.3.37-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 php-pecl-redis6 Fixed 6.2.0-3.module_el9.9.0+305+241c80e2
9 php-pecl-apcu-devel apcu-panel php-pecl-apcu Fixed 5.1.23-1.module_el9.4.0+65+49ff6472
9 php-pecl-rrd Fixed 2.0.3-4.module_el9.4.0+65+49ff6472
8 php-embedded php-gmp php-ffi +22 more Fixed 8.2.36-1.module_el8.10.0+4386+fb99a9e9
8 php-pecl-rrd Fixed 2.0.3-1.module_el8.10.0+3796+30ed3ef7
8 php-pecl-apcu php-pecl-apcu-devel apcu-panel Fixed 5.1.23-1.module_el8.10.0+3796+30ed3ef7
8 php-pecl-xdebug Fixed 2.9.5-1.module_el8.6.0+2750+78feabcb
8 php-json php-xmlrpc Fixed 7.4.33-9.module_el8.10.0+4385+9e3d9df0
8 libzip libzip-tools libzip-devel Fixed 1.7.3-1.module_el8.10.0+3796+30ed3ef7
8 php-pecl-zip Fixed 1.22.3-1.module_el8.10.0+3796+30ed3ef7
8 php-pear Fixed 1.10.14-1.module_el8.10.0+3796+30ed3ef7
8 php-pecl-xdebug3 Fixed 3.2.2-2.module_el8.10.0+3796+30ed3ef7
alpine Alpine Fixed 1 release
VersionPackageStatusFixed in
v3.24 php84 Fixed 8.4.28-r0
v3.24 php85 Fixed 8.5.13-r0
v3.24 php83 Fixed 8.3.37-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-dbg php-devel php-embedded +22 more Fixed 8.0.30-8.el9_9.2
9 php-pecl-apcu php-pecl-apcu-devel apcu-panel Fixed 5.1.23-1.module+el9.7.0+24111+199d2cc4
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
9 php-pecl-redis6 Fixed 6.2.0-3.module+el9.9.0+24551+b05e3fee
8 php-pdo php-process php-snmp +22 more Fixed 8.2.36-1.module+el8.10.0+25372+eaf0dd36
8 php-pear Fixed 1.10.14-1.module+el8.10.0+20770+a5eca186
8 php-pecl-xdebug3 Fixed 3.2.2-2.module+el8.10.0+20798+00eaeb41
8 php-pecl-zip Fixed 1.22.3-1.module+el8.10.0+20770+a5eca186
8 php-pecl-apcu-devel php-pecl-apcu apcu-panel Fixed 5.1.23-1.module+el8.10.0+20770+a5eca186
8 php-pecl-rrd Fixed 2.0.3-1.module+el8.10.0+20770+a5eca186
8 libzip libzip-devel libzip-tools Fixed 1.7.3-1.module+el8.10.0+20770+a5eca186
8 php-json php-xmlrpc Fixed 7.4.33-9.module+el8.10.0+25371+681fa571
8 php-pecl-xdebug Fixed 2.9.5-1.module+el8.10.0+22485+a3539972
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-rrd Fixed 2.0.1-1.module+el8.4.0+414+2e7afcdd
8 php-pecl-xdebug3 Fixed 3.2.2-2.module+el8.10.0+1911+f499711e
8 libzip Fixed 1.6.1-1.module+el8.10.0+1604+6558efc7
8 php Fixed 7.4.33-9.module+el8.10.0+40479+a65e1b9e
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-pecl-apcu Fixed 5.1.18-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 php7.0-bz2 php7.0-cgi php7.0-cli +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 php8.3-curl php8.3-dba php8.3-dev +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-125 CWE-787 CWE-823

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

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