×
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.27 release notes: what changed

PHP 8.1.27 came out on 21 December 2023. Below is the full list of changes it made, grouped by the part of PHP that each one affects.

What changed in PHP 8.1.27

All PHP 8.1 releases

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

Core

  • Fixed oss-fuzz #54325 (Use-after-free of name in var-var with malicious error handler). (ilutov)
  • Fixed oss-fuzz #64209 (In-place modification of filename in php_message_handler_for_zend). (ilutov)
  • Fixed bug GH-12758 / GH-12768 (Invalid opline in OOM handlers within ZEND_FUNC_GET_ARGS and ZEND_BIND_STATIC). (Florian Engelhardt)

DOM

  • Fixed bug GH-12616 (DOM: Removing XMLNS namespace node results in invalid default: prefix). (nielsdos)

FPM

  • Fixed bug GH-12705 (Segmentation fault in fpm_status_export_to_zval). (Patrick Prasse)

Intl

  • Fixed bug GH-12635 (Test bug69398.phpt fails with ICU 74.1). (nielsdos)

LibXML

  • Fixed bug GH-12702 (libxml2 2.12.0 issue building from src). (nono303)

MySQLnd

  • Avoid using uninitialised struct. (mikhainin)

OpenSSL

  • Fixed bug #50713 (openssl_pkcs7_verify() may ignore untrusted CAs). (Jakub Zelenka)

PCRE

  • Fixed bug GH-12628 (The gh11374 test fails on Alpinelinux). (nielsdos)

PGSQL

  • Fixed bug GH-12763 wrong argument type for pg_untrace. (degtyarov)

PHPDBG

  • Fixed bug GH-12675 (MEMORY_LEAK in phpdbg_prompt.c). (nielsdos)

SQLite3

  • Fixed bug GH-12633 (sqlite3_defensive.phpt fails with sqlite 3.44.0). (SakiTakamachi)

Standard

  • Fix memory leak in syslog device handling. (danog)
  • Fixed bug GH-12621 (browscap segmentation fault when configured in the vhost). (nielsdos)
  • Fixed bug GH-12655 (proc_open() does not take into account references in the descriptor array). (nielsdos)

Streams

  • Fixed bug #79945 (Stream wrappers in imagecreatefrompng causes segfault). (Jakub Zelenka)

Zip

  • Fixed bug GH-12661 (Inconsistency in ZipArchive::addGlob remove_path Option Behavior). (Remi)

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