×
UpdatePHP Pro Log in Register
PHP expiry alert : PHP v8.1 has recently expired. Is your website still running this version? Click here for more details
SAFE versions of PHP: 8.5.12, 8.4.27, 8.3.36, 8.2.35
☰

PHP 8.1.12 release notes: what changed

PHP 8.1.12 came out on 27 October 2022. Below is the full list of changes it made, grouped by the part of PHP that each one affects.

Security This release fixed security problems, but PHP 8.1 no longer gets any updates. If your site still runs on PHP 8.1, it should be moved to a version of PHP that is still supported.

What changed in PHP 8.1.12

All PHP 8.1 releases

The changes are listed in English, exactly as the PHP developers wrote them (8 in total).

Core

  • Fixes segfault with Fiber on FreeBSD i386 architecture. (David Carlier)

Fileinfo

  • Fixed bug GH-8805 (finfo returns wrong mime type for woff/woff2 files). (Anatol)

GD

  • Fixed bug #81739: OOB read due to insufficient input validation in imageloadfont(). (CVE-2022-31630) (cmb)

Hash

  • Fixed bug #81738: buffer overflow in hash_update() on long parameter. (CVE-2022-37454) (nicky at mouha dot be)

MBString

  • - Fixed bug GH-9683 (Problem when ISO-2022-JP-MS is specified in mb_ encode_mimeheader). (Alex Dowad)

Opcache

  • Added indirect call reduction for jit on x86 architectures. (wxue1)

Session

  • Fixed bug GH-9583 (session_create_id() fails with user defined save handler that doesn't have a validateId() method). (Girgias)

Streams

  • Fixed bug GH-9590 (stream_select does not abort upon exception or empty valid fd set). (Arnaud)

This list comes from the NEWS file that the PHP developers keep with the PHP source code, and the same list is also published on php.net.

Back to Guide Index
Article last updated: 21st October, 2026