Skip to content
Critical 9.2

PHPに解放後メモリ使用の脆弱性、クラッシュやメモリ破壊のおそれ

CVE-2026-129481 First seen on SecPulse

Summary

PHPのセッション終了処理で、エラー発生後に解放済みメモリを参照する脆弱性が見つかりました。攻撃者が処理を失敗させると、ワーカーがクラッシュしたりメモリが壊されたりするおそれがあります。影響するのは8.3.37より前の8.3系、8.4.28より前の8.4系、8.5.13より前の8.5系で、修正版の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.3.37より前の8.3系、8.4.28より前の8.4系、8.5.13より前の8.5系で、修正版の8.3.37、8.4.28、8.5.13への更新が必要です。コードの実行は確認されていないものの、早めの更新をおすすめします。

Affected packages

PackageAffected → Fixed
PHP GroupPHP
≥ 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.

Use-after-free after interrupted session shutdown.

The session extension records the filename of the executing script when a session starts. If a fatal error occurs in an application callback while the session variables are destroyed at shutdown, such as stream_close() of a user-defined stream wrapper, the pointer is retained after the request memory is freed, and a later request handled by the same worker can free the stale string. An attacker who can trigger such a failing cleanup may crash the worker or corrupt memory; code execution has not been demonstrated. This requires the filename to be allocated in request memory, for example when the script is not cached by OPcache.

This issue affects PHP versions 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