Release date:
2026-08-10 13:59:41 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:e4442ce4215526416dc6000a577c4e77674d6006
-
alt-php56-bcmath_5.6.40-138_amd64.deb
sha:1a8bd739089a12da9ab1002ead12744dce40032f
-
alt-php56-cli_5.6.40-138_amd64.deb
sha:d979807275c3956ef60f4608b717d9812818b14a
-
alt-php56-common_5.6.40-138_amd64.deb
sha:d1a21a5b157bcc8f3792a127a68525ce1f534cf3
-
alt-php56-dba_5.6.40-138_amd64.deb
sha:dd57ca6711b68abcc87ee8fa2f61556c9cd6baa3
-
alt-php56-dbx_5.6.40-138_amd64.deb
sha:5390e0d325a15abc223277c19ec32b36a2e519cc
-
alt-php56-dev_5.6.40-138_amd64.deb
sha:7028af99eb626fb34eb04af4b6812b60f437c252
-
alt-php56-enchant_5.6.40-138_amd64.deb
sha:5be2b85e7443172de425ce1f5e83fa5ece2b49d0
-
alt-php56-firebird_5.6.40-138_amd64.deb
sha:4f9925208575c5a5cb9c6ab3b5d62afd45969190
-
alt-php56-gd_5.6.40-138_amd64.deb
sha:32b3b951226d86a84f9e7752b7564d25888c3c7d
-
alt-php56-imap_5.6.40-138_amd64.deb
sha:6fcbc61ebedafb6908b95bce87adcaf642e4aa84
-
alt-php56-intl_5.6.40-138_amd64.deb
sha:c9a010ea3236717209b0827aef15429602837b76
-
alt-php56-ldap_5.6.40-138_amd64.deb
sha:6455d683a61d38adb70c7d7c51d7669906cbfe60
-
alt-php56-mbstring_5.6.40-138_amd64.deb
sha:0d2b741295edb0079f99638d289bfddef98ce233
-
alt-php56-mcrypt_5.6.40-138_amd64.deb
sha:94275d28e4d89c4ee30064ccf5b4727268f02ef3
-
alt-php56-mysqlnd_5.6.40-138_amd64.deb
sha:0a9c494afa15131c22e03d20663ba0e442ab9280
-
alt-php56-odbc_5.6.40-138_amd64.deb
sha:2cd7a3e8ef5ae8fe07d7f09a5dd3066b027e2643
-
alt-php56-opcache_5.6.40-138_amd64.deb
sha:121d63784f7399b69eb69f4914fefc1deded36eb
-
alt-php56-pdo_5.6.40-138_amd64.deb
sha:4a8d54972349d172deacea36235c9db409be49ce
-
alt-php56-pgsql_5.6.40-138_amd64.deb
sha:8fd99b102759eb0f7897b6efad96e0a65a82c3dc
-
alt-php56-php-fpm_5.6.40-138_amd64.deb
sha:57c14a48ea7664e5cd1186c5e28f883e7f81b651
-
alt-php56-process_5.6.40-138_amd64.deb
sha:6837c19ceeb535787c65ef91d949161e606d6600
-
alt-php56-pspell_5.6.40-138_amd64.deb
sha:db8803f4e2e843b642a9e91210b5b42b50c0b6b5
-
alt-php56-recode_5.6.40-138_amd64.deb
sha:d50380195ceee4d5ffea6cd27f5742557e9e6618
-
alt-php56-snmp_5.6.40-138_amd64.deb
sha:1fae1e48f97a6961a35cdcf3840febc7be87ce81
-
alt-php56-soap_5.6.40-138_amd64.deb
sha:aa6478fca470813a82d963be18479855c135851a
-
alt-php56-sybase_5.6.40-138_amd64.deb
sha:d0fbccd6fccd52168d830db37133819af0960302
-
alt-php56-tidy_5.6.40-138_amd64.deb
sha:e3e0b76e900d8f8f89e62729e82fce7b5372d276
-
alt-php56-xml_5.6.40-138_amd64.deb
sha:1488576b024a73f66f63dedcf26ae1128e235eca
-
alt-php56-xmlrpc_5.6.40-138_amd64.deb
sha:b059d6743c8c4e7fca5cd0a110995674e21b3b6f
-
alt-php56_5.6.40-138_arm64.deb
sha:a80063b18245ae56440a7a51e512d46e6e2c66cd
-
alt-php56-bcmath_5.6.40-138_arm64.deb
sha:eceba52d616ea52ef53247252f8027bb7fb379bd
-
alt-php56-cli_5.6.40-138_arm64.deb
sha:3e4ccc9a542cd78415797859576062d4fa8a514b
-
alt-php56-common_5.6.40-138_arm64.deb
sha:dcfee95ba1d67fcf72177237fa50c03372660442
-
alt-php56-dba_5.6.40-138_arm64.deb
sha:eca7ccdf6b75cbf8ed7b2df1819a969856c0dc18
-
alt-php56-dbx_5.6.40-138_arm64.deb
sha:6586432a30e8a86875caf8c8cfef3096215a28c8
-
alt-php56-dev_5.6.40-138_arm64.deb
sha:33e853bb8bae6b0d6c84e2de99132e16481d02b1
-
alt-php56-enchant_5.6.40-138_arm64.deb
sha:5d46e3812ddc4b2131c8ee5fc161185f68a79ccb
-
alt-php56-firebird_5.6.40-138_arm64.deb
sha:1cfcc296ad0b347e91e1e466604fd49a369af8bc
-
alt-php56-gd_5.6.40-138_arm64.deb
sha:5ef031da862675736265c602dc1372af066fcbb8
-
alt-php56-imap_5.6.40-138_arm64.deb
sha:a24da6f0d98002414651601f51d95f5950e7b125
-
alt-php56-intl_5.6.40-138_arm64.deb
sha:7ce740fe42c33b3f93dfbace5ba143e4540bcd30
-
alt-php56-ldap_5.6.40-138_arm64.deb
sha:121f2b845d47016c6df88287c45ab683370ad648
-
alt-php56-mbstring_5.6.40-138_arm64.deb
sha:0d2c14db215e94c5b8dcf2dac5b11a5b9ecb0c5d
-
alt-php56-mcrypt_5.6.40-138_arm64.deb
sha:7329e6890759ad098d6b5a1d0dad5829c3ab1235
-
alt-php56-mysqlnd_5.6.40-138_arm64.deb
sha:990263ea4acca2798b7d63f66c01f7207db2c6ec
-
alt-php56-odbc_5.6.40-138_arm64.deb
sha:cb4de8ee15066903a95f90bac2e9d6b0d78d4a06
-
alt-php56-opcache_5.6.40-138_arm64.deb
sha:d9ae566120b1e55838dead168227d5e24709f91f
-
alt-php56-pdo_5.6.40-138_arm64.deb
sha:08da81461a6e4d899dc4ed01671515f9975c2b5d
-
alt-php56-pgsql_5.6.40-138_arm64.deb
sha:c4e020ba6943a790ac0f4f01d41af98bdcb3d334
-
alt-php56-php-fpm_5.6.40-138_arm64.deb
sha:a65a3ff430d9f570342fce02ca53fbe0f9cafb6a
-
alt-php56-process_5.6.40-138_arm64.deb
sha:3e2045baf63678ce19cced7f232a6cfb9947e103
-
alt-php56-pspell_5.6.40-138_arm64.deb
sha:897eba955cb5e0aa1ac769649dc334c330b52555
-
alt-php56-recode_5.6.40-138_arm64.deb
sha:87d6ca88a7f575ab92da9f59b4457235d2e21a5d
-
alt-php56-snmp_5.6.40-138_arm64.deb
sha:ece48b2515fe8f50d9e7516cb579b62f8e29b043
-
alt-php56-soap_5.6.40-138_arm64.deb
sha:35a28c84cd59ab91d0baeb274ee0d1875a73ec5a
-
alt-php56-sybase_5.6.40-138_arm64.deb
sha:2618ee311910220e9082d2d24a29b85f8dc57ff0
-
alt-php56-tidy_5.6.40-138_arm64.deb
sha:edbcf6ce5b50a2afe8768283565ec879c60498b1
-
alt-php56-xml_5.6.40-138_arm64.deb
sha:959e5b40c8000169b4e2dacf5226a0e53a6957f0
-
alt-php56-xmlrpc_5.6.40-138_arm64.deb
sha:ecfa082ac5d5fe6f16c32e1be8e11142e8d63f46
Notes:
This page is generated automatically and has not been checked for errors. For clarification or
corrections please contact the
CloudLinux Packaging Team.