PHP functions for access to PostgreSQL database servers. It includes
both traditional pgsql and pdo_pgsql drivers.
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