Release date:
2026-08-10 14:13:05 UTC
Description:
* SECURITY UPDATE: three defects in the GIF LZW decoder of the bundled libgd
- debian/patches/php-5.6-CVE-2026-9672.patch: backport upstream commit
fcd691b377d0 (libgd patch by Pierre Joye) in ext/gd/libgd/gd_gif_in.c.
The prefix/suffix table reset in LWZReadByte_() cleared table[1][0]
repeatedly instead of table[1][i], so table[1] was only initialised up
to clear_code and the entries above it kept indeterminate stack
contents; the LZW end_code branch fell through and kept decoding with a
stale code when the trailing data blocks drained cleanly, which is what
lets those bytes reach output pixels; and ReadImage() left its
LZW_STATIC_DATA scratch struct uninitialised. All three are reachable
from attacker-controlled GIF data via imagecreatefromgif().
- Note: byte-identical to upstream, only the context line numbers differ.
- CVE-2026-9672
* SECURITY UPDATE: SQL injection in ext/pgsql via E'...' backslash breakout
- debian/patches/php-5.6-CVE-2026-17543.patch: backport upstream commit
ab048bd83b57 (GHSA-7qpv-r5mr-78m4) in ext/pgsql/pgsql.c.
php_pgsql_add_quotes() wrapped a PQescapeStringConn()-escaped value in an
E'...' literal, where a backslash is an escape character, but
PQescapeStringConn() only doubles backslashes when the connection has
standard_conforming_strings off. A value such as "zzz\' OR 1=1 --"
therefore escaped the doubled quote and broke out of the literal, letting
pg_convert(), pg_insert(), pg_update(), pg_delete() and pg_select() inject
arbitrary SQL. Emit a plain '...' literal instead, which is what
PQescapeStringConn() is documented to be used with.
- Note: 5.6 builds the literal with smart_str rather than upstream's
zend_string_concat3(), so the fix drops the smart_str_appendc(&str, 'E')
call. The pg_convert()/pg_insert()/pg_update() expectations are updated
for the dropped E prefix, including the 5.6-era non-"_9" duplicates
upstream no longer ships, and a 5.6-compatible replacement for the
upstream regression test is added.
- CVE-2026-17543
* SECURITY UPDATE: phar stack exhaustion on a circular symlink chain
- debian/patches/php-5.6-CVE-2026-7260.patch: backport upstream commit
2e0fa0a44441 (GHSA-vc5h-9ppw-p5f3) in ext/phar/util.c.
phar_get_link_source() resolved a symlink by tail-calling itself with no
cycle detection, so a tar-based archive whose symlinks form a loop
exhausted the stack and crashed the process on open or read. A new static
phar_follow_one_link() now performs a single hop and
phar_get_link_source() walks the chain iteratively with Floyd
tortoise-and-hare cycle detection, returning NULL on a cycle.
- Note: kept on the 5.6 zend_hash_find()/TSRMLS API instead of upstream's
zend_hash_str_find_ptr(). Upstream follow-up 56b8d1040d83 is not included
because phar_get_link_location() can still return entry->link itself
here, so the "if (link != entry->link)" efree guard is required.
- Note: also restores the path separator in phar_get_link_location()
("*p = '/'"), without which the Floyd walk's second visit to an entry
resolves a truncated prefix, both manifest lookups miss, and the slow
cursor is dereferenced as NULL - crashing on *valid* nested archives.
Upstream carries the same defect but its fixtures use flat entry names
and never reach that branch.
- Note: the .phpt from 2e0fa0a is not backported - it ships three binary
tar fixtures, which a 3.0 (quilt) source package cannot carry. Instead
this adds ext/phar/tests/tar/gh21986.phpt from b2de3cf170, the earlier
public fix for the same defect, which builds the circular-symlink tar
programmatically in pure PHP; only its --EXTENSIONS-- header is changed
to the 5.6-equivalent --SKIPIF--. It fails (SIGSEGV) on an unpatched
5.6.40 build and passes on a patched one. Also verified with a
standalone ASan/UBSan harness over the patched functions (13 cases:
cycles resolve to NULL, acyclic and nested relative chains still
resolve, zero allocation balance).
- CVE-2026-7260
Updated packages:
-
alt-php56_5.6.40-138_amd64.deb
sha:572575cd723a728d5e1df22afa664079f789061c
-
alt-php56-bcmath_5.6.40-138_amd64.deb
sha:bb5bd7638b802e29998b73149d5968ce4dcf809a
-
alt-php56-cli_5.6.40-138_amd64.deb
sha:f16756871d867ec154d814647b207162cb05b0e3
-
alt-php56-common_5.6.40-138_amd64.deb
sha:bba0b170ca328569d4348a9d89631de1f11f3884
-
alt-php56-dba_5.6.40-138_amd64.deb
sha:454f4746c4bc11f99084106644c359f1f9857fd6
-
alt-php56-dbx_5.6.40-138_amd64.deb
sha:e100a4ec2d637f1e8d51cb9745233f7d26f3fa79
-
alt-php56-dev_5.6.40-138_amd64.deb
sha:5fc2a536fa6576df54e4b10c905b5c8adca45d7d
-
alt-php56-enchant_5.6.40-138_amd64.deb
sha:a55c70917f2e75d27bcd335c0cf93b2b14468e4b
-
alt-php56-firebird_5.6.40-138_amd64.deb
sha:46277a3b7377f90b692216781212953e0b54e4ab
-
alt-php56-gd_5.6.40-138_amd64.deb
sha:9dbdf96e180648ea15b88303779d420d99868658
-
alt-php56-imap_5.6.40-138_amd64.deb
sha:b164430c9f9af47e5e598d509192bb638390af35
-
alt-php56-intl_5.6.40-138_amd64.deb
sha:42bff8e7bf5e3aefbe40f3ff7678b97daf61011d
-
alt-php56-ldap_5.6.40-138_amd64.deb
sha:0f9bb013b9c22b7b3889f332218231ec3df082b4
-
alt-php56-mbstring_5.6.40-138_amd64.deb
sha:c6c80b392344e60eb5b53e4f5c481c63eaa2db5d
-
alt-php56-mcrypt_5.6.40-138_amd64.deb
sha:cdaeb49deb63fcba7ca1fc33fafcfaf6e89c4779
-
alt-php56-mysqlnd_5.6.40-138_amd64.deb
sha:9710ae752832d3ce50ab280e9f118f2ff973a4b1
-
alt-php56-odbc_5.6.40-138_amd64.deb
sha:c1352615e92f9f00f4d228ef416a0dbd07d99439
-
alt-php56-opcache_5.6.40-138_amd64.deb
sha:3e41007b0f5b67ea4a41d0e355846abb54499815
-
alt-php56-pdo_5.6.40-138_amd64.deb
sha:8cef5369b37569a88a54ee9084a55445e0558b45
-
alt-php56-pgsql_5.6.40-138_amd64.deb
sha:3257d9eb503175c0773bfc149a9885731b6c4601
-
alt-php56-php-fpm_5.6.40-138_amd64.deb
sha:8734ef69060e1923d7a627668e7dee4c2b33ba2e
-
alt-php56-process_5.6.40-138_amd64.deb
sha:a7640bd84f85865a9e58c502f891a169982d0620
-
alt-php56-pspell_5.6.40-138_amd64.deb
sha:d86eb9ca69d26497aa147691ba1934b7d1f13e44
-
alt-php56-recode_5.6.40-138_amd64.deb
sha:ba8f012d24aadcc7c5e6a73b352fd9fa6268c581
-
alt-php56-snmp_5.6.40-138_amd64.deb
sha:81487376e6a6cfc36d954aab736e579e4ad51144
-
alt-php56-soap_5.6.40-138_amd64.deb
sha:db27d58a77bc8047362c0bce10484910ef6fed4d
-
alt-php56-sybase_5.6.40-138_amd64.deb
sha:1067f80ec78d8b47e4b49a32198624424bc0f70c
-
alt-php56-tidy_5.6.40-138_amd64.deb
sha:19a3c7c62220e6f5589b3bdb0ada50b75f7477b3
-
alt-php56-xml_5.6.40-138_amd64.deb
sha:49df63aa3e5321d7318036de0d923675a4730ee0
-
alt-php56-xmlrpc_5.6.40-138_amd64.deb
sha:0f576e0adbedea30e0717c7a3fcbe06e697ea040
Notes:
This page is generated automatically and has not been checked for errors. For clarification or
corrections please contact the
CloudLinux Packaging Team.