[CLSA-2026:1786443071] Fix CVE(s): CVE-2026-17543, CVE-2026-7260, CVE-2026-9672
Type:
security
Severity:
Critical
Release date:
2026-08-11 10:11:23 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:e54144a7c1c7006b3de7623b6f733cf9c025b145
  • alt-php56-bcmath_5.6.40-138_amd64.deb
    sha:955af78f5be3a6624226f727c1fae9f34703c6c5
  • alt-php56-cli_5.6.40-138_amd64.deb
    sha:9760ca2c478aaa1ad10801a35ff0e3240fd48926
  • alt-php56-common_5.6.40-138_amd64.deb
    sha:399e34d862d2446d1035538dc195b971000866d1
  • alt-php56-dba_5.6.40-138_amd64.deb
    sha:a5015731e8263a2b5cb50d10379e60f45712643c
  • alt-php56-dbx_5.6.40-138_amd64.deb
    sha:54faad2fffeb77dcde2672f8decc8365d14ad3c5
  • alt-php56-dev_5.6.40-138_amd64.deb
    sha:110efc2c52bcb8d19c37595caa4c97e6d8b5515d
  • alt-php56-enchant_5.6.40-138_amd64.deb
    sha:8b3fa1a2eac34b564b56362935dff77bd5568d07
  • alt-php56-firebird_5.6.40-138_amd64.deb
    sha:221be370ca7b615a2f6f50394ae4c70169c5ad21
  • alt-php56-gd_5.6.40-138_amd64.deb
    sha:513dd0aa45667d7bce72edfdf995649dc4ad0de0
  • alt-php56-imap_5.6.40-138_amd64.deb
    sha:ab3fa4e13e94fa3590e92b2b075cd50dc7f61e67
  • alt-php56-intl_5.6.40-138_amd64.deb
    sha:64dd761a71d4f49a41c8ece45064b83f81b8504f
  • alt-php56-ldap_5.6.40-138_amd64.deb
    sha:e68aedbbd9410be92d7cbf3eac20516c9aef1b59
  • alt-php56-mbstring_5.6.40-138_amd64.deb
    sha:daa64f2526c3e1919de11681733216738ffe8b80
  • alt-php56-mcrypt_5.6.40-138_amd64.deb
    sha:32ccd1985bd4239e7ceb6ae772958515bf17e6ad
  • alt-php56-mysqlnd_5.6.40-138_amd64.deb
    sha:258baf62b97c4c70034b20a23e32f9d4544ba376
  • alt-php56-odbc_5.6.40-138_amd64.deb
    sha:fec749c139aa1ff199a5f83d26be11393cab03f6
  • alt-php56-opcache_5.6.40-138_amd64.deb
    sha:d5b597ab52d48e22710d8b84b6ca75c6b7663c1d
  • alt-php56-pdo_5.6.40-138_amd64.deb
    sha:993e40c76df43b9e0975a16ec8456d78c5f3a394
  • alt-php56-pgsql_5.6.40-138_amd64.deb
    sha:8650a6758e29190c57484e04dc2c7982f6baa8e6
  • alt-php56-php-fpm_5.6.40-138_amd64.deb
    sha:c0577c4851b671bc8c7379fdc2603dbd73340191
  • alt-php56-process_5.6.40-138_amd64.deb
    sha:bef32eea90819d15c0e126308b9b1d8f3ca547ad
  • alt-php56-pspell_5.6.40-138_amd64.deb
    sha:ef45aff9132358998e36b5a9b4a02f81a6d01431
  • alt-php56-recode_5.6.40-138_amd64.deb
    sha:e448fb2d64e816675882ffd5c19d38a5fe986756
  • alt-php56-snmp_5.6.40-138_amd64.deb
    sha:fcb5e7545930bf695f48c79d75e1399fff63b00f
  • alt-php56-soap_5.6.40-138_amd64.deb
    sha:747d719ec4a9ac66e60cecddf995c5cd47ad4287
  • alt-php56-sybase_5.6.40-138_amd64.deb
    sha:70af0d15add96599cc66684e8601c93d83ac0395
  • alt-php56-tidy_5.6.40-138_amd64.deb
    sha:8d1c3f1e0f0bf9994a03224e8e809b63c543b75a
  • alt-php56-xml_5.6.40-138_amd64.deb
    sha:1d7a5bea8d4fa2db315224e9000fb2b1e1e99276
  • alt-php56-xmlrpc_5.6.40-138_amd64.deb
    sha:11dd69b59e94ba17c222216dcb9686387cb1f056
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.