Описание
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.
A flaw was found in PHP. An out-of-bounds read and write vulnerability exists in the Common Gateway Interface (CGI) implementation when handling the PATH_INFO parameter. A remote attacker could exploit this flaw by sending specially crafted web requests to a server running PHP in CGI mode. Successful exploitation could lead to memory corruption, causing an application crash that results in a Denial of Service (DoS), or potentially exposing sensitive memory contents.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | php | Out of support scope | ||
| Red Hat Enterprise Linux 10 | php8.4 | Fixed | RHSA-2026:100821 | 20.11.2026 |
| Red Hat Enterprise Linux 10 | php | Fixed | RHSA-2026:102300 | 23.11.2026 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | php | Fixed | RHSA-2026:102934 | 24.11.2026 |
| Red Hat Enterprise Linux 10.2 Extended Update Support | php8.4 | Fixed | RHSA-2026:101251 | 21.11.2026 |
| Red Hat Enterprise Linux 10.2 Extended Update Support | php | Fixed | RHSA-2026:102302 | 24.11.2026 |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | php | Fixed | RHSA-2026:101337 | 22.11.2026 |
| Red Hat Enterprise Linux 8 | php | Fixed | RHSA-2026:100991 | 21.11.2026 |
| Red Hat Enterprise Linux 8 | php | Fixed | RHSA-2026:101276 | 22.11.2026 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | php | Fixed | RHSA-2026:103276 | 24.11.2026 |
Показывать по
Дополнительная информация
Статус:
EPSS
8.1 High
CVSS3
Связанные уязвимости
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. This affects php-cgi in both CGI and FastCGI mode when cgi.fix_pathinfo=1, the default. PHP-FPM and PHP running as an Apache module are not affected.
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.
PHP-CGI out-of-bounds read and write during PATH_INFO correction. The ...
PHP-CGI out-of-bounds read and write during PATH_INFO correction
EPSS
8.1 High
CVSS3