PHP Release 8.2.9

PHP 8.2.9 Release Announcement

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

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

Windows source and binaries are not synchronized and do not contain a fix for GH-11854.

For source downloads of PHP 8.2.9 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.2.9 (tar.gz)
SHA256: 5fac52041335cacfb5845aeff2303f92403925338a0285f2e160feebcb840f04
PHP 8.2.9 (tar.bz2)
SHA256: 48460b994ae7eb5096a310f44d13e865de1771104d4a550d53072be58a6f176c
PHP 8.2.9 (tar.xz)
SHA256: 1e6cb77f997613864ab3127fbfc6a8c7fdaa89a95e8ed6167617b913b4de4765
Change Logs
build
  • Fixed bug GH-11522 (PHP version check fails with '-' separator).
cli
  • Fix interrupted CLI output causing the process to exit.
core
  • Fixed oss-fuzz #60011 (Mis-compilation of by-reference nullsafe operator).
  • Fixed line number of JMP instruction over else block.
  • Fixed use-of-uninitialized-value with ??= on assert.
  • Fixed oss-fuzz #60411 (Fix double-compilation of arrow-functions).
  • Fixed build for FreeBSD before the 11.0 releases.
curl
  • Fix crash when an invalid callback function is passed to CURLMOPT_PUSHFUNCTION.
date
  • Fixed bug GH-11368 (Date modify returns invalid datetime).
  • Fixed bug GH-11600 (Can't parse time strings which include (narrow) non-breaking space characters).
  • Fixed bug GH-11854 (DateTime:createFromFormat stopped parsing datetime with extra space).
dom
  • Fixed bug GH-11625 (DOMElement::replaceWith() doesn't replace node with DOMDocumentFragment but just deletes node or causes wrapping <></> depending on libxml2 version).
fileinfo
  • Fixed bug GH-11298 (finfo returns wrong mime type for xz files).
ftp
  • Fix context option check for "overwrite".
  • Fixed bug GH-10562 (Memory leak and invalid state with consecutive ftp_nb_fget).
gd
  • Fix most of the external libgd test failures.
intl
  • Fix memory leak in MessageFormatter::format() on failure.
libxml
  • Fixed bug GHSA-3qrf-m4j2-pcrr (Security issue with external entity loading in XML without enabling it). (CVE-2023-3823)
mbstring
  • Fix GH-11300 (license issue: restricted unicode license headers).
opcache
  • Fixed bug GH-10914 (OPCache with Enum and Callback functions results in segmentation fault).
  • Prevent potential deadlock if accelerated globals cannot be allocated.
pcntl
  • Fixed bug GH-11498 (SIGCHLD is not always returned from proc_open).
pdo
  • Fix GH-11587 (After php8.1, when PDO::ATTR_EMULATE_PREPARES is true and PDO::ATTR_STRINGIFY_FETCHES is true, decimal zeros are no longer filled).
pdo sqlite
  • Fix GH-11492 (Make test failure: ext/pdo_sqlite/tests/bug_42589.phpt).
phar
  • Add missing check on EVP_VerifyUpdate() in phar util.
  • Fixed bug GHSA-jqcx-ccgc-xwhv (Buffer mismanagement in phar_dir_read()). (CVE-2023-3824)
phpdbg
  • Fixed bug GH-9669 (phpdbg -h options doesn't list the -z option).
session
  • Removed broken url support for transferring session ID.
standard
  • Fix serialization of RC1 objects appearing in object graph twice.
streams
  • Fixed bug GH-11735 (Use-after-free when unregistering user stream wrapper from itself).
sqlite3
  • Fix replaced error handling in SQLite3Stmt::__construct.
xmlreader
  • Fix GH-11548 (Argument corruption when calling XMLReader::open or XMLReader::XML non-statically with observer active).
To Top