This Release is Outdated
The latest release of PHP 8.2 is PHP
8.2.31
.
It is recommended to upgrade to the latest release.
PHP 8.2.27 Release Announcement
The PHP development team announces the immediate availability of PHP 8.2.27. This is a bug fix release.
All PHP 8.2 users are encouraged to upgrade to this version.
For source downloads of PHP 8.2.27 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.
Please note, this is the last bug-fix release for the 8.2.x series. Security fix support will continue until 31 Dec 2026.
For more information, please check our Supported Versions page.
Source Code
Change Log
-
calendar
- Fixed jdtogregorian overflow.
- Fixed cal_to_jd julian_days argument overflow.
-
com
- Fixed bug GH-16991 (Getting typeinfo of non DISPATCH variant segfaults).
-
core
- Fail early in *nix configuration build script.
- Fixed bug GH-16727 (Opcache bad signal 139 crash in ZTS bookworm (frankenphp)).
- Fixed bug GH-16799 (Assertion failure at Zend/zend_vm_execute.h:7469).
- Fixed bug GH-16630 (UAF in lexer with encoding translation and heredocs).
- Fix is_zend_ptr() huge block comparison.
- Fixed potential OOB read in zend_dirname() on Windows.
-
curl
- Fix various memory leaks in curl mime handling.
-
fpm
- Fixed GH-16432 (PHP-FPM 8.2 SIGSEGV in fpm_get_status).
-
gd
- Fixed GH-16776 (imagecreatefromstring overflow).
-
gmp
- Revert gmp_pow() overly restrictive overflow checks.
-
hash
- Fixed GH-16711: Segfault in mhash().
-
opcache
- Fixed bug GH-16770 (Tracing JIT type mismatch when returning UNDEF).
- Fixed bug GH-16851 (JIT_G(enabled) not set correctly on other threads).
- Fixed bug GH-16902 (Set of opcache tests fail zts+aarch64).
-
openssl
- Prevent unexpected array entry conversion when reading key.
- Fix various memory leaks related to openssl exports.
- Fix memory leak in php_openssl_pkey_from_zval().
-
pdo
- Fixed memory leak of `setFetchMode()`.
-
phar
- Fixed bug GH-16695 (phar:// tar parser and zero-length file header blocks).
-
phpdbg
- Fixed bug GH-15208 (Segfault with breakpoint map and phpdbg_clear()).
-
sapi
- Fixed bug GH-16998 (UBSAN warning in rfc1867).
-
simplexml
- Fixed bug GH-16808 (Segmentation fault in RecursiveIteratorIterator ->current() with a xml element input).
-
snmp
- Fixed bug GH-16959 (snmget modifies the object_id array).
-
standard
- Fixed bug GH-16905 (Internal iterator functions can't handle UNDEF properties).
-
streams
- Fixed network connect poll interuption handling.
-
windows
- Fixed bug GH-16849 (Error dialog causes process to hang).