[CLSA-2026:1786596831] alt-php56: Fix of 3 CVEs
Type:
security
Severity:
Critical
Release date:
2026-08-13 04:54:02 UTC
Description:
- CVE-2026-9672: three defects in the GIF LZW decoder of the bundled libgd (ext/gd/libgd/gd_gif_in.c), reachable from attacker-controlled GIF data: the prefix/suffix table reset cleared table[1][0] repeatedly instead of table[1][i], the LZW end_code branch fell through and kept decoding with a stale code when the trailing data blocks drained cleanly, and ReadImage() left its LZW_STATIC_DATA scratch struct uninitialised. Backport of upstream commit fcd691b377d0 (libgd patch by Pierre Joye), byte-identical to upstream. - CVE-2026-17543: SQL injection in ext/pgsql (GHSA-7qpv-r5mr-78m4). php_pgsql_add_quotes() wrapped a PQescapeStringConn()-escaped value in an E'...' literal, where a backslash is an escape character, so a value such as "zzz\' OR 1=1 --" escaped the doubled quote and broke out of the literal via pg_convert()/pg_insert()/pg_update()/pg_delete()/pg_select(). Backport of upstream commit ab048bd83b57: emit a plain '...' literal, which is what PQescapeStringConn() is documented to be used with. 5.6 builds the literal with smart_str, 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-7260: phar stack exhaustion on a circular symlink chain in a tar-based archive (GHSA-vc5h-9ppw-p5f3). phar_get_link_source() recursed into itself with no cycle detection, so an archive whose symlinks form a loop crashed the process on open/read. Backport of upstream commit 2e0fa0a44441: a new static phar_follow_one_link() performs a single hop and phar_get_link_source() walks the chain iteratively with Floyd cycle detection (kept on the 5.6 zend_hash_find()/TSRMLS API). 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 and crashes on *valid* nested archives; upstream carries the same defect but its fixtures use flat entry names and never reach that branch. Adds ext/phar/tests/tar/gh21986.phpt, taken from the earlier public fix b2de3cf170 because it needs no binary fixture; it segfaults on an unpatched 5.6.40 build and passes on a patched one.
Updated packages:
  • alt-php56-5.6.40-135.el6.x86_64.rpm
    sha:312896f73415e2bff7b9fdab38f7f879b6c29baacdb3233a95fcdc1c2da6d529
  • alt-php56-bcmath-5.6.40-135.el6.x86_64.rpm
    sha:3a093420ff63445cb1cb8af39012af155c98c8b6b594c3009f3af45f3f413092
  • alt-php56-cli-5.6.40-135.el6.x86_64.rpm
    sha:a14c7d5b5043c44842dbc22faf83031d1237967d909837ab969c9b9197c61449
  • alt-php56-common-5.6.40-135.el6.x86_64.rpm
    sha:641ba9edbcaeb441034fb1254560d76c060a69dca7d22bee00b7a34a1892b883
  • alt-php56-dba-5.6.40-135.el6.x86_64.rpm
    sha:e5eacfc4618f97853360f4138ac32841eb67367c6865108b8e7044cb631eb807
  • alt-php56-dbx-5.6.40-135.el6.x86_64.rpm
    sha:1d092790ca94d4640357e3c3f5745fadd45d7b01357e36a8a076ae43e78f722f
  • alt-php56-devel-5.6.40-135.el6.x86_64.rpm
    sha:cea9dd61fdaef7037c5315c859228738b08329c618d14353f7a53f491dc29db6
  • alt-php56-enchant-5.6.40-135.el6.x86_64.rpm
    sha:cf678fc67fe3392831411263dc8e36a78307db1d2f2d3597b4844880b69c5b9e
  • alt-php56-firebird-5.6.40-135.el6.x86_64.rpm
    sha:45a749347b827bc87456091162fab680810bf382429d8e44401c67a40f6fc1cb
  • alt-php56-gd-5.6.40-135.el6.x86_64.rpm
    sha:e388b3b56196893f4eb5e19c853021ae08b6e9b40f387b80bdccb912c524e5ca
  • alt-php56-imap-5.6.40-135.el6.x86_64.rpm
    sha:89f4f94aa79ea4167fa4396110fac553c51ec6331229809b963bf5e7112e7209
  • alt-php56-intl-5.6.40-135.el6.x86_64.rpm
    sha:6ad194aa07daa5bcd8b8d9851ff04d6f0a823fa1121d751d00453be6059872f3
  • alt-php56-ldap-5.6.40-135.el6.x86_64.rpm
    sha:228827373d0a68314b73d527c431599261533a831b587ed2afcedff8f38e56cf
  • alt-php56-mbstring-5.6.40-135.el6.x86_64.rpm
    sha:a6114a39014a1ab2741b7f436b55ec632b7981ee6bfdf7ab9e8e059004ac0f46
  • alt-php56-mcrypt-5.6.40-135.el6.x86_64.rpm
    sha:5b7780fde0d21a164b7bafd3485ad966b90072db2c41e5cdb21fedeab96d95ae
  • alt-php56-mssql-5.6.40-135.el6.x86_64.rpm
    sha:eb031a2b349023427ce1ec6c7e1ee5018621bb95739a75f45128215fbad60fce
  • alt-php56-mysqlnd-5.6.40-135.el6.x86_64.rpm
    sha:38bd5ab873cf7da2584c0d5c7aeb3b15006faf21488b5b2d313ec7b4cb3a5dc6
  • alt-php56-odbc-5.6.40-135.el6.x86_64.rpm
    sha:f8aae6d5aa72a0bd18d5aad4e20709fb61b9fa3d49fce099882741f90bc1391f
  • alt-php56-opcache-5.6.40-135.el6.x86_64.rpm
    sha:6be0ed172a86697ebd4e2aec838fd7fe3cc579e41d058c051469de8c030cd785
  • alt-php56-pdo-5.6.40-135.el6.x86_64.rpm
    sha:443dfda8215c1db139df8dd908f042e777ca1f8208a0113317843594665f09fa
  • alt-php56-pgsql-5.6.40-135.el6.x86_64.rpm
    sha:014c3dc0efa9ac86214438d5b777d6131cd4fb4cee928ccc8de181da50cf710c
  • alt-php56-php-fpm-5.6.40-135.el6.x86_64.rpm
    sha:8dee1cfecf8964983b0a1c896924fbfb2afbf19bc0603dfec8aac4d87c4b495e
  • alt-php56-process-5.6.40-135.el6.x86_64.rpm
    sha:636df2979ada9d8ea723e840a284f4a136c4042ac01c85df574453af4a307699
  • alt-php56-pspell-5.6.40-135.el6.x86_64.rpm
    sha:7e7d7ccce7e90e3b8cc1dbf7b07f5293922c775b2036c6b28f2076f9f7184944
  • alt-php56-recode-5.6.40-135.el6.x86_64.rpm
    sha:10af99751cb9ad8ba6ab063b3cd3b61e7b27131e3f23fc7e596861763e24e977
  • alt-php56-snmp-5.6.40-135.el6.x86_64.rpm
    sha:a0f9de765e83a21022304737579f8d84590fb85d6aef02b2eb0dbac25ccd12fc
  • alt-php56-soap-5.6.40-135.el6.x86_64.rpm
    sha:d22df31e9a049f4db419d7af43d719136df3961c571841bd6cdcf5ab918dcfbc
  • alt-php56-sybase-5.6.40-135.el6.x86_64.rpm
    sha:961b5859429ae0d98d76a6eae0d922f617a958991d5ab431adc807b546789c04
  • alt-php56-tidy-5.6.40-135.el6.x86_64.rpm
    sha:98d70aa8911d89368c39ee60878d8682b34558c39068792e31fe271990080b52
  • alt-php56-xml-5.6.40-135.el6.x86_64.rpm
    sha:767157e1ad8da3018a7aa42913e0910bfd243cff684b2da9ca1802d6dd970b58
  • alt-php56-xmlrpc-5.6.40-135.el6.x86_64.rpm
    sha:5bdf13725e4beb32cd4a47ff561679e679e620f8013074a95e43f19d7502aa43
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.