CVE-2026-129538

Published Nov 19, 2026

Last updated a day ago

CVSS medium 6.9
PHP
PHP-CGI

Overview

AI description

Automated description summarized from trusted sources.

CVE-2026-129538 is an out-of-bounds read and write vulnerability affecting the PHP CGI binary (`php-cgi`) when running in CGI or FastCGI mode with the default `cgi.fix_pathinfo` setting enabled. The flaw occurs during the correction of the `PATH_INFO` environment variable. Specifically, if a web server passes inconsistent script and path values—such as when the path removed from `SCRIPT_FILENAME` or `PATH_TRANSLATED` is longer than the supplied `PATH_INFO`, or when `PATH_INFO` is empty—the binary can read and write memory outside the intended buffer. An unauthenticated remote attacker can exploit this vulnerability to crash the PHP process, corrupt memory, or potentially expose process memory if the application returns or logs the `PATH_INFO` or `PATH_TRANSLATED` variables. The issue affects PHP versions prior to 8.2.36, 8.3.37, 8.4.28, and 8.5.13, as well as several end-of-life release lines. Notably, PHP-FPM and PHP running as an Apache module are unaffected. Organizations can mitigate the risk by upgrading to a patched version of PHP or by disabling the `cgi.fix_pathinfo` setting in their configuration.

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.
Source
security@php.net
NVD status
Awaiting Analysis

Risk scores

CVSS 4.0

Type
Secondary
Base score
6.9
Impact score
-
Exploitability score
-
Vector string
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
Severity
MEDIUM

Weaknesses

security@php.net
CWE-125

Social media

Hype score is a measure of social media activity compared against trending CVEs from the past 12 months. Max score 100.

Hype score

24

  1. PHP8.3で対応されたCVEはこの13件 CVE-2026-129538 CVE-2026-129496 CVE-2026-129289 CVE-2026-129292 CVE-2026-129291 CVE-2026-128090 CVE-2026-126714 CVE-2026-115560 CVE-2026-129481 CVE-2026-15353 CVE-2026-129506 CVE-2026-128064 CVE-2026-127960

    @6LR61YXJ

    20 Nov 2026

    126 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  2. kusanagi-phpを更新しました。 複数の脆弱性(CVE-2026-129538, CVE-2026-129496, CVE-2026-129289, CVE-2026-129292, CVE-2026-129291, CVE-2026-128090, CVE-2026-126714, CVE-2026-115560, CVE-2026-15353, CVE-2026-129506, CVE-2026-128064, CVE-2026-127960)への対応が含ま

    @kusanagi_saya

    19 Nov 2026

    798 Impressions

    3 Retweets

    7 Likes

    0 Bookmarks

    1 Reply

    1 Quote

  3. PHP 8.3.37'de güvenlik açıkları giderildi PHP 8.3.37, CGI, Date, FPM, Phar, Session, SOAP ve Standard bileşenlerinde bildirilen güvenlik açıklarını gideriyor. NE DEĞİŞTİ? • PHP-CGI'de PATH_INFO düzeltmesi sırasında sınır dışı okuma ve yazma (CVE-2026-129

    @bildirgectr

    19 Nov 2026

    412 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  4. PHP 8.2.36 released - 12 fixes in 7 components, including security fixes (CVE-2026-129538, CVE-2026-129496, CVE-2026-129289). Changelog + downloads: https://t.co/MtYI0sCfZr

    @php_net

    19 Nov 2026

    7407 Impressions

    19 Retweets

    83 Likes

    13 Bookmarks

    2 Replies

    3 Quotes

  5. PHP 8.5.13 released - 164 fixes in 42 components, including security fixes (CVE-2026-129474, CVE-2026-129182, CVE-2026-129538). Changelog + downloads: https://t.co/aEpzewexe0

    @php_net

    19 Nov 2026

    15358 Impressions

    73 Retweets

    207 Likes

    30 Bookmarks

    6 Replies

    6 Quotes

References

Sources include official advisories and independent security research.