CVE-2026-129538
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
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
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
| Product | Package | Advisory | Released |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | php8.4-0:8.4.28-1.el10_3 | RHSA-2026:100821 | 2026-11-20T00:00:00Z |
| Red Hat Enterprise Linux 10 | php-0:8.3.37-1.el10_3 | RHSA-2026:102300 | 2026-11-23T00:00:00Z |
| Red Hat Enterprise Linux 10.2 Extended Update Support | php8.4-0:8.4.28-1.el10_2 | RHSA-2026:101251 | 2026-11-21T00:00:00Z |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | php-0:5.4.16-48.el7_9.2 | RHSA-2026:101337 | 2026-11-22T00:00:00Z |
| Red Hat Enterprise Linux 8 | php:7.4-8100020261119125714.f7998665 | RHSA-2026:100991 | 2026-11-21T00:00:00Z |
| Red Hat Enterprise Linux 8 | php:8.2-8100020261119180255.f7998665 | RHSA-2026:101276 | 2026-11-22T00:00:00Z |
| Red Hat Enterprise Linux 9 | php:8.3-9090020261119185155.9 | RHSA-2026:102226 | 2026-11-23T00:00:00Z |
| Red Hat Enterprise Linux 9 | php:8.4-9090020261119185955.9 | RHSA-2026:102255 | 2026-11-23T00:00:00Z |
| Red Hat Enterprise Linux 9 | php:8.2-9090020261119181904.9 | RHSA-2026:102261 | 2026-11-23T00:00:00Z |
| Red Hat Enterprise Linux 9 | php-0:8.0.30-8.el9_9.2 | RHSA-2026:102297 | 2026-11-23T00:00:00Z |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | php:8.2-9040020261120181742.9 | RHSA-2026:102695 | 2026-11-23T00:00:00Z |
| Red Hat Enterprise Linux 9.6 Extended Update Support | php:8.3-9060020261121170731.9 | RHSA-2026:102684 | 2026-11-23T00:00:00Z |
| Red Hat Enterprise Linux 9.6 Extended Update Support | php:8.2-9060020261121171142.9 | RHSA-2026:102696 | 2026-11-23T00:00:00Z |
| Red Hat Enterprise Linux 9.8 Extended Update Support | php:8.3-9080020261120133305.9 | RHSA-2026:101252 | 2026-11-21T00:00:00Z |
| Red Hat Enterprise Linux 9.8 Extended Update Support | php:8.2-9080020261120141350.9 | RHSA-2026:101253 | 2026-11-21T00:00:00Z |
| Red Hat Hardened Images | php-main-8.5.13-0.1.hum1 | RHSA-2026:101658 | 2026-11-22T00:00:00Z |
Package state
| Product | Package | State |
|---|---|---|
| Red Hat Enterprise Linux 6 | php | Out of support scope |
Apply commands
yum update -y php8
# or:
dnf upgrade -y php8
OS impact
Azure Linux Affected 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 3.0 | — | Affected | — |
AlmaLinux Fixed 3 releases
| Version | Package | Status | Fixed 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 Fixed 1 release
| Version | Package | Status | Fixed 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 Fixed 4 releases
| Version | Package | Status | Fixed 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 Fixed 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Fixed | 8.2.36 |
Red Hat Fixed 2 releases
| Version | Package | Status | Fixed 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 |
Rocky Linux Fixed 3 releases
| Version | Package | Status | Fixed 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 Fixed 8 releases
| Version | Package | Status | Fixed 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 Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| php | php | {"startIncluding":"8.2.0","endExcluding":"8.2.36"} | 8.2.36 |
| php | php | {"startIncluding":"8.3.0","endExcluding":"8.3.37"} | 8.3.37 |
| php | php | {"startIncluding":"8.4.0","endExcluding":"8.4.28"} | 8.4.28 |
| php | php | {"startIncluding":"8.5.0","endExcluding":"8.5.13"} | 8.5.13 |
| php | php | {"endExcluding":"8.2.36"} | 8.2.36 |
References
- https://www.suse.com/security/cve/CVE-2026-129538.html
- https://github.com/php/php-src/security/advisories/GHSA-5j3f-64r7-f564
- https://security-tracker.debian.org/tracker/CVE-2026-129538
- https://security.gentoo.org/glsa/202611-13
- https://security.alpinelinux.org/vuln/CVE-2026-129538
- https://pkgs.alpinelinux.org/packages?name=php83
- https://pkgs.alpinelinux.org/packages?name=php84
- https://pkgs.alpinelinux.org/packages?name=php85
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-129538
- https://access.redhat.com/errata/RHSA-2026:100991
- https://bugzilla.redhat.com/2576597
- https://bugzilla.redhat.com/2576598
- https://bugzilla.redhat.com/2576600
- https://bugzilla.redhat.com/2576601
- https://bugzilla.redhat.com/2576602
- https://bugzilla.redhat.com/2576603
- https://bugzilla.redhat.com/2576604
- https://bugzilla.redhat.com/2576605
- https://bugzilla.redhat.com/2576606
- https://bugzilla.redhat.com/2576607
- https://bugzilla.redhat.com/2576609
- https://bugzilla.redhat.com/2576610
- https://errata.almalinux.org/8/ALSA-2026-100991.html
- https://access.redhat.com/errata/RHSA-2026:100821
- https://bugzilla.redhat.com/2576599
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.