[CLSA-2026:1786360064] alt-php56: Fix of 3 CVEs
Type:
security
Severity:
Critical
Release date:
2026-08-10 11:07:55 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.el8.x86_64.rpm
    sha:583c2284bc8f824f7802720188449204595b9ad2ac4d978a69f6def8d347f3a2
  • alt-php56-bcmath-5.6.40-135.el8.x86_64.rpm
    sha:b95f2891a882c3717f5fe220564ca13223175a2fc1212bdbc1559512183c8794
  • alt-php56-cli-5.6.40-135.el8.x86_64.rpm
    sha:ef021de448bcd9c4d36fbc493d79a6be6635c7bdf4e5c7864067f90efd4bd86e
  • alt-php56-common-5.6.40-135.el8.x86_64.rpm
    sha:5f669fb4eed762ac6f00ebec566b518c036dbf7d22bb12d044a49c2df427e94c
  • alt-php56-dba-5.6.40-135.el8.x86_64.rpm
    sha:189f67c8f169c7e108be88b6a8e6fb6380c8b35054a0d3cbe54891f966f2b9ec
  • alt-php56-dbx-5.6.40-135.el8.x86_64.rpm
    sha:428a1d647d76584e99385d3246ad0d795edb683b3aa3535d65ae8eacd9fee6b9
  • alt-php56-devel-5.6.40-135.el8.x86_64.rpm
    sha:1b5f29cca660df3058a9c0ecbb3ed6886ae286b94760a808a7826d81dbd8a2d6
  • alt-php56-enchant-5.6.40-135.el8.x86_64.rpm
    sha:f898c85910a864e96d99274458d727e7789738a39d9be37d25fa36ddcbd56f2b
  • alt-php56-firebird-5.6.40-135.el8.x86_64.rpm
    sha:1ba7709c1ca4fb5b6a3c1f8e6446f7883ac56094d3c9dde20eb58e1710051718
  • alt-php56-gd-5.6.40-135.el8.x86_64.rpm
    sha:17bbf8bc2a6477125ab3779d5c13f74f769804ff063f17c4b419266e7fcfe3c4
  • alt-php56-imap-5.6.40-135.el8.x86_64.rpm
    sha:f6ec90962977e04dfe9c543a6a6a1959177bdec3c34c8ebb43a4b507c146d3f3
  • alt-php56-intl-5.6.40-135.el8.x86_64.rpm
    sha:46b5b4af174a75678a3d6da2b3bf7fce7371fa3009f4090aaedcbb9c8c866a5b
  • alt-php56-ldap-5.6.40-135.el8.x86_64.rpm
    sha:2743d07084dd966a323a461b6341872308ba3b346a6bd8776166ef5ca4055293
  • alt-php56-mbstring-5.6.40-135.el8.x86_64.rpm
    sha:6d9db7349c89fd855f26f5d80b41b2d8a75bc21a04e69223fbec290a46106044
  • alt-php56-mcrypt-5.6.40-135.el8.x86_64.rpm
    sha:fd205cb32873e5abc8d07578840b60d0e72bd2ccb0ef2b6c190704be5a50c64f
  • alt-php56-mssql-5.6.40-135.el8.x86_64.rpm
    sha:03afa74a3e68a529d4caa706bbb3b6c8f00582d60fb745c91be94e22d964c8b0
  • alt-php56-mysqlnd-5.6.40-135.el8.x86_64.rpm
    sha:b708ae2882c5cb4d39be4c8f817a859dc204a5608651482403560f5acacf9a7d
  • alt-php56-odbc-5.6.40-135.el8.x86_64.rpm
    sha:342db567caebfc5fca1135522c136425b4478cf48122b9081cdb1bc029dcde80
  • alt-php56-opcache-5.6.40-135.el8.x86_64.rpm
    sha:051e428466514af9ecc8b7810044e706f4a44fade6727b8665043e8f3ad9fd8d
  • alt-php56-pdo-5.6.40-135.el8.x86_64.rpm
    sha:01ae5add35ca2acadc084bfe6082bb503c524bd6bcb906f2bb8a0e661dec4c61
  • alt-php56-pgsql-5.6.40-135.el8.x86_64.rpm
    sha:09e6897f48e5e2a65bfb9191898f173918394f8f2a8e27cace07a3dd7792f89e
  • alt-php56-php-fpm-5.6.40-135.el8.x86_64.rpm
    sha:999b607e74e2fdbbf28ac03af8d033296aeeabd8c8dddc2bcbfd56759a70c98c
  • alt-php56-process-5.6.40-135.el8.x86_64.rpm
    sha:cfebeca8f69a6cb2c4909f4eac01582296048ad39525cf47689888075a3b9b4c
  • alt-php56-pspell-5.6.40-135.el8.x86_64.rpm
    sha:8ff3f53aab656f3858bac5e36a3ba8e99f80abe85bda5c1ffee09d75807a72ff
  • alt-php56-recode-5.6.40-135.el8.x86_64.rpm
    sha:14c46f3a166dee6ee67c01d9175da3ca25db7320f447272aff5dfd2df4c3cbde
  • alt-php56-snmp-5.6.40-135.el8.x86_64.rpm
    sha:b16718a2f28d1338a9b8dcea3f4b3a4af6e692beb6bdb833acaf6d0f61948f59
  • alt-php56-soap-5.6.40-135.el8.x86_64.rpm
    sha:eb59e6f1466c4bb7236afc7f59951754cbcf0d2a669f0df44879a45b835dbada
  • alt-php56-sybase-5.6.40-135.el8.x86_64.rpm
    sha:2eaa717043c98293e1c125fe03f063a79061852dcb87daf74bc6d9714935520c
  • alt-php56-tidy-5.6.40-135.el8.x86_64.rpm
    sha:fbb2464ec005db1a5dbe4c241c0b078f9cec550bba63b9d525bbde88a95aff63
  • alt-php56-xml-5.6.40-135.el8.x86_64.rpm
    sha:44e804375207ee5eb3e720774477616cc80f9a7bc57e813aa3ad6c0d41794cc5
  • alt-php56-xmlrpc-5.6.40-135.el8.x86_64.rpm
    sha:01e20b3a9449dca466f7adf6744cf495ac71ecbb415e853b08a1b1365cf17691
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.