Commit 4899443a92f for php
commit 4899443a92fd7bded98c535e4f176ce7729678fb
Author: Tim Düsterhus <tim@bastelstu.be>
Date: Tue Nov 17 21:31:48 2026 +0100
Unmess NEWS for PHP-8.4
Commit 36c6d1f500f7ec477f6eae0b0f5c46b041d82347 shipped a bad merge. This
commit resets NEWS to the parent (de5c604302712362dc8d2f366a0b36066ed8dce6) and
reapplies all changes that happened afterwards in the correct 8.4.29 section:
git diff 36c6d1f500f7ec477f6eae0b0f5c46b041d82347..PHP-8.4 -- NEWS
The desired NEWS entry for 36c6d1f500f7ec477f6eae0b0f5c46b041d82347 was pulled
from PHP-8.5.
diff --git a/NEWS b/NEWS
index 70354ee97c6..2336f913bf5 100644
--- a/NEWS
+++ b/NEWS
@@ -1,20 +1,12 @@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-?? ??? ????, PHP 8.4.28
+?? ??? ????, PHP 8.4.29
+
+- CLI:
+ . Fixed built-in server rejecting long request paths, or paths received in
+ several pieces, as malformed. (Ilia Alshanetsky)
- Core:
- . Fixed bug GH-24184 (System ID not being reinitialized after an Apache
- graceful restart, potentially causing incompatible OPcache file cache
- entries to be reused). (Levi Morrison)
- . Fixed memory leak when an exception already contains the pending exception
- in its previous chain. (Edmond)
- . Fixed bug GH-23979 (Nullsafe operator must not flush delayed oplines of an
- enclosing function). (ndossche)
- . Fixed memory manager keeping a block reallocated to exactly the size of
- the next smaller bin in its larger bin, which efree_size() then freed
- into the wrong one. (Marc Bennewitz)
- . Fixed bug GH-24218 (Invalid opcode for count() of a literal array
- without SCCP). (lazerg)
. Fixed AST printing of interface extends list as implements. (Jorg Sowa)
. Fixed AST printing dropping fully qualified and namespace-relative prefixes
of class names in implements, catch, and trait use lists. (Jorg Sowa)
@@ -34,6 +26,152 @@ PHP NEWS
. Fixed bug GH-25311 (Assertion ret == SUCCESS in array_map()/array_filter()
after delayed out-of-memory). (ndossche)
. Fixed AST export of by-reference property hooks. (Jorg Sowa)
+ . Fixed object_properties_load() adding integer keys to property tables, which
+ made the properties unreadable and clone hit an assertion.
+ (Nicolas Grekas)
+
+- Curl:
+ . Fixed curl_reset() retaining CURLOPT_PRIVATE after reset. (lacatoire)
+
+- DBA:
+ . Fixed dba_close() not closing a database opened with dba_popen().
+ (Ilia Alshanetsky)
+
+- DOM:
+ . Fixed bug GH-25268 (NULL php_libxml_ref_obj dereference in
+ dom_objects_store_clone_obj when cloning Dom\Notation). (David Carlier)
+ . Fixed bug GH-25306 (Assertion status == LXB_STATUS_OK in dom_parse_selector
+ when lexbor allocation fails). (ndossche)
+ . Fixed bug GH-25434 (C14NFile() on a Dom\XMLDocument leaves the document
+ changed and leaks memory). (lazerg)
+
+- GD:
+ . Fixed use-after-free when drawing with a brush or tile image that was
+ released after imagesetbrush() or imagesettile(). (lacatoire)
+ . Fixed the argument blamed by the imagepolygon(), imageopenpolygon() and
+ imagefilledpolygon() too few points error. (lacatoire)
+
+- Filter:
+ . Fixed stack overflow in filter_var() and filter_var_array() with deeply
+ nested arrays. (Eyüp Can Akman)
+
+- Intl:
+ . Fixed Locale::lookup() ignoring the default locale when the language tag
+ list is empty. (Weilin Du)
+
+- JSON:
+ . Fixed json_decode() and json_validate() error messages. (lacatoire)
+
+- MBString:
+ . Fixed stack overflow in mb_check_encoding() and mb_convert_encoding() with
+ deeply nested arrays. (Eyüp Can Akman)
+
+- Opcache:
+ . Fixed bug GH-24801 (JIT: SIGFPE in ir_fold MUL_OV constant folding).
+ (waroad)
+ . Fixed bug GH-25165 (Tracing JIT loops forever once opcache.jit_buffer_size
+ is exhausted while compiling side traces). (Ilia Alshanetsky)
+ . Fixed bug GH-25164 (Function JIT loop calling a user function runs once
+ or never terminates). (Ilia Alshanetsky)
+ . Fixed memory leak in JIT ASSIGN_DIM when the assignment fails. (Jorg Sowa)
+ . Fixed bug GH-16396 (Failed to invoke user error handler during index
+ conversion in JIT). (Jorg Sowa)
+ . Fixed bug GH-25037 (Function JIT ENTRY live var assertion).
+ (Ilia Alshanetsky)
+ . Fixed JIT ignoring leading-numeric string offsets in isset(), empty() and
+ ??. (Jorg Sowa)
+ . Fixed use-after-free in JIT when the error handler releases a string while
+ an "Undefined variable" warning is raised for its offset in ?? or nested
+ isset()/empty(). (Jorg Sowa)
+ . Fixed tracing JIT reading the int result of ++/-- on a reference as a
+ double. (ChrisAbner)
+ . Fixed bug GH-25359 (Tracing JIT drops reference type of a named by-ref
+ argument). (David Carlier)
+ . Fixed bug GH-8739 (OPcache restart corrupts SHM in threaded SAPIs).
+ (pavimus)
+ . Fixed opcache.enable_file_override lookups racing with OPcache restarts
+ (pavimus)
+
+- PDO_Firebird:
+ . Fixed stack buffer overflow with long connection user names, passwords,
+ charsets, or roles. (Ilia Alshanetsky)
+
+- PCRE:
+ . Fixed \C being allowed in patterns enabling UTF mode with (*UTF) instead
+ of the u modifier. (Jorg Sowa)
+
+- POSIX:
+ . Fixed bug GH-25530 (posix_get_last_error() returns an error from a
+ previous request). (Artem Ukrainskiy)
+
+- Reflection:
+ . Fixed ReflectionMethod::getClosure() returning a closure for abstract
+ methods, which crashed when called for the ones of internal classes.
+ (Nicolas Grekas)
+
+- SNMP:
+ . Fixed use-after-free of the context name set by SNMP::setSecurity().
+ (lacatoire)
+
+- SOAP:
+ . Fixed bug GH-25267 (NULL dereference in to_xml_any() with integer key).
+ (lazerg)
+ . Fixed bug GH-25094 (NULL dereference in get_doc_function() with missing
+ parts). (lazerg)
+
+- Sockets:
+ . Fixed bug GH-25530 (socket_last_error() without a socket returns an error
+ from a previous request). (Artem Ukrainskiy)
+
+- Readline:
+ . Fixed incorrect handling of non-ASCII pending_input bytes in readline_info(),
+ which could cause readline() to return false prematurely. (Weilin Du)
+
+- Reflection:
+ . Fix trampoline leak when object construction fails for lazy object.
+ (ndossche)
+
+- Session:
+ . Fixed session upload progress to respect session.use_only_cookies.
+ (jorgsowa)
+
+- Standard:
+ . Fixed bug GH-25474 (version_compare() treats large numeric parts as equal
+ on 64-bit Windows). (lazerg)
+ . Fixed dns_get_record() returning partially built records for malformed
+ DNS responses. (Marti2203)
+ . Fixed bug GH-25387 (Uploaded files leak in request_parse_body()).
+ (Kévin Dunglas)
+ . Fixed bug GH-24743 (var_export() ignores exceptions from lazy object
+ initialization). (lazerg)
+ . Fixed memory leak in get_meta_tags() when a tag opens while an attribute
+ value is expected. (Jorg Sowa)
+
+- Streams:
+ . Fixed bug GH-22063 (Stream filter chain UAF on self-removal during
+ callback). (Ilia Alshanetsky)
+ . Fixed leaks and data loss when user filter leaves buckets on input
+ brigade. (ndossche, Matthias Goergens, Jakub Zelenka)
+ . Fixed bug GH-24175 (Use-after-free when pclose() closes a stream from its
+ user filter). (Edmond)
+ . Fixed bug GH-15701 (Build failure: incompatible funopen() seeker pointer
+ type on 32-bit platforms). (Kamil Tekiela)
+
+19 Nov 2026, PHP 8.4.28
+
+- Core:
+ . Fixed bug GH-24184 (System ID not being reinitialized after an Apache
+ graceful restart, potentially causing incompatible OPcache file cache
+ entries to be reused). (Levi Morrison)
+ . Fixed memory leak when an exception already contains the pending exception
+ in its previous chain. (Edmond)
+ . Fixed bug GH-23979 (Nullsafe operator must not flush delayed oplines of an
+ enclosing function). (ndossche)
+ . Fixed memory manager keeping a block reallocated to exactly the size of
+ the next smaller bin in its larger bin, which efree_size() then freed
+ into the wrong one. (Marc Bennewitz)
+ . Fixed bug GH-24218 (Invalid opcode for count() of a literal array
+ without SCCP). (lazerg)
. Fix throwing behaviour with recursive arrays in VM. (ndossche)
. Fixed skipped catch block when switching fibers during exception unwinding
(Nicolas Grekas)
@@ -68,19 +206,8 @@ PHP NEWS
. Fixed bug GH-24480 (Finally block running a second time when a VM interrupt
throws as the finally block returns to a "return" in its try block).
(C. Scott Ananian)
- . Fixed GHSA-w8hw-w9fx-j79w, GHSA-6wmf-4rv5-p3rp (Avoid state corruption via
- bailout). (CVE-2026-109618, CVE-2026-109619) (Arnaud, ilutov, Jakub Zelenka,
- ndossche, Nicolas Grekas)
- . Fixed use-after-free when a Fiber callable resolves to $this of the method
- creating the Fiber ([A::class, 'm'] or "A::m") and that object dies before
- the Fiber runs. (Edmond Dantes)
- . Fixed object_properties_load() adding integer keys to property tables, which
- made the properties unreadable and clone hit an assertion.
- (Nicolas Grekas)
- CLI:
- . Fixed built-in server rejecting long request paths, or paths received in
- several pieces, as malformed. (Ilia Alshanetsky)
. Fixed bug GH-24697 (PHP_HTTP_PARSER_STRICT build option doesn't work).
(ndossche, devnexen)
. Fixed bug GH-9670 (List -C and -q in the CLI help). (Juan Versolato Lopes)
@@ -92,7 +219,6 @@ PHP NEWS
resolving an event source with no loaded typelib). (Ilia Alshanetsky)
- Curl:
- . Fixed curl_reset() retaining CURLOPT_PRIVATE after reset. (lacatoire)
. Fix use-after-free of CURLOPT_STDERR stream on cloned curl handle.
(lacatoire)
. Fix UAF on clone due to callback data pointer mismatch. (ndossche)
@@ -104,22 +230,14 @@ PHP NEWS
in-process module restart). (Lazizbek Ergashev)
- DBA:
- . Fixed dba_close() not closing a database opened with dba_popen().
- (Ilia Alshanetsky)
. Fixed bug GH-24641 (ndbm backend never checks dbm_open() return value,
NULL deref on first use after a failed open). (Girgias)
- DOM:
- . Fixed bug GH-23352 (UAF reading an attribute value node retained across
- DOMDocument::adoptNode()). (David Carlier)
- . Fixed bug GH-25268 (NULL php_libxml_ref_obj dereference in
- dom_objects_store_clone_obj when cloning Dom\Notation). (David Carlier)
- . Fixed bug GH-25306 (Assertion status == LXB_STATUS_OK in dom_parse_selector
- when lexbor allocation fails). (ndossche)
- . Fixed bug GH-25434 (C14NFile() on a Dom\XMLDocument leaves the document
- changed and leaks memory). (lazerg)
. Fixed a use-after-free when reflected attribute setters replace an
attribute whose child still has a live wrapper. (Jakub Zelenka)
+ . Fixed bug GH-23352 (UAF reading an attribute value node retained across
+ DOMDocument::adoptNode()). (David Carlier)
. Fixed bug GH-24260 (querySelectorAll() returns duplicate elements for
selector lists). (fivefilters)
. Fixed bug GH-23334 (Use-after-free in php_dom_free_templated_content()).
@@ -137,14 +255,6 @@ PHP NEWS
. Fixed bug GH-24582 (Memory leaks in ext/ffi parser when finalize_type()
bails out). (matyapiro31, David Carlier)
-- Fileinfo:
- . Fixed bug GH-24289 (finfo::file() reports the wrong argument number for
- an invalid $filename). (Lazizbek Ergashev)
-
-- Filter:
- . Fixed stack overflow in filter_var() and filter_var_array() with deeply
- nested arrays. (Eyüp Can Akman)
-
- FPM:
. Fixed bug GH-24229 (fcgi_close() passes shutdown() a literal 1, which is
SHUT_RD in WASI). (Ryosuke Ishibashi)
@@ -161,14 +271,14 @@ PHP NEWS
. Fixed null pointer dereference in fpm_get_status() when the scoreboard
copy fails. (Marcel Hernandez)
+- Fileinfo:
+ . Fixed bug GH-24289 (finfo::file() reports the wrong argument number for
+ an invalid $filename). (Lazizbek Ergashev)
+
- FTP:
. Fix double free in ext/ftp data_accept() on accept failure. (alepacheco)
- GD:
- . Fixed use-after-free when drawing with a brush or tile image that was
- released after imagesetbrush() or imagesettile(). (lacatoire)
- . Fixed the argument blamed by the imagepolygon(), imageopenpolygon() and
- imagefilledpolygon() too few points error. (lacatoire)
. Fixed imagetruecolortopalette() error message. (Marc Bennewitz)
- Hash:
@@ -177,11 +287,8 @@ PHP NEWS
- Intl:
. Fixed IntlDateFormatter parse functions truncating an $offset below
INT_MIN. (Marc Bennewitz)
- . Fixed Locale::lookup() ignoring the default locale when the language tag
- list is empty. (Weilin Du)
- JSON:
- . Fixed json_decode() and json_validate() error messages. (lacatoire)
. Fixed json_encode() leaving the recursion guard set on objects with hooked
properties after running out of memory while escaping a property name.
(adapik)
@@ -194,8 +301,6 @@ PHP NEWS
. Fix crash in ldap_exop_sync() when $response_data is omitted. (lacatoire)
- MBString:
- . Fixed stack overflow in mb_check_encoding() and mb_convert_encoding() with
- deeply nested arrays. (Eyüp Can Akman)
. Fixed bug GH-23958 (truncated encoding names resolving to full names). (Kamil Tekiela)
. Fixed out-of-bounds read in php_mb_rfc1867_getword() on a multibyte lead
byte at the end of a multipart field name. (Jorg Sowa)
@@ -215,6 +320,11 @@ PHP NEWS
cannot describe a parameter). (Ilia Alshanetsky)
- Opcache:
+ . Fixed bug GH-24397 (Assertion failure when dumping JIT IR).
+ (Ilia Alshanetsky)
+ . Fixed tracing JIT returning a wrapped integer instead of a float on
+ integer overflow after an integer was compared with a float or
+ numeric-string literal. (Ilia Alshanetsky)
. Fixed bug GH-20890 (Segfault in zval_undefined_cv with non-simple property
hook with minimal tracing JIT). (ndossche)
. Fixed bug GH-17626 (JIT corrupts an opline handler when blacklisting a
@@ -225,31 +335,6 @@ PHP NEWS
. Fix OSS-Fuzz #568005340 (FETCH_DIM_FUNC_ARG partial conversion). (ndossche)
. Fixed bug GH-24218 (Invalid opcode for count() of a literal array when
SCCP is disabled). (Lazizbek Ergashev)
- . Fixed bug GH-24801 (JIT: SIGFPE in ir_fold MUL_OV constant folding).
- (waroad)
- . Fixed bug GH-25165 (Tracing JIT loops forever once opcache.jit_buffer_size
- is exhausted while compiling side traces). (Ilia Alshanetsky)
- . Fixed bug GH-25164 (Function JIT loop calling a user function runs once
- or never terminates). (Ilia Alshanetsky)
- . Fixed memory leak in JIT ASSIGN_DIM when the assignment fails. (Jorg Sowa)
- . Fixed bug GH-16396 (Failed to invoke user error handler during index
- conversion in JIT). (Jorg Sowa)
- . Fixed bug GH-25037 (Function JIT ENTRY live var assertion).
- (Ilia Alshanetsky)
- . Fixed JIT ignoring leading-numeric string offsets in isset(), empty() and
- ??. (Jorg Sowa)
- . Fixed use-after-free in JIT when the error handler releases a string while
- an "Undefined variable" warning is raised for its offset in ?? or nested
- isset()/empty(). (Jorg Sowa)
- . Fixed tracing JIT reading the int result of ++/-- on a reference as a
- double. (ChrisAbner)
- . Fixed bug GH-25359 (Tracing JIT drops reference type of a named by-ref
- argument). (David Carlier)
- . Fixed bug GH-24397 (Assertion failure when dumping JIT IR).
- (Ilia Alshanetsky)
- . Fixed tracing JIT returning a wrapped integer instead of a float on
- integer overflow after an integer was compared with a float or
- numeric-string literal. (Ilia Alshanetsky)
. Fixed bug GH-24337 (JIT: segfault when decrementing a non-numeric string
property). (Lazizbek Ergashev)
. Fix SIGFPE on LONG_MIN % -1 with a constant divisor. (waroad)
@@ -304,10 +389,6 @@ PHP NEWS
. Fixed bug GH-24988 (Incorrect opcode range check causes bugs with exceptions in
function JIT). (ndossche, Jorg Sowa)
. Fix opcache phar check. (ndossche)
- . Fixed bug GH-8739 (OPcache restart corrupts SHM in threaded SAPIs).
- (pavimus)
- . Fixed opcache.enable_file_override lookups racing with OPcache restarts
- (pavimus)
- OpenSSL:
. Fixed build and test compatibility with OpenSSL 4.0 and 4.1.
@@ -315,10 +396,6 @@ PHP NEWS
. Fixed bug GH-24784 (openssl_pkcs7_read() and openssl_cms_read() overwrite
certificates with CRLs). (Alexander Danilov)
-- PCRE:
- . Fixed \C being allowed in patterns enabling UTF mode with (*UTF) instead
- of the u modifier. (Jorg Sowa)
-
- PDO:
. Fixed invalid ATTR_ORACLE_NULLS values being accepted and truncated.
(Ilia Alshanetsky)
@@ -326,8 +403,6 @@ PHP NEWS
persistent connection. (Ilia Alshanetsky)
- PDO_Firebird:
- . Fixed stack buffer overflow with long connection user names, passwords,
- charsets, or roles. (Ilia Alshanetsky)
. Fixed bug GH-25006 (getColumnMeta() reads out of bounds for an
out-of-range column index). (Ilia Alshanetsky)
@@ -359,37 +434,26 @@ PHP NEWS
. Fixed bug GH-24531 (Crash when modifying a zip-based phar whose file was
renamed). (Ilia Alshanetsky)
-- phpdbg:
+- Phpdbg:
. Fix wrong command names. (ndossche, Weilin Du)
. Fixed bug GH-22480 (Use-after-free when re-watching an already-watched
variable). (Ilia Alshanetsky)
. Fixed over-read when watching a packed array element. (Ilia Alshanetsky)
. Fixed double free of watch element chains. (Arnaud)
-- POSIX:
- . Fixed bug GH-25530 (posix_get_last_error() returns an error from a
- previous request). (Artem Ukrainskiy)
-
- Readline:
- . Fixed incorrect handling of non-ASCII pending_input bytes in readline_info(),
- which could cause readline() to return false prematurely. (Weilin Du)
. Fixed a crash in readline_info() when completion_append_character
contains a non-ASCII byte. (Weilin Du)
-- Reflection:
- . Fix trampoline leak when object construction fails for lazy object.
- (ndossche)
- . Fixed ReflectionMethod::getClosure() returning a closure for abstract
- methods, which crashed when called for the ones of internal classes.
- (Nicolas Grekas)
-
- SAPI:
. Fixed infinite loop in sapi_header_op() for headers of 4 GiB or more.
(Martin Mirchev)
+- SOAP:
+ . Fixed use of uninitialized func in do_request() on OOM bailout.
+ (David Carlier)
+
- Session:
- . Fixed session upload progress to respect session.use_only_cookies.
- (jorgsowa)
. Validate whole session ID instead of stopping at the first NUL byte.
(Sjoerd Langkemper)
. Fixed session data loss in the files save handler when writing the session
@@ -399,41 +463,15 @@ PHP NEWS
. Fixed bug GH-24488 (GC double-frees the SimpleXMLElement properties
table). (evankford)
-- SNMP:
- . Fixed use-after-free of the context name set by SNMP::setSecurity().
- (lacatoire)
-
-- SOAP:
- . Fixed use of uninitialized func in do_request() on OOM bailout.
- (David Carlier)
- . Fixed bug GH-25267 (NULL dereference in to_xml_any() with integer key).
- (lazerg)
- . Fixed bug GH-25094 (NULL dereference in get_doc_function() with missing
- parts). (lazerg)
+- SPL:
+ . Fixed bug GH-24264 (Unwind/GracefulExit discarded in spl_iterators.c).
+ (Lazizbek Ergashev)
- Sockets:
. Fixed bug GH-24748 (socket_set_option() crashes with declared object
properties). (Lazizbek Ergashev)
- . Fixed bug GH-25530 (socket_last_error() without a socket returns an error
- from a previous request). (Artem Ukrainskiy)
-
-- SPL:
- . Fixed bug GH-24264 (Unwind/GracefulExit discarded in spl_iterators.c).
- (Lazizbek Ergashev)
- Standard:
- . Fixed chown() and lchown() failing to resolve user names in ZTS builds
- when getpwnam_r() needs a larger buffer. (Ilia Alshanetsky)
- . Fixed password_get_info() and password_needs_rehash() accepting malformed
- bcrypt costs. (Ilia Alshanetsky)
- . Fixed bug GH-25474 (version_compare() treats large numeric parts as equal
- on 64-bit Windows). (lazerg)
- . Fixed dns_get_record() returning partially built records for malformed
- DNS responses. (Marti2203)
- . Fixed bug GH-25387 (Uploaded files leak in request_parse_body()).
- (Kévin Dunglas)
- . Fixed bug GH-24743 (var_export() ignores exceptions from lazy object
- initialization). (lazerg)
. Fixed memory leaks in checkdnsrr() and dns_check_record() on Windows.
(Ilia Alshanetsky)
. Fixed __unserialize() and __wakeup() being called for objects with a missing
@@ -442,6 +480,10 @@ PHP NEWS
was not opened by PHP). (lazerg)
. Fixed bug GH-24399 (usleep() and time_nanosleep() ignore queued APCs on
Windows). (Nicolas Grekas)
+ . Fixed chown() and lchown() failing to resolve user names in ZTS builds
+ when getpwnam_r() needs a larger buffer. (Ilia Alshanetsky)
+ . Fixed password_get_info() and password_needs_rehash() accepting malformed
+ bcrypt costs. (Ilia Alshanetsky)
. Fixed proc_open() null descriptor not being inheritable on Windows.
(Jorg Sowa)
. Don't share the unserialize() context with enum autoloaders.
@@ -454,20 +496,8 @@ PHP NEWS
objects). (Labish Bardiya)
. Fix use-after-free in Randomizer::shuffleArray() when the engine throws.
(Marti2203)
- . Fixed unserialize() of enums sharing its state with the unserialize()
- calls made by autoloaders. (nicolas-grekas)
- . Fixed memory leak in get_meta_tags() when a tag opens while an attribute
- value is expected. (Jorg Sowa)
- Streams:
- . Fixed bug GH-22063 (Stream filter chain UAF on self-removal during
- callback). (Ilia Alshanetsky)
- . Fixed leaks and data loss when user filter leaves buckets on input
- brigade. (ndossche, Matthias Goergens, Jakub Zelenka)
- . Fixed bug GH-24175 (Use-after-free when pclose() closes a stream from its
- user filter). (Edmond)
- . Fixed bug GH-15701 (Build failure: incompatible funopen() seeker pointer
- type on 32-bit platforms). (Kamil Tekiela)
. Fixed bug GH-24508 (HTTP wrapper leaks the dechunk filter when header
parsing fails after Transfer-Encoding). (bercedev)
. Fixed bug GH-24509 (HTTP wrapper leaks Location buffer on empty
@@ -486,15 +516,15 @@ PHP NEWS
(Lazizbek Ergashev)
- Zip:
+ . Reject broken libzip versions 1.3.1, 1.7.0 and 1.12.0 during Windows
+ configuration. (Weilin Du)
+ . Excluded libzip 1.12.0 due to a regression preventing additions and
+ replacements in torrentzip archives. (Weilin Du)
. Fixed use-after-free when re-entering ZipArchive during destruction or
a close warning, and rejected opening streams while closing. (jvoisin)
. Fixed a use-after-free when a ZipArchive method that modifies the archive
is called from a progress or cancel callback during close().
(Ilia Alshanetsky)
- . Reject broken libzip versions 1.3.1, 1.7.0 and 1.12.0 during Windows
- configuration. (Weilin Du)
- . Excluded libzip 1.12.0 due to a regression preventing additions and
- replacements in torrentzip archives. (Weilin Du)
- Zlib:
. Fixed use-after-free when an error handler removes a failing zlib.inflate
@@ -504,25 +534,10 @@ PHP NEWS
22 Oct 2026, PHP 8.4.27
-- BCMath:
- . Fixed BcMath\Number results that truncate to zero keeping a negative sign
- and comparing less than zero. (Ilia Alshanetsky)
-
-- BZ2:
- . Fixed double close of the descriptor and use-after-free of the inner
- stream when bzopen() is given a stream resource. (Jakub Zelenka)
-
-- CLI
- . Fix GH-22567 (Windows ZTS CLI SAPI should refresh its TSRMLS cache during
- request activation). (matyhtf)
- . Fixed bug GH-23764 (Built-in server leaks a file descriptor on every HEAD
- request for a static file). (jakubskopal)
- . Fixed crash in the built-in server when a client is reset before being
- accepted. (David Carlier)
- . Fixed the built-in server truncating an error page and leaking its
- unsent part after a partial socket write. (Ilia Alshanetsky)
-
-- Core
+- Core:
+ . Fixed GHSA-w8hw-w9fx-j79w, GHSA-6wmf-4rv5-p3rp (Avoid state corruption via
+ bailout). (CVE-2026-109618, CVE-2026-109619) (Arnaud, ilutov, Jakub Zelenka,
+ ndossche, Nicolas Grekas)
. Fix GH-21999: GC inconsistency with lazy object, var_dump(), and object
comparison. (Arnaud)
. Fixed OSS-Fuzz #536440507 (Immutable class incorrect assertion).
@@ -538,11 +553,32 @@ PHP NEWS
the end of their mapping. (Ilia Alshanetsky)
. Fixed bug GH-24050 (GC frees an object still held by a resurrected closure
when (object) and use share an array). (David Carlier)
+ . Fixed use-after-free when a Fiber callable resolves to $this of the method
+ creating the Fiber ([A::class, 'm'] or "A::m") and that object dies before
+ the Fiber runs. (Edmond Dantes)
. Fixed exception thrown by destructor during GC in a Fiber not being rethrown
into the frame that triggered the GC. (Nicolas Grekas)
. Fixed bug GH-24139 (NULL pointer dereference in php_ini.c when
expand_filepath() fails). (lazerg)
+- BCMath:
+ . Fixed BcMath\Number results that truncate to zero keeping a negative sign
+ and comparing less than zero. (Ilia Alshanetsky)
+
+- BZ2:
+ . Fixed double close of the descriptor and use-after-free of the inner
+ stream when bzopen() is given a stream resource. (Jakub Zelenka)
+
+- CLI:
+ . Fix GH-22567 (Windows ZTS CLI SAPI should refresh its TSRMLS cache during
+ request activation). (matyhtf)
+ . Fixed bug GH-23764 (Built-in server leaks a file descriptor on every HEAD
+ request for a static file). (jakubskopal)
+ . Fixed crash in the built-in server when a client is reset before being
+ accepted. (David Carlier)
+ . Fixed the built-in server truncating an error page and leaking its
+ unsent part after a partial socket write. (Ilia Alshanetsky)
+
- DOM:
. Fixed use-after-free when re-constructing a DOMXPath whose php:function
registrations are freed while still reachable from the cycle collector.
@@ -735,6 +771,8 @@ PHP NEWS
(Nicolas Grekas)
. Fixed convert.quoted-printable-decode decoding lowercase hex digits to
the wrong byte. (Ilia Alshanetsky)
+ . Fixed unserialize() of enums sharing its state with the unserialize()
+ calls made by autoloaders. (nicolas-grekas)
- Tidy:
. Fixed a use-after-free when a tidyNode is used after its document is