PHP interface to libedit, which provides editable command line as well
as PHP interactive mode (php -a).
Provides
Requires
License
MIT AND PHP-3.01
Changelog
* Wed Nov 18 2026 pgajdos@suse.com
- version update to 8.5.13
- 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-24081 (User opcode handlers resume execution against a stale
frame under ZEND_VM_KIND_TAILCALL). (devnexen)
. 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)
. Fix escape analysis for objects implementing ArrayAccess. (ndossche, Arnaud)
. Fix UAF for resolved callable zval. (EdmondDantes)
. Fix memory leak for nested HTTP calls. (EdmondDantes)
. Fix function and constant imports in compile_to_ast and add support
for grouping. (Klaas Skelte van der Werf)
. Fixed bug GH-24668 (zend_set_local_var() leaks the previous value of an
existing CV). (yasu20200121web-prog, lazerg)
. Fixed unmapping of an unrelated range when the aligned chunk mmap fails
(Marti2203).
. Fixed AST printing dropping final on class constants and properties, and
abstract on properties. (Jorg Sowa)
. Fixed AST export of readonly anonymous classes dropping the readonly
modifier. (Jorg Sowa)
. Fixed memory leak of a duplicate named argument in new in initializer.
(Jorg Sowa)
. Fixed bug GH-25061 ($x = $x - 1 on null is optimized to PRE_DEC).
(Lazizbek Ergashev)
. Fixed first-class callables to static methods in trait constant
expressions resolving to the method of the first using class and
bypassing visibility checks. (Jorg Sowa)
. Fixed GHSA-8mjj-2r7p-4hg2 (Use-after-free in magic method backtraces can
lead to remote code execution). (CVE-2026-129474) (Arnaud Le Blanc)
. Fixed GHSA-2fjv-p558-g82m (Use-after-free via repopulation of
last_fatal_error_backtrace global after shutdown). (CVE-2026-129182)
(Arnaud Le Blanc, Jakub Zelenka)
- CGI:
. Fixed GHSA-5j3f-64r7-f564 (PHP-CGI out-of-bounds read and write during
PATH_INFO correction). (CVE-2026-129538) (Jakub Zelenka)
- CLI:
. 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)
- COM:
. Fixed bug GH-25008 (com_event_sink() and com_print_typeinfo() crash
resolving an event source with no loaded typelib). (Ilia Alshanetsky)
- Curl:
. Fix use-after-free of CURLOPT_STDERR stream on cloned curl handle.
(lacatoire)
. Fix UAF on clone due to callback data pointer mismatch. (ndossche)
- Date:
. Fixed bug GH-20503 (Assertion failure with ext/date DateInterval property
hash construction). (heathdutton)
. Fixed bug GH-24350 (MINIT reads a stale external tz database after an
in-process module restart). (Lazizbek Ergashev)
. Fixed GHSA-gr4f-wgx5-jpfv (Timezone cache use-after-free can lead to remote
code execution). (CVE-2026-129496) (Ilija Tovilo)
- DBA:
. Fixed bug GH-24641 (ndbm backend never checks dbm_open() return value,
NULL deref on first use after a failed open). (Girgias)
- DOM:
. Fixed a use-after-free when reflected attribute setters replace an
attribute whose child still has a live wrapper. (Jakub Zelenka)
. Fix error paths in dom_xml_serializing_a_document_node(). (ndossche)
. Fixed bug GH-25118 (Dom\HTMLDocument::createFromString() crash on OOM).
(devnexen)
. Fixed GHSA-x8r7-mg3g-74hg (Double free during DOM XML serialization).
(CVE-2026-129501) (ndossche)
- FFI:
. 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)
- FPM:
. Fixed bug GH-24229 (fcgi_close() passes shutdown() a literal 1, which is
SHUT_RD in WASI). (Ryosuke Ishibashi)
. Fixed crash and stack memory disclosure in the worker output logging with
a pool name longer than the message prefix buffer or log_limit.
(Martin Mirchev)
. Fixed GHSA-jm4m-qfqx-967m (PHP-FPM epoll use-after-free can lead to local
privilege escalation). (CVE-2026-129291) (Ian P. Christian, ndossche)
. Fixed memory leaks of the _GET string on the status page error and HEAD
request paths. (Marcel Hernandez)
. Fixed use-after-free of the scoreboard copy when logging invalid status
values. (Marcel Hernandez)
. Fixed null pointer dereference in fpm_get_status() when the scoreboard
copy fails. (Marcel Hernandez)
. Fixed GHSA-qc49-hpvq-g2w6 (PHP-FPM request smuggling through an unread HTTP
request body). (CVE-2026-129289) (Jakub Zelenka)
. Fixed GHSA-3mg3-cr28-46gc (PHP-FPM status endpoint XSS via unescaped user
and script fields). (CVE-2026-129292) (Jakub Zelenka)
- FTP:
. Fix double free in ext/ftp data_accept() on accept failure. (alepacheco)
- GD:
. Fixed imagetruecolortopalette() error message. (Marc Bennewitz)
- Hash:
. Fix GOST and Snefru digests of 512 MiB or more. (Martin Mirchev)
- Intl:
. Fixed IntlDateFormatter parse functions truncating an $offset below
INT_MIN. (Marc Bennewitz)
- JSON:
. Fixed json_encode() leaving the recursion guard set on objects with hooked
properties after running out of memory while escaping a property name.
(adapik)
. Fixed json_encode() silently narrowing $depth values outside the int range,
which wrapped to an unrelated depth. (cuishuang)
. Fixed json_encode() continuing to encode after an array or object key
failed to encode. (Ilia Alshanetsky)
- LDAP:
. Fix crash in ldap_exop_sync() when $response_data is omitted. (lacatoire)
- MBString:
. 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)
. Fixed negative mbstring.regex_stack_limit and mbstring.regex_retry_limit
on 32bit platforms. (Marc Bennewitz)
- MySQLnd:
. Fixed bug GH-24293 (Segfault on connect with an empty password to a
MariaDB PAM account). (lazerg)
. Fixed bug GH-24609 (OK packets without an info message rejected on x32
builds). (lazerg)
- ODBC:
. Fixed bug GH-25036 (odbc_prepare() corrupts the heap when the driver
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-17626 (JIT corrupts an opline handler when blacklisting a
root trace at the opcache.jit_max_root_traces limit, causing spurious
"Too few arguments" errors and crashes). (RV7PR)
. Fix type inference of ADD_ARRAY_UNPACK with integer keys. (ndossche)
. Fix too wide type inference for ASSIGN_DIM_OP. (ndossche)
. Fix OSS-Fuzz #568005340 (FETCH_DIM_FUNC_ARG partial conversion). (ndossche)
. Fix exception checks due to NAN warnings and object empty()'s. (ndossche)
. Fixed bug GH-24270 (JIT loses the called scope of self:: and parent:: calls
in closures). (RV7PR)
. Fixed bug GH-24337 (JIT: segfault when decrementing a non-numeric string
property). (Lazizbek Ergashev)
. Fixed bug GH-24185 (Windows ZTS: random access violations with OPcache JIT
in multi-process setups). (Arnaud, ndossche)
. Fix SIGFPE on LONG_MIN % -1 with a constant divisor. (waroad)
. Fixed bug GH-24388 (Tracing JIT: segfault when a trace runs out of side
exits). (Lazizbek Ergashev)
. Fixed bug GH-24391 (JIT switch on constant null takes default instead of
case 0). (ndossche)
. Fixed bug GH-24206 (Tracing JIT loses loop-carried CV when its loop PHI
is reloaded from memory). (ndossche)
. Fixed bug GH-24386 (JIT: register operand must be loaded before the typed
reference check). (ndossche)
. Fixed bug GH-24437 (JIT: Fix OP_DATA read from an unwritten slot in
zend_jit_assign_dim_op()). (waroad)
. Fixed bug GH-24398 (JIT: minimal JIT segfault when a hooked property is
passed to a run-time-resolved function). (waroad)
. Fixed bug GH-24389 (Tracing JIT: type guard on entry of an inlined call
exits with an uninitialized opline). (waroad)
. Fixed use-after-free in JIT ASSIGN_DIM_OP when concatenating into an
empty array element. (jorgsowa)
. Fixed bug GH-24396 (Assertion failure in zend_jit_def_reg() "reg forwarding"
with chained Pi nodes). (ndossche)
. Fixed JIT treating an array as packed after a string key write turned it
into a hash. (jorgsowa)
. Fixed bug GH-24436 (Tracing JIT: keep the SEND_VAL type guard after
assigning to a reference). (waroad)
. Fixed bug GH-24745 (File cache loses attributes on constants on 32-bit
builds). (Yannick Decat, Lazizbek Ergashev)
. Fixed bug GH-17733 (System entropy does not take into account function
order, resulting in wrong functions possibly called
in different configurations). (ndossche)
. Fixed bug GH-24438 (Preserve indirect types in JIT side traces). (aasul)
. Fixed bug GH-24577 (CE-cache flag on interned class name visible before
map_ptr offset). (prateekbhujel)
. Fixed tracing JIT losing register-allocated CVs when an interrupt is
handled at the end of a loop trace. (Levi Morrison)
. Fixed bug GH-24675 (function with >~1.7 MB of machine code corrupts JIT
buffer accounting). (ndossche)
. Call orig_post_shutdown_cb(). (ndossche)
. Fixed JIT segfault on switch over a string reference holding a
non-string value. (jorgsowa)
. Fixed AArch64 JIT encoding of invalid logical immediates. (jorgsowa)
. Fixed JIT crashes when handling a VM interrupt with a stale saved opline
in the tailcall VM. (Levi Morrison)
. Fixed function JIT misinterpreting VM-enter results after an interrupt
callback in the CALL and TAILCALL VMs. (Levi Morrison)
. Fixed unsound shift_left_overflows range when shift wraps. (mkrishna793)
. Fixed bug GH-23572 (Tracing JIT calls the wrong method for self::/parent::
static calls in trait methods shared by several classes). (jorgsowa,
mgoulart)
. Fix block pass dropping ZEND_FAST_CALL OP2 definition. (Mrmaxmeier)
. Fixed bug GH-23626 (orphaned temporaries cause leaks and assertions).
(ndossche, khaledalam)
. Fix preloaded functions JIT-compiled on load being overwritten
after restart. (Pavel Gushcha)
. Fix opcache.interned_strings_buffer being 0 in threads started later (ZTS).
(Pavel Gushcha)
. Fixed potential infinite recursion/hang (HYBRID/TAILCALL respectively)
when zend_interrupt_function resets EG(vm_interrupt). (Levi Morrison)
. Fix JIT losing the called scope of self::/parent:: calls in included files.
(ndossche)
. Fixed preloaded functions not JIT-compiled again after OPcache restart.
(Jorg Sowa)
. 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-22216 (spurious opcache.memory_consumption