Skip to content
Critical 9.2

PHPのセッション保存処理に脆弱性、任意のコードを実行されるおそれ

CVE-2026-126714 First seen on SecPulse

Summary

PHPのセッションファイルの書き込みが途中で中断されると、古いデータと新しいデータが混ざり、オブジェクトが注入されるおそれがあります。影響を受けるのは8.2.36より前の8.2系、8.3.37より前の8.3系、8.4.28より前の8.4系、8.5.13より前の8.5系で、修正版の8.2.36、8.3.37、8.4.28、8.5.13が公開されています。該当する版を使っている場合は、修正版への更新を急ぐ必要があります。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

PHPのセッションファイルの書き込みが途中で中断されると、古いデータと新しいデータが混ざり、オブジェクトが注入されるおそれがあります。影響を受けるのは8.2.36より前の8.2系、8.3.37より前の8.3系、8.4.28より前の8.4系、8.5.13より前の8.5系で、修正版の8.2.36、8.3.37、8.4.28、8.5.13が公開されています。該当する版を使っている場合は、修正版への更新を急ぐ必要があります。

Affected packages

PackageAffected → Fixed
PHP GroupPHP
< 8.2.36→ 8.2.36
≥ 8.3.0, < 8.3.37→ 8.3.37
≥ 8.4.0, < 8.4.28→ 8.4.28
≥ 8.5.0, < 8.5.13→ 8.5.13

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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 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.

Source: CVE.org (CVE Program・cvelistV5) NVD

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details