[CLSA-2026:1786517842] alt-php56: Fix of 3 CVEs
Type:
security
Severity:
Critical
Release date:
2026-08-12 06:57:35 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.el9.x86_64.rpm
    sha:a5b2de1e001403d158bfe3d2e41a8529e8d60116da46e1659f09af87cba69c14
  • alt-php56-bcmath-5.6.40-135.el9.x86_64.rpm
    sha:5ff6ea98574b618c6d6653f157850ea3b3c9bba68d48e1334295b48483c64db2
  • alt-php56-cli-5.6.40-135.el9.x86_64.rpm
    sha:46b4fea76a04c6ae6d58862a535200cc4d102f90fea5f426243c1e91c8580bd9
  • alt-php56-common-5.6.40-135.el9.x86_64.rpm
    sha:5d094ed6fa08c2a0019b5dcc09cb1a84496aa75cd346ca0863afe8d5d2e428b3
  • alt-php56-dba-5.6.40-135.el9.x86_64.rpm
    sha:e1129a40c266c63577b92b611127f375910e1af0ae2675cec03bc039e008a93b
  • alt-php56-dbx-5.6.40-135.el9.x86_64.rpm
    sha:4ea6fcd1553e4195a2475a8d8fb678cf24b0b597e39da791f5eb6014434e7b93
  • alt-php56-devel-5.6.40-135.el9.x86_64.rpm
    sha:3ceafea5c535cb220ac5e18c26e6092495dad2679b6286f73c61d4e6114a895a
  • alt-php56-enchant-5.6.40-135.el9.x86_64.rpm
    sha:d10f7b8d1247e611b6aaaa9ecc62e1cff86a6ac3aa7f8dce0d9dd7468a124356
  • alt-php56-firebird-5.6.40-135.el9.x86_64.rpm
    sha:a2e1046d5688698b472f33f13a61882410ac44c5e697c0d6d05bc08b6242eaed
  • alt-php56-gd-5.6.40-135.el9.x86_64.rpm
    sha:d4d897fdf524bd606211c124282f09a659ea3f20686776da4d60080aafef8a38
  • alt-php56-imap-5.6.40-135.el9.x86_64.rpm
    sha:dc236d66e146a01e45563eef7e55c7edd058300197fd9dc1e3a0ae9b10c43f76
  • alt-php56-intl-5.6.40-135.el9.x86_64.rpm
    sha:3ce1fb1b4837589d3dca95927492869f853e22d609eed7100d79cf62fa888307
  • alt-php56-ldap-5.6.40-135.el9.x86_64.rpm
    sha:e9246e2c7264a100c6c5e4996084663a90cdd4283dd8a3bd5338a8700d9c6ea6
  • alt-php56-mbstring-5.6.40-135.el9.x86_64.rpm
    sha:5af92efa4af36c3dbe7911c23bec25fc6fde33b17fc8aafc7ad904c96c4c551f
  • alt-php56-mcrypt-5.6.40-135.el9.x86_64.rpm
    sha:cc04188ea676c46c5024abc5d55ec38ad4a0122670dc80c3eb7e3e6505bf71a7
  • alt-php56-mssql-5.6.40-135.el9.x86_64.rpm
    sha:1f4870ba7c46923166ca9e57bcf657e56632ce52603f50f80358bb29554ccdcb
  • alt-php56-mysqlnd-5.6.40-135.el9.x86_64.rpm
    sha:19a290976c828241a27faf1dd8c0ac3888853dded22b92b68ddb19b8aab1073a
  • alt-php56-odbc-5.6.40-135.el9.x86_64.rpm
    sha:195582e6ae1522de954811507a2e4581f0045861b1331fbb12489fc1813baa72
  • alt-php56-opcache-5.6.40-135.el9.x86_64.rpm
    sha:5f98859d54ebf5d0e39d03ef2e45e1933015ba9e46522acd16b246112856c5e2
  • alt-php56-pdo-5.6.40-135.el9.x86_64.rpm
    sha:9c0d19c75a3870c93e34aab53d61cee18416bf5fba50a120e2fb5ef0a938c0e4
  • alt-php56-pgsql-5.6.40-135.el9.x86_64.rpm
    sha:38babbcb2c38f06fa5ca59ecd15c1b26228bd252c84f26081fa919090ed3841f
  • alt-php56-php-fpm-5.6.40-135.el9.x86_64.rpm
    sha:642b0ab66a88394b8e9067db33f8ba73e60c70415cc561e58c940742675ece2a
  • alt-php56-process-5.6.40-135.el9.x86_64.rpm
    sha:c160c33e0a108c0913b8b3337bafd3fa1de6c06204160f0a6f0465ed4a1ac9be
  • alt-php56-pspell-5.6.40-135.el9.x86_64.rpm
    sha:ef8d941cbbf66da095df6cb19ddbe6ecffc3126c8d88e5c4dc5a5ad43d10ce87
  • alt-php56-recode-5.6.40-135.el9.x86_64.rpm
    sha:2ba34f193d5d3bdd401ef70555140fd360de483a60b9c465e081cabc5018c174
  • alt-php56-snmp-5.6.40-135.el9.x86_64.rpm
    sha:6c22f2cd69c226ecf2d31099e501a06cc584773eb9a3d80faab0fcab4267df1d
  • alt-php56-soap-5.6.40-135.el9.x86_64.rpm
    sha:3e3f16d9df2a0fb7623268fbfb8078c1289dab4d1bb97bfc9b1eee3fe9f9eb56
  • alt-php56-sybase-5.6.40-135.el9.x86_64.rpm
    sha:1d44b806e605420fd958fb94a4c66a733333288e7ea0eb10e7a4e947a641708e
  • alt-php56-tidy-5.6.40-135.el9.x86_64.rpm
    sha:5f6a5879e61697b599a8b25605be1642a3824b3f9ba9d942752fb0c0d348084d
  • alt-php56-xml-5.6.40-135.el9.x86_64.rpm
    sha:be580cda966c6299dc952293f0612088ab1c9712ecc1c2adb164a30d13a6ed96
  • alt-php56-xmlrpc-5.6.40-135.el9.x86_64.rpm
    sha:0596f95f72b3ddad41ab5c384018391f662ed75b5a26d571782a7a5261836c89
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.