Описание
Timezone cache use-after-free can lead to remote code execution.
In non-thread-safe builds, a diagnostic written to a file-based error_log during module startup, for example for an invalid date.timezone value or a session configuration warning, causes the timezone cache to be allocated in startup memory that is freed while a reference to it is kept. A diagnostic raised early in the first request of a worker, such as the max_input_vars warning, then accesses the freed cache. On such a deployment an unauthenticated remote attacker can crash PHP-FPM, Apache mod_php or CGI workers with a crafted request. Arbitrary code execution may be possible and has been demonstrated with known memory addresses.
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. A use-after-free vulnerability, which occurs when the system attempts to access memory after it has already been released, exists within the timezone caching mechanism. A remote attacker could exploit this flaw to execute arbitrary code or cause the application to crash, leading to a Denial of Service (DoS).
Меры по смягчению последствий
See the security bulletin for a detailed mitigation procedure.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| 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
Связанные уязвимости
Timezone cache use-after-free can lead to remote code execution. In non-thread-safe builds, a diagnostic written to a file-based error_log during module startup, for example for an invalid date.timezone value or a session configuration warning, causes the timezone cache to be allocated in startup memory that is freed while a reference to it is kept. A diagnostic raised early in the first request of a worker, such as the max_input_vars warning, then accesses the freed cache. On such a deployment an unauthenticated remote attacker can crash PHP-FPM, Apache mod_php or CGI workers with a crafted request. Arbitrary code execution may be possible and has been demonstrated with known memory addresses. 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.
Timezone cache use-after-free can lead to remote code execution. In non-thread-safe builds, a diagnostic written to a file-based error_log during module startup, for example for an invalid date.timezone value or a session configuration warning, causes the timezone cache to be allocated in startup memory that is freed while a reference to it is kept. A diagnostic raised early in the first request of a worker, such as the max_input_vars warning, then accesses the freed cache. On such a deployment an unauthenticated remote attacker can crash PHP-FPM, Apache mod_php or CGI workers with a crafted request. Arbitrary code execution may be possible and has been demonstrated with known memory addresses. 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.
Timezone cache use-after-free can lead to remote code execution. In n ...
Timezone cache use-after-free can lead to remote code execution
EPSS
8.1 High
CVSS3