ZendPHP December 2024 Releases
Community changes
PHP version 8.4.2 changes
- 
BcMath - Fixed bug GH-16978: Avoid unnecessary padding with leading zeros
 
- 
COM - Fixed bug GH-16991: Getting typeinfo of non DISPATCHvariant segfaults
 
- Fixed bug GH-16991: Getting typeinfo of non 
- 
Core - Fixed bug GH-16344: setRawValueWithoutLazyInitialization()andskipLazyInitialization()may change initialized proxy
- Fix is_zend_ptr()huge block comparison
- Fixed potential OOB read in zend_dirname()on Windows
- Fixed bug GH-15964: printf()can strip sign of-INF
 
- Fixed bug GH-16344: 
- 
Curl - Fix various memory leaks in curlmime handling
 
- Fix various memory leaks in 
- 
DBA - Fixed bug GH-16990: dba_list()is now zero-indexed instead of using resource ids
 
- Fixed bug GH-16990: 
- 
DOM - Fixed bug GH-16906: Reloading document can cause UAF in iterator
 
- 
FPM - Fixed bug GH-16932: wrong FPM status output
 
- 
GMP - Fixed bug GH-16890: array_sum()withGMPcan lose precision (LLP64)
 
- Fixed bug GH-16890: 
- 
Opcache - Fixed bug GH-16851: JIT_G(enabled)not set correctly on other threads
- Fixed bug GH-16902: Set of opcachetests failzts+aarch64
- Fixed bug GH-16879: JIT dead code skipping does not update call_level
 
- Fixed bug GH-16851: 
- 
SAPI - Fixed bug GH-16998: UBSAN warning in rfc1867
 
- Fixed bug GH-16998: UBSAN warning in 
- 
PHPDBG - Fixed bug GH-15208: Segfault with breakpoint map and phpdbg_clear()
 
- Fixed bug GH-15208: Segfault with breakpoint map and 
- 
Standard - Fixed bug GH-16905: Internal iterator functions can't handle UNDEFproperties
- Fixed bug GH-16957: Assertion failure in array_shiftwith self-referencing array
 
- Fixed bug GH-16905: Internal iterator functions can't handle 
- 
Streams - Fixed network connect poll interruption handling
 
- 
Windows - Fixed bug GH-16849: Error dialog causes process to hang
- Windows Server 2025 is now properly reported
 
PHP version 8.3.15 changes
- 
Calendar - Fixed jdtogregorianoverflow
- Fixed cal_to_jdjulian_daysargument overflow
 
- Fixed 
- 
COM - Fixed bug GH-16991: Getting typeinfo of non DISPATCHvariant segfaults
 
- Fixed bug GH-16991: Getting typeinfo of non 
- 
Core - Fail early in *nix configuration build script
- Fixed bug GH-16727: Opcache bad signal 139 crash in ZTS bookworm
- 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 - Fixed bug GH-16802: open_basedirbypass usingcurlextension
- Fix various memory leaks in curlmime handling
 
- Fixed bug GH-16802: 
- 
DOM - Fixed bug GH-16777: Calling the constructor again on a DOMobject after it is in a document causes UAF
- Fixed bug GH-16906: Reloading document can cause UAF in iterator
 
- Fixed bug GH-16777: Calling the constructor again on a 
- 
FPM - Fixed GH-16432: PHP-FPM 8.2 SIGSEGV in fpm_get_status
 
- Fixed GH-16432: PHP-FPM 8.2 SIGSEGV in 
- 
GD - Fixed GH-16776: imagecreatefromstringoverflow
 
- Fixed GH-16776: 
- 
GMP - Fixed bug GH-16890: array_sum()withGMPcan lose precision (LLP64)
 
- Fixed bug GH-16890: 
- 
Hash - Fixed GH-16711: Segfault in mhash()
 
- Fixed GH-16711: Segfault in 
- 
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 opcachetests failzts+aarch64
 
- Fixed bug GH-16770: Tracing JIT type mismatch when returning 
- 
OpenSSL - Prevent unexpected array entry conversion when reading key
- Fix various memory leaks related to opensslexports
- Fix memory leak in php_openssl_pkey_from_zval()
 
- 
PDO - Fixed memory leak of setFetchMode()
 
- Fixed memory leak of 
- 
Phar - Fixed bug GH-16695: phar://tar parser and zero-length file header blocks
 
- Fixed bug GH-16695: 
- 
PHPDBG - Fixed bug GH-15208: Segfault with breakpoint map and phpdbg_clear()
 
- Fixed bug GH-15208: Segfault with breakpoint map and 
- 
SAPI - Fixed bug GH-16998: UBSAN warning in rfc1867
 
- Fixed bug GH-16998: UBSAN warning in 
- 
SimpleXML - Fixed bug GH-16808: Segmentation fault in RecursiveIteratorIterator->current()with an XML element input
 
- Fixed bug GH-16808: Segmentation fault in 
- 
SOAP - Fix make check being invoked in ext/soap
 
- Fix make check being invoked in 
- 
Standard - Fixed bug GH-16905: Internal iterator functions can't handle UNDEFproperties
- Fixed bug GH-16957: Assertion failure in array_shiftwith self-referencing array
 
- Fixed bug GH-16905: Internal iterator functions can't handle 
- 
Streams - Fixed network connect poll interruption handling
 
- 
Windows - Fixed bug GH-16849: Error dialog causes process to hang
 
PHP version 8.2.27 changes
- 
Calendar - Fixed jdtogregorianoverflow
- Fixed cal_to_jdjulian_daysargument overflow
 
- Fixed 
- 
COM - Fixed bug GH-16991: Getting typeinfo of non DISPATCHvariant segfaults
 
- Fixed bug GH-16991: Getting typeinfo of non 
- 
Core - Fail early in *nix configuration build script
- Fixed bug GH-16727: Opcache bad signal 139 crash in ZTS bookworm
- 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 curlmime handling
 
- Fix various memory leaks in 
- 
FPM - Fixed GH-16432: PHP-FPM 8.2 SIGSEGV in fpm_get_status
 
- Fixed GH-16432: PHP-FPM 8.2 SIGSEGV in 
- 
GD - Fixed GH-16776: imagecreatefromstringoverflow
 
- Fixed GH-16776: 
- 
GMP - Revert gmp_pow()overly restrictive overflow checks
 
- Revert 
- 
Hash - Fixed GH-16711: Segfault in mhash()
 
- Fixed GH-16711: Segfault in 
- 
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 opcachetests failzts+aarch64
 
- Fixed bug GH-16770: Tracing JIT type mismatch when returning 
- 
OpenSSL - Prevent unexpected array entry conversion when reading key
- Fix various memory leaks related to opensslexports
- Fix memory leak in php_openssl_pkey_from_zval()
 
- 
PDO - Fixed memory leak of setFetchMode()
 
- Fixed memory leak of 
- 
Phar - Fixed bug GH-16695: phar://tar parser and zero-length file header blocks
 
- Fixed bug GH-16695: 
- 
PHPDBG - Fixed bug GH-15208: Segfault with breakpoint map and phpdbg_clear()
 
- Fixed bug GH-15208: Segfault with breakpoint map and 
- 
SAPI - Fixed bug GH-16998: UBSAN warning in rfc1867
 
- Fixed bug GH-16998: UBSAN warning in 
- 
SimpleXML - Fixed bug GH-16808: Segmentation fault in RecursiveIteratorIterator->current()with an XML element input
 
- Fixed bug GH-16808: Segmentation fault in 
- 
SNMP - Fixed bug GH-16959: snmgetmodifies theobject_idarray
 
- Fixed bug GH-16959: 
- 
Standard - Fixed bug GH-16905: Internal iterator functions can't handle UNDEFproperties
 
- Fixed bug GH-16905: Internal iterator functions can't handle 
- 
Streams - Fixed network connect poll interruption handling
 
- 
Windows - Fixed bug GH-16849: Error dialog causes process to hang