Skip to main content
Network Thinking Solutions Logo

CVE-2026-129538

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

All CVEs
CVE-2026-129538Published 11/19/2026

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

Vendor advisory
CVSS6.9Medium

Overview

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.

Published
11/19/2026
Last modified
11/19/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
PHP
PHP Group
< 8.2.36

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
PHP
PHP Group
≥ 8.3.0, < 8.3.37

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
PHP
PHP Group
≥ 8.4.0, < 8.4.28

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
PHP
PHP Group
≥ 8.5.0, < 8.5.13

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 6.9. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.