[CLSA-2026:1786359503] alt-php56: Fix of 3 CVEs
Type:
security
Severity:
Critical
Release date:
2026-08-10 10:58:36 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.el7.x86_64.rpm
    sha:31b7d313720ee033a88f34af4cc72ecca50612cb7f10377f58cd2ab8f6f6a5b5
  • alt-php56-bcmath-5.6.40-135.el7.x86_64.rpm
    sha:512277545e4308a90a428a5bbc120593ddca3cd701abace731e3b442bfd03655
  • alt-php56-cli-5.6.40-135.el7.x86_64.rpm
    sha:bf8ac4c1f1f38f4fc8db9da326012337fc740e8a196a158af558e0769f07ac7a
  • alt-php56-common-5.6.40-135.el7.x86_64.rpm
    sha:6c0d9df0a9f0287f5a28fdd385906ff4919e47497ce350eab2e80eecc6d5da6f
  • alt-php56-dba-5.6.40-135.el7.x86_64.rpm
    sha:40e92d4332e4c45218dce94f62c8240b91a852ea9601e219941b2072f25dc5f2
  • alt-php56-dbx-5.6.40-135.el7.x86_64.rpm
    sha:d85d25d8c303c3c2f36d1b5886774441099adfd63e6ea1fef8e73fc3c79c95be
  • alt-php56-devel-5.6.40-135.el7.x86_64.rpm
    sha:f13f8b37afc12a315af930c9d05ec434a2c851a6f75f7300e300d07c1f66e1c9
  • alt-php56-enchant-5.6.40-135.el7.x86_64.rpm
    sha:bc3ff36651f56e08c147ca7cbb2363f4a25c1dcf8e8256ca0c48fe64e608c71f
  • alt-php56-firebird-5.6.40-135.el7.x86_64.rpm
    sha:c40c8a73ef66ba61f42a62dad5c7a0f9171c06c5e1b531e4d09ddf2d7822a1d5
  • alt-php56-gd-5.6.40-135.el7.x86_64.rpm
    sha:9a806dd64ce41392ba398bed347c430ce3514d403bbed91032d996318e87e946
  • alt-php56-imap-5.6.40-135.el7.x86_64.rpm
    sha:c12e674327a217c5621ad70e0377578478ab119187a4477d667399a1586b5813
  • alt-php56-intl-5.6.40-135.el7.x86_64.rpm
    sha:fa9f95d76f8935ec26f318a9d6c7bc8dc67feb055a94c2355eb5187099eed310
  • alt-php56-ldap-5.6.40-135.el7.x86_64.rpm
    sha:6b54b55cb1de262476e0bd77bbd3ab97636b9e7e3f1a1c858d7f14ae466fb578
  • alt-php56-mbstring-5.6.40-135.el7.x86_64.rpm
    sha:176134f011fe7a1e360f36a7ae1daa0791bdd91d8843995cd9fb825841ba5e63
  • alt-php56-mcrypt-5.6.40-135.el7.x86_64.rpm
    sha:5ee3adb9f616a2700031d60661bc9b7e09fc65f15a6c84f38c8e90125a05d7c7
  • alt-php56-mssql-5.6.40-135.el7.x86_64.rpm
    sha:8000c65b7b9f8359cb61cd31544c65b1b5cbe7d9f2d20bdc9deb9ca9a2ae4bdd
  • alt-php56-mysqlnd-5.6.40-135.el7.x86_64.rpm
    sha:367010ee6a41cde64f47720b8b866240f7aa7b0a0a8514806d9d96b4b8e09b81
  • alt-php56-odbc-5.6.40-135.el7.x86_64.rpm
    sha:226a39b0bb4fc699b38d0e6392b0a9d15e199eadf25ba1b36e45be9b23c104e3
  • alt-php56-opcache-5.6.40-135.el7.x86_64.rpm
    sha:6a1e525122e8755177089eed4799939b7250e37e82b287aa1e1b9562520c78b1
  • alt-php56-pdo-5.6.40-135.el7.x86_64.rpm
    sha:0389ca35d7cdefd701507037641abd87a8bc16f08a3645e90b0b0c1e454eeaac
  • alt-php56-pgsql-5.6.40-135.el7.x86_64.rpm
    sha:4279841ebda97f787e3e8d5a2952b4ed40ea3d93c567c0274dba747c89593bee
  • alt-php56-php-fpm-5.6.40-135.el7.x86_64.rpm
    sha:3eab37abe01d1a6acd07ebba3ec41f0ff5083af9a0aedaff6e6df2306b89c4e7
  • alt-php56-process-5.6.40-135.el7.x86_64.rpm
    sha:a15a659656095ff7b7612be23bc985f4a24e48b3944fcf8929806576787b7706
  • alt-php56-pspell-5.6.40-135.el7.x86_64.rpm
    sha:5b80947233bb8931c7bd9681a1e54eeb85553fa0174123f697dd63052cbb7668
  • alt-php56-recode-5.6.40-135.el7.x86_64.rpm
    sha:24461dfcfc2b635799986d7242b5fed0312fc8752d58f826e471a4c6312642cb
  • alt-php56-snmp-5.6.40-135.el7.x86_64.rpm
    sha:c1bd260660d2cd24c056c5009dde4c9903872da2667700bba71d97d23be0b7cd
  • alt-php56-soap-5.6.40-135.el7.x86_64.rpm
    sha:ce1682cd90a32fd77c1996b6bf2e2d5316809cbaefe5a8ecf25d133f1da7a437
  • alt-php56-sybase-5.6.40-135.el7.x86_64.rpm
    sha:749b6cafb5313e329f0d4c55c81034822cdd049a786f0f00f932e4b688908805
  • alt-php56-tidy-5.6.40-135.el7.x86_64.rpm
    sha:11b4a8aab6549a8ee1686ed3a243a97411ec8830b74f47fc9df53484a464c1f4
  • alt-php56-xml-5.6.40-135.el7.x86_64.rpm
    sha:bf08268f3301e4d38fd0734d167d368f22f5838e84b76dcc6db7c2503196b208
  • alt-php56-xmlrpc-5.6.40-135.el7.x86_64.rpm
    sha:d9fa0f1e3c6a0fbc792a26c81984a43f79a1e4c242c1c9b76c70af0e1a9c20d3
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.