×
UpdatePHP Pro ログイン 登録する
PHPの有効期限切れアラート : PHP v8.1 最近期限が切れました. あなたのウェブサイトはまだこのバージョンを実行していますか? 詳細についてはここをクリックしてください
安全 PHP のバージョン: 8.5.12, 8.4.27, 8.3.36, 8.2.35
☰

PHP 8.5.6 リリースノート:変更点

PHP 8.5.6 は 2026年5月7日 にリリースされました。以下は、このリリースで行われた変更の一覧で、それぞれが影響する PHP の部分ごとにまとめています。

セキュリティ このリリースではセキュリティ上の問題が修正されました。その後 PHP 8.5 には新しいリリースが出ているため、サイトが PHP 8.5 で動いている場合は、これらの修正を含む PHP 8.5.12 に更新してください。

変更点は、PHP の開発者が書いたとおりに英語で掲載しています(全 42 件)。

Core

  • Fixed bug GH-19983 (GC assertion failure with fibers, generators and destructors). (iliaal)
  • Fixed ZEND_API mismatch on zend_ce_closure forward decl for Windows+Clang. (henderkes)
  • Fixed bug GH-21504 (Incorrect RC-handling for ZEND_EXT_STMT op1). (ilutov)
  • Fixed bug GH-21478 (Forward property operations to real instance for initialized lazy proxies). (iliaal)
  • Fixed bug GH-21605 (Missing addref for Countable::count()). (ilutov)
  • Fixed bug GH-21699 (Assertion failure in shutdown_executor when resolving self::/parent::/static:: callables if the error handler throws). (macoaure)
  • Fixed bug GH-21603 (Missing addref for __unset). (ilutov)
  • Fixed bug GH-21760 (Trait with class constant name conflict against enum case causes SEGV). (Pratik Bhujel)

CLI

  • Fixed bug GH-21754 (`--rf` command line option with a method triggers ext/reflection deprecation warnings). (DanielEScherzer)

Curl

  • Add support for brotli and zstd on Windows. (Shivam Mathur)

DOM

FPM

Iconv

  • Fixed bug GH-17399 (iconv memory leak on bailout). (iliaal)

Lexbor

MBString

Opcache

  • Fixed bug GH-21158 (JIT: Assertion jit->ra[var].flags & (1<<0) failed in zend_jit_use_reg). (Arnaud)
  • Fixed bug GH-21593 (Borked function JIT JMPNZ smart branch). (ilutov)
  • Fixed bug GH-21460 (COND optimization regression). (Dmitry, Arnaud)
  • Fixed faulty returns out of zend_try block in zend_jit_trace(). (ilutov)

OpenSSL

  • Fix memory leak regression in openssl_pbkdf2(). (ndossche)
  • Fix a bunch of memory leaks and crashes on edge cases. (ndossche)

PDO_Firebird

PDO_PGSQL

  • Fixed bug GH-21683 (pdo_pgsql throws with ATTR_PREFETCH=0 on empty result set). (thomasschiet)

Phar

  • Restore is_link handler in phar_intercept_functions_shutdown. (iliaal)
  • Fixed bug GH-21797 (phar: NULL dereference in Phar::webPhar() when SCRIPT_NAME is absent from SAPI environment). (iliaal)
  • Fix memory leak in Phar::offsetGet(). (iliaal)
  • Fix memory leak in phar_add_file(). (iliaal)
  • Fixed bug GH-21799 (phar: propagate phar_stream_flush return value from phar_stream_close). (iliaal)
  • Fix memory leak in phar_verify_signature() when md_ctx is invalid. (JarneClauw)

Random

  • Fixed bug GH-21731 (Random\Engine\Xoshiro256StarStar::__unserialize() accepts all-zero state). (iliaal)

Session

  • Fixed memory leak when session GC callback return a refcounted value. (jorgsowa)

SOAP

SPL

  • Fixed bug GH-21499 (RecursiveArrayIterator getChildren UAF after parent free). (Girgias)
  • Fix concurrent iteration and deletion issues in SplObjectStorage. (ndossche)

Sqlite3

  • Fixed wrong free list comparator pointer type. (David Carlier)

Standard

Streams

  • Fixed bug GH-21468 (Segfault in file_get_contents w/ a https URL and a proxy set). (CVE-2026-12184) (ndossche)

URI

この一覧は、PHP の開発者が PHP のソースコードとともに管理している NEWS ファイル から取得したもので、同じ一覧は php.net でも公開されています。

戻る:ガイド一覧
記事の最終更新: 21st October, 2026