Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach php-cgi CGI/FastCGI endpoint
-
ExploitSend request yielding short or empty PATH_INFO
-
ExecutionTrigger OOB read/write in init_request_info path correction
-
ImpactCrash process or disclose process memory
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the php-cgi binary running in CGI or FastCGI mode with cgi.fix_pathinfo=1 (the default), AND one of: (a) a web server mapping where the path removed from SCRIPT_FILENAME or PATH_TRANSLATED is longer than the supplied PATH_INFO, or PATH_INFO is present but empty - e.g., a legacy Apache Action handler combined with a RewriteRule/Alias to an absolute filesystem path such as /srv/site/index.php/content/articles/...; or (b) a php-cgi FastCGI listener directly reachable by untrusted clients who can supply these parameters. Limiting factors: PHP-FPM and PHP-as-Apache-module are not affected; conventional Action setups, ordinary rewrites to index.php, and rewrites to a URL (PT flag) did not trigger the issue in vendor testing; information disclosure further depends on the application exposing PATH_INFO/PATH_TRANSLATED via output or logs; the fixed PHP branches are not vulnerable. |
| Impact | This is a medium-severity issue (CVSS 4.0 base 6.9) whose network-reachable, unauthenticated vector (AV:N/PR:N/UI:N) is substantially constrained by narrow preconditions, which keeps real-world priority below what the raw vector suggests. The vendor confirms impact is limited to the php-cgi SAPI in CGI/FastCGI mode with cgi.fix_pathinfo=1, and only when a web server mapping passes inconsistent SCRIPT_FILENAME/PATH_TRANSLATED vs PATH_INFO values, or when a php-cgi FastCGI listener is directly reachable by untrusted clients; PHP-FPM and the Apache module are explicitly not affected, which excludes the majority of modern PHP deployments. No EPSS score and no KEV status are present in the input, and no PoC/exploit reference is supplied, so exploitation signals are weak: no public exploit identified at time of analysis. The only reliably reproduced impact is denial of service (crash); information disclosure is conditional on the application echoing PATH_INFO/PATH_TRANSLATED, and memory corruption is possible but code execution is only claimed, not confirmed. The vuln.today decision label is 'this_month' (not act_now or emergency), consistent with a real-but-not-urgent issue: patch on a normal cadence, prioritizing any internet-exposed php-cgi/FastCGI listeners. |
| Exploit ScenarioDerived | An unauthenticated remote attacker sends a single crafted HTTP request to a site served by php-cgi with cgi.fix_pathinfo=1, where the server mapping yields a PATH_INFO shorter than (or empty relative to) the path stripped from SCRIPT_FILENAME/PATH_TRANSLATED - or the attacker reaches an exposed php-cgi FastCGI listener and supplies those parameters directly. This drives an out-of-bounds access during path correction, crashing the worker process and, if the application returns PATH_INFO/PATH_TRANSLATED, potentially leaking adjacent process memory. No public exploit is identified at time of analysis, and claimed code execution is unconfirmed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
PHP-CGI 8.2.x before 8.2.36, 8.3.x before 8.3.37, 8.4.x before 8.4.28 and 8.5.x before 8.5.13 can read and write outside valid memory when cgi.fix_pathinfo is enabled, the default, and a CGI/FastCGI front end supplies a PATH_INFO shorter than the suffix removed from SCRIPT_FILENAME or PATH_TRANSLATED, or an empty PATH_INFO. An unauthenticated remote attacker who can reach a matching web-server mapping or an exposed php-cgi FastCGI listener can crash the process, may disclose process memory if the application exposes PATH_INFO or PATH_TRANSLATED, and may corrupt memory; PHP-FPM and the Apache module are not affected. No public exploit was identified at time of analysis, and vendor testing reproduced crashes on default builds only under the narrow mapping conditions.
RemediationAI
Vendor-released patch: upgrade php-cgi to PHP 8.2.36, 8.3.37, 8.4.28 or 8.5.13 according to the deployed branch. If upgrading immediately is not possible, set cgi.fix_pathinfo=0 in the configuration used by php-cgi and verify application routing and PATH_INFO behavior, since disabling it can break applications that rely on path-info routing. Correct the web-server mapping so the path PHP uses identifies the existing script and any extra path is consistent; for the documented Apache Action case, rewrite to the URL with the PT flag instead of an absolute filesystem path, and re-test all rewrites and aliases because other combinations can change the result. Restrict direct access to php-cgi FastCGI listeners to trusted front ends, accepting that this may break any legitimate remote FastCGI clients. Advisories: https://github.com/php/php-src/security/advisories/GHSA-5j3f-64r7-f564 and https://www.herodevs.com/vulnerability-directory/cve-2026-129538.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
php-cgi is the standalone CGI/FastCGI SAPI. With cgi.fix_pathinfo=1 it derives a replacement PATH_INFO by subtracting the length of the suffix removed from SCRIPT_FILENAME or, in redirected CGI, PATH_TRANSLATED. If that suffix is longer than the supplied PATH_INFO, or PATH_INFO is present but empty, the computed pointer can lie before the PATH_INFO buffer; subsequent path correction reads, writes and copies through that invalid pointer. Upstream maps this to CWE-125 out-of-bounds read with related CWE-787 out-of-bounds write and CWE-823 use of an out-of-range pointer offset. Triggering requires CGI or FastCGI mode plus a web-server mapping such as a legacy Apache Action handler combined with a rewrite or Alias to an absolute filesystem path like /srv/site/index.php/content/articles/..., or a directly reachable FastCGI listener allowing untrusted parameter supply; custom FastCGI mappings and nginx fastcgi_split_path_info, SCRIPT_FILENAME, PATH_INFO and try_files interactions should be reviewed. Conventional Action setups, ordinary rewrites to index.php and URL rewrites using PT did not trigger it in vendor tests; PHP-FPM and PHP as an Apache module are unaffected. CPE cpe:2.3:a:php_group:php:*:*:*:*:*:*:*:* covers the affected PHP branches. Upstream reports reproduced crashes on PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12; code execution has been claimed but not confirmed. Assessed CVSS:3.1 severity is 6.9 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L), with upstream CVSS 4.0 base 6.9.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Directly reachable php-cgi FastCGI listener lets an unauthenticated attacker supply the parameters (AV:N/AC:L/PR:N), with partial memory read, partial corruption, and crash giving C:L/I:L/A:L and no scope change.
Primary rating from Vendor (php).
CVSS VectorVendor: php
Lifecycle Timeline
2DescriptionCVE.org
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 8.2.* before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-130137
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB