Skip to content
Critical 9.2

PHPに遠隔からコードを実行される脆弱性、8.5.13で修正

CVE-2026-129474 First seen on SecPulse

Summary

PHP 8.5.0以降8.5.13未満の一部で、マジックメソッドのバックトレース処理に解放済みメモリを参照する脆弱性が見つかりました。メモリ上限超過などの致命的エラーが起きた際に、遠隔から攻撃されて任意のコードを実行されるおそれがあり、CVSS v4は9.2です。修正版の8.5.13に更新してください。php.ini-productionの既定設定ではzend.exception_ignore_argsが有効で、この問題を防げます。

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.5.0以降8.5.13未満の一部で、マジックメソッドのバックトレース処理に解放済みメモリを参照する脆弱性が見つかりました。メモリ上限超過などの致命的エラーが起きた際に、遠隔から攻撃されて任意のコードを実行されるおそれがあり、CVSS v4は9.2です。修正版の8.5.13に更新してください。php.ini-productionの既定設定ではzend.exception_ignore_argsが有効で、この問題を防げます。

Affected packages

PackageAffected → Fixed
PHP GroupPHP
≥ 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 in magic method backtraces can lead to remote code execution.

When collecting the arguments of a method call handled by __call() or __callStatic() for a backtrace, PHP can read stale values that may refer to freed memory. If a fatal error such as exceeding memory_limit occurs while an application enters such a call, with fatal_error_backtraces enabled (the default) and zend.exception_ignore_args disabled, a remote attacker who controls enough request data to influence memory allocation may cause memory corruption, crash the PHP worker or, with knowledge of memory addresses, execute arbitrary code. php.ini-production enables zend.exception_ignore_args, which prevents this.

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