[CLSA-2026:1786588606] alt-php56: Fix of 3 CVEs
Type:
security
Severity:
Critical
Release date:
2026-08-13 02:36:56 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.el10.x86_64.rpm
    sha:1681cb33630b551d34e05a73a899054d1e3808c40ad8b3385f97646961d47b93
  • alt-php56-bcmath-5.6.40-135.el10.x86_64.rpm
    sha:2e60ce417dc04db14332439ca99b303e95e151e2cf08220dcb76227b0003dfe2
  • alt-php56-cli-5.6.40-135.el10.x86_64.rpm
    sha:9d121c9df4238018df83ad80c9e3c01583564fd5f426da79c971642701ed282a
  • alt-php56-common-5.6.40-135.el10.x86_64.rpm
    sha:5fd083d1a6be99031b4146520d121b930190f496ffd85a1a138cb69bdbe0558c
  • alt-php56-dba-5.6.40-135.el10.x86_64.rpm
    sha:0f9eac5d07891e2c5206c46e9e148b405f2ae39d0b09d91436cc185da8cf431f
  • alt-php56-dbx-5.6.40-135.el10.x86_64.rpm
    sha:1b732e77ccd7cae3f5f052f7d4fc1dead8fefa4788c6a5a16e54ce0b99f24a36
  • alt-php56-devel-5.6.40-135.el10.x86_64.rpm
    sha:6ff7afecb621a93b50150796689114b1dab8a47274f8ae427de14691c23e93e0
  • alt-php56-enchant-5.6.40-135.el10.x86_64.rpm
    sha:a50147567024fa314e96f77fc2b5bac051f5a287abc07c6910b12631e7c148f5
  • alt-php56-firebird-5.6.40-135.el10.x86_64.rpm
    sha:7aa1053cb66a0d97ab90edb79174d59632631afd7d644c74854d54f4826f0c8d
  • alt-php56-gd-5.6.40-135.el10.x86_64.rpm
    sha:1acdfe8b0239f6c67e4dd95f6b0e9e0ef8d354bc4e7bf0c1d6b5954db1fa9e69
  • alt-php56-imap-5.6.40-135.el10.x86_64.rpm
    sha:af883d81f61a5c7f4d66862709d17222596a7a58c66641970f9b9665c46a12a8
  • alt-php56-intl-5.6.40-135.el10.x86_64.rpm
    sha:c191605fd4db7379b16836d13a2928b7b7ae9b30cc0252c18a89b2ecb7a3ea6d
  • alt-php56-ldap-5.6.40-135.el10.x86_64.rpm
    sha:d189b03aa65f50b36c90069d3ba0db43992660cccf137fdfecba00547d41c778
  • alt-php56-mbstring-5.6.40-135.el10.x86_64.rpm
    sha:387d96cf5f64fc902bf77a96363392467e065befd8cdee62ca40d1c4dae90b9f
  • alt-php56-mcrypt-5.6.40-135.el10.x86_64.rpm
    sha:b39b542b2bb85ce6ef6f8be81adba995c2c807cbf63bb674d80975bd852c4566
  • alt-php56-mssql-5.6.40-135.el10.x86_64.rpm
    sha:1bb3924e702b0518a9ae400f2602c8b57f465c5f4db3d3c96409862384d2daab
  • alt-php56-mysqlnd-5.6.40-135.el10.x86_64.rpm
    sha:a7758bbda4ed0ed999816d412f496bdb3f28801d8c8095ea73a4f381e6999a3f
  • alt-php56-odbc-5.6.40-135.el10.x86_64.rpm
    sha:b9e42de19f6c517818c48f3d3922778e3d03d440edfbcecd9ce297ef5567b87a
  • alt-php56-opcache-5.6.40-135.el10.x86_64.rpm
    sha:4cd33e68cf9a27305a5ff2ff8d36a3b983fdbbf9a0591809f31a84d1c97e521a
  • alt-php56-pdo-5.6.40-135.el10.x86_64.rpm
    sha:f054d2063eb434374bb802f2942cf541525187052de1022585b002fc3c53058e
  • alt-php56-pgsql-5.6.40-135.el10.x86_64.rpm
    sha:14e3b10f10dc3ffa69777e61371ec712e9313f971684cd93e9bc8f8dd37dcf5e
  • alt-php56-php-fpm-5.6.40-135.el10.x86_64.rpm
    sha:8ebfd5ed40312c419ab1501c11f9236cd1668d91d73f9292dac5f24982839aac
  • alt-php56-process-5.6.40-135.el10.x86_64.rpm
    sha:d1950cfe0129006ab93f8db6b4efa1f43ca873219963e0a1e1382a768958d6b9
  • alt-php56-pspell-5.6.40-135.el10.x86_64.rpm
    sha:ba8c4a537c03d27de8815e35ff8a1a1cfb358e6af89d8542c83c5787636bd7a3
  • alt-php56-recode-5.6.40-135.el10.x86_64.rpm
    sha:dbea3824f2fe64642f653173a098c9a7cfb0b19fbe0f909d487d9a58a25bc95b
  • alt-php56-snmp-5.6.40-135.el10.x86_64.rpm
    sha:82564bc0a6aa090edb29ade91b51ab0b8794bcbd45f77a964a509a90e67f83e7
  • alt-php56-soap-5.6.40-135.el10.x86_64.rpm
    sha:8ac5fda40adae56ad9b2445f6ad516a186986144b12cd2a6146b916ae2d205c4
  • alt-php56-sybase-5.6.40-135.el10.x86_64.rpm
    sha:2738cfef449cb975e92128dbdf3a153f574aaf33b966d511a73373cf4de46e4d
  • alt-php56-tidy-5.6.40-135.el10.x86_64.rpm
    sha:50f198094f90412238bb0e83c8a67c41a4a87728ef037ef01f6dc25bdfe9e891
  • alt-php56-xml-5.6.40-135.el10.x86_64.rpm
    sha:fb1019451a639a0e320210739b4350ace93a5bb401c530b5a8f2da5716bc1028
  • alt-php56-xmlrpc-5.6.40-135.el10.x86_64.rpm
    sha:e6d14f48182f3c630b6da96c04394fb9553ab2300cc01b53b6db3b5a145640e7
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.