PHP Release 8.1.12


PHP 8.1.12 Release Announcement

The PHP development team announces the immediate availability of PHP 8.1.12. This is a security release.

All PHP 8.1 users are encouraged to upgrade to this version.

For source downloads of PHP 8.1.12 please visit our downloads page, Windows source and binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.

Source Code
PHP 8.1.12 (tar.gz)
SHA256: e0e7c823c9f9aa4c021f5e34ae1a7acafc2a9f3056ca60eb70a8af8f33da3fdf
PHP 8.1.12 (tar.bz2)
SHA256: f87d73e917facf78de7bcde53fc2faa4d4dbe0487a9406e1ab68c8ae8f33eb03
PHP 8.1.12 (tar.xz)
SHA256: 08243359e2204d842082269eedc15f08d2eca726d0e65b93fb11f4bfc51bbbab
Change Logs
core
  • Fixes segfault with Fiber on FreeBSD i386 architecture.
fileinfo
  • Fixed bug GH-8805 (finfo returns wrong mime type for woff/woff2 files).
gd
  • Fixed bug #81739: OOB read due to insufficient input validation in imageloadfont(). (CVE-2022-31630)
hash
  • Fixed bug #81738: buffer overflow in hash_update() on long parameter. (CVE-2022-37454)
mbstring
  • Fixed bug GH-9683 (Problem when ISO-2022-JP-MS is specified in mb_ encode_mimeheader).
opcache
  • Added indirect call reduction for jit on x86 architectures.
session
  • Fixed bug GH-9583 (session_create_id() fails with user defined save handler that doesn't have a validateId() method).
streams
  • Fixed bug GH-9590 (stream_select does not abort upon exception or empty valid fd set).
To Top