Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-126714

Опубликовано: 19 нояб. 2026
Источник: redhat
CVSS3: 8.1

Описание

Partially overwritten session files can lead to remote code execution. The files session save handler, which is the default, writes updated session data into the existing session file without first clearing it. If a write is interrupted, the file can contain the beginning of the new session followed by the end of the old one, and bytes of an ordinary string can later be unserialized as objects. An attacker who can influence the session data, for example through session upload progress, and interrupt a write at a suitable point may inject objects, which can lead to code execution when the application contains a suitable gadget chain. Session data can also be corrupted. 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 unauthenticated remote attacker can exploit this vulnerability to achieve arbitrary code execution by causing session files to be partially overwritten. Successful exploitation may allow an attacker to run unauthorized commands on the affected system.

Меры по смягчению последствий

See the security bulletin for a detailed mitigation procedure.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6phpOut of support scope
Red Hat Enterprise Linux 10php8.4FixedRHSA-2026:10082120.11.2026
Red Hat Enterprise Linux 10phpFixedRHSA-2026:10230023.11.2026
Red Hat Enterprise Linux 10.2 Extended Update Supportphp8.4FixedRHSA-2026:10125121.11.2026
Red Hat Enterprise Linux 7 Extended Lifecycle SupportphpFixedRHSA-2026:10133722.11.2026
Red Hat Enterprise Linux 8phpFixedRHSA-2026:10099121.11.2026
Red Hat Enterprise Linux 8phpFixedRHSA-2026:10127622.11.2026
Red Hat Enterprise Linux 9phpFixedRHSA-2026:10222623.11.2026
Red Hat Enterprise Linux 9phpFixedRHSA-2026:10225523.11.2026
Red Hat Enterprise Linux 9phpFixedRHSA-2026:10226123.11.2026

Показывать по

Дополнительная информация

Статус:

Critical
Дефект:
CWE-502
https://bugzilla.redhat.com/show_bug.cgi?id=2576606php: Partially overwritten session files can lead to remote code execution

8.1 High

CVSS3

Связанные уязвимости

ubuntu
9 дней назад

PHP's file-based session handler can leave a session file containing parts of two different serialized sessions if a write is interrupted. An attacker who can influence the session contents and interrupt a replacement write may be able to make PHP deserialize attacker-controlled objects when the session is next opened. A suitable object gadget chain in the application can turn this into remote code execution. This affects the files session save handler, which is PHP's default. The issue is not limited to session upload progress or PHP 8.6.

nvd
8 дней назад

Partially overwritten session files can lead to remote code execution. The files session save handler, which is the default, writes updated session data into the existing session file without first clearing it. If a write is interrupted, the file can contain the beginning of the new session followed by the end of the old one, and bytes of an ordinary string can later be unserialized as objects. An attacker who can influence the session data, for example through session upload progress, and interrupt a write at a suitable point may inject objects, which can lead to code execution when the application contains a suitable gadget chain. Session data can also be corrupted. 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.

msrc
8 дней назад

Partially overwritten session files can lead to remote code execution

debian
8 дней назад

Partially overwritten session files can lead to remote code execution. ...

github
8 дней назад

Partially overwritten session files can lead to remote code execution

8.1 High

CVSS3