Release date:
2026-08-11 11:27:19 UTC
Description:
* SECURITY UPDATE: three defects in the GIF LZW decoder of the bundled libgd
- debian/patches/php-5.6-CVE-2026-9672.patch: backport upstream commit
fcd691b377d0 (libgd patch by Pierre Joye) in ext/gd/libgd/gd_gif_in.c.
The prefix/suffix table reset in LWZReadByte_() cleared table[1][0]
repeatedly instead of table[1][i], so table[1] was only initialised up
to clear_code and the entries above it kept indeterminate stack
contents; the LZW end_code branch fell through and kept decoding with a
stale code when the trailing data blocks drained cleanly, which is what
lets those bytes reach output pixels; and ReadImage() left its
LZW_STATIC_DATA scratch struct uninitialised. All three are reachable
from attacker-controlled GIF data via imagecreatefromgif().
- Note: byte-identical to upstream, only the context line numbers differ.
- CVE-2026-9672
* SECURITY UPDATE: SQL injection in ext/pgsql via E'...' backslash breakout
- debian/patches/php-5.6-CVE-2026-17543.patch: backport upstream commit
ab048bd83b57 (GHSA-7qpv-r5mr-78m4) in ext/pgsql/pgsql.c.
php_pgsql_add_quotes() wrapped a PQescapeStringConn()-escaped value in an
E'...' literal, where a backslash is an escape character, but
PQescapeStringConn() only doubles backslashes when the connection has
standard_conforming_strings off. A value such as "zzz\' OR 1=1 --"
therefore escaped the doubled quote and broke out of the literal, letting
pg_convert(), pg_insert(), pg_update(), pg_delete() and pg_select() inject
arbitrary SQL. Emit a plain '...' literal instead, which is what
PQescapeStringConn() is documented to be used with.
- Note: 5.6 builds the literal with smart_str rather than upstream's
zend_string_concat3(), 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-17543
* SECURITY UPDATE: phar stack exhaustion on a circular symlink chain
- debian/patches/php-5.6-CVE-2026-7260.patch: backport upstream commit
2e0fa0a44441 (GHSA-vc5h-9ppw-p5f3) in ext/phar/util.c.
phar_get_link_source() resolved a symlink by tail-calling itself with no
cycle detection, so a tar-based archive whose symlinks form a loop
exhausted the stack and crashed the process on open or read. A new static
phar_follow_one_link() now performs a single hop and
phar_get_link_source() walks the chain iteratively with Floyd
tortoise-and-hare cycle detection, returning NULL on a cycle.
- Note: kept on the 5.6 zend_hash_find()/TSRMLS API instead of upstream's
zend_hash_str_find_ptr(). Upstream follow-up 56b8d1040d83 is not included
because phar_get_link_location() can still return entry->link itself
here, so the "if (link != entry->link)" efree guard is required.
- Note: 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, both manifest lookups miss, and the slow
cursor is dereferenced as NULL - crashing on *valid* nested archives.
Upstream carries the same defect but its fixtures use flat entry names
and never reach that branch.
- Note: the .phpt from 2e0fa0a is not backported - it ships three binary
tar fixtures, which a 3.0 (quilt) source package cannot carry. Instead
this adds ext/phar/tests/tar/gh21986.phpt from b2de3cf170, the earlier
public fix for the same defect, which builds the circular-symlink tar
programmatically in pure PHP; only its --EXTENSIONS-- header is changed
to the 5.6-equivalent --SKIPIF--. It fails (SIGSEGV) on an unpatched
5.6.40 build and passes on a patched one. Also verified with a
standalone ASan/UBSan harness over the patched functions (13 cases:
cycles resolve to NULL, acyclic and nested relative chains still
resolve, zero allocation balance).
- CVE-2026-7260
Updated packages:
-
alt-php56_5.6.40-138_amd64.deb
sha:e4442ce4215526416dc6000a577c4e77674d6006
-
alt-php56-bcmath_5.6.40-138_amd64.deb
sha:6e6cbd41965ec9758db9f22f11db4ab132f8aadd
-
alt-php56-cli_5.6.40-138_amd64.deb
sha:f936e6d63d447a54678ad587e64e9ca116186346
-
alt-php56-common_5.6.40-138_amd64.deb
sha:dad4fbc8e2594812d2a4f452898b8c05f857b5f0
-
alt-php56-dba_5.6.40-138_amd64.deb
sha:ed5aace8a16887402ae0af2b8ea7d7fbdd5a0bc9
-
alt-php56-dbx_5.6.40-138_amd64.deb
sha:8e3b16247c433c65a2d6f1679df19947453f4cd3
-
alt-php56-dev_5.6.40-138_amd64.deb
sha:39ef19c777c7ff300aba8eebdb80e7365fefb7ef
-
alt-php56-enchant_5.6.40-138_amd64.deb
sha:25ada6db2b22f2c3dd6e5caf5d647821c6c758a0
-
alt-php56-firebird_5.6.40-138_amd64.deb
sha:2f5949ffa3108be91207925ab92d6a02cfe0e2a0
-
alt-php56-gd_5.6.40-138_amd64.deb
sha:6cb41bdd8d06fd325464d43f71547afb861c5b4d
-
alt-php56-imap_5.6.40-138_amd64.deb
sha:821671dee9224138fa1f3734e2e26aac51a33696
-
alt-php56-intl_5.6.40-138_amd64.deb
sha:b6f3e755811b4225e9d34c851c95d9e8af89b654
-
alt-php56-ldap_5.6.40-138_amd64.deb
sha:8c418a51c5031337c1c1cb5e8d90020fee0eab4e
-
alt-php56-mbstring_5.6.40-138_amd64.deb
sha:96f1e7e95f0d856f4391cc8158cc7b35007c81a9
-
alt-php56-mcrypt_5.6.40-138_amd64.deb
sha:9d44e761a75a88674fcc24849670d168f4bb4145
-
alt-php56-mysqlnd_5.6.40-138_amd64.deb
sha:152ece7107057f991515bf95e1bed10956159947
-
alt-php56-odbc_5.6.40-138_amd64.deb
sha:867c3145a620cdd24245450d4df45f2f277ec749
-
alt-php56-opcache_5.6.40-138_amd64.deb
sha:9f59ac444b7eaef9af7814d410cfec16834c588a
-
alt-php56-pdo_5.6.40-138_amd64.deb
sha:f57d360f8ce6926aa84c944568bfdb81bdc34c0e
-
alt-php56-pgsql_5.6.40-138_amd64.deb
sha:4b762b32e480d5cda507f25db53ba56c1eca3e00
-
alt-php56-php-fpm_5.6.40-138_amd64.deb
sha:7d601b955ee61b7362059e60ba0b98813cb6932d
-
alt-php56-process_5.6.40-138_amd64.deb
sha:ca80b62c5b4fd767f2ce54f735c57817fd18e0db
-
alt-php56-pspell_5.6.40-138_amd64.deb
sha:646be97ce2c2030ce15575a9e10e9f631233f38a
-
alt-php56-recode_5.6.40-138_amd64.deb
sha:f11cdf97f3526489dd0800446a3ba352a839583b
-
alt-php56-snmp_5.6.40-138_amd64.deb
sha:32df4c57964509108e46b9117beaa6900d55fa1c
-
alt-php56-soap_5.6.40-138_amd64.deb
sha:d14d83a932cfbfd04cee3e3aa8b3dd95b0ad911a
-
alt-php56-sybase_5.6.40-138_amd64.deb
sha:43767f865eb7a4c57c1017ef69c7235bc8d9311c
-
alt-php56-tidy_5.6.40-138_amd64.deb
sha:9b4ff5b5c0aeac37ee03b16d1980076b62b7a624
-
alt-php56-xml_5.6.40-138_amd64.deb
sha:6aee7480f1ed9a2d990257c59430a2238eb56ad7
-
alt-php56-xmlrpc_5.6.40-138_amd64.deb
sha:bcf8fb7b8d7c5e6deabeb1a60a61a9b032420471
-
alt-php56_5.6.40-138_arm64.deb
sha:a80063b18245ae56440a7a51e512d46e6e2c66cd
-
alt-php56-bcmath_5.6.40-138_arm64.deb
sha:973f4b655f670cc73bef17c2742043aeb5787b56
-
alt-php56-cli_5.6.40-138_arm64.deb
sha:68a1d9afdef488c5fd210b2fb2995a9f168e866a
-
alt-php56-common_5.6.40-138_arm64.deb
sha:0e3abdfb528f26f3c41c0516655a521b87e62904
-
alt-php56-dba_5.6.40-138_arm64.deb
sha:9f3b6394cdcfb69b59b8f09439a2bab18eb179c1
-
alt-php56-dbx_5.6.40-138_arm64.deb
sha:e09db75c94638241089ed4548907f6bb13120161
-
alt-php56-dev_5.6.40-138_arm64.deb
sha:6f961d42fb7add85345c4993e4b00c2459769381
-
alt-php56-enchant_5.6.40-138_arm64.deb
sha:7223d6783ba4a456f7c02b452278aaa62595f942
-
alt-php56-firebird_5.6.40-138_arm64.deb
sha:85ac694bbb91f323339ce3b29e1b1190a59541fd
-
alt-php56-gd_5.6.40-138_arm64.deb
sha:1d894ddc2459595ac10a9e1c0f3109ce5e40d515
-
alt-php56-imap_5.6.40-138_arm64.deb
sha:6d30d1489b9c22b6ac73a95d894796f0bca776d5
-
alt-php56-intl_5.6.40-138_arm64.deb
sha:ad8bf50296d620b8e3dc92e1ec784a9bf46e7b43
-
alt-php56-ldap_5.6.40-138_arm64.deb
sha:0272ae27ce446b6fc23b0fa6def4161712e24aec
-
alt-php56-mbstring_5.6.40-138_arm64.deb
sha:137021a14d4ea48c0d2f201b6613499078e91a7a
-
alt-php56-mcrypt_5.6.40-138_arm64.deb
sha:94584a08f1540956752773e49d7ac96901e48c43
-
alt-php56-mysqlnd_5.6.40-138_arm64.deb
sha:03b92f8215df671ef99750254564951173ff3577
-
alt-php56-odbc_5.6.40-138_arm64.deb
sha:75176613ee8096c19784c6f91b03716eb98f3835
-
alt-php56-opcache_5.6.40-138_arm64.deb
sha:570a147f3688a4b1f196f17d3e9c23d24ac0fc61
-
alt-php56-pdo_5.6.40-138_arm64.deb
sha:2de31b1cd7012a9cb1d9e59bf771ff9e075596f8
-
alt-php56-pgsql_5.6.40-138_arm64.deb
sha:5d647b6e2a9057e09f84a700ac59d09355f37f77
-
alt-php56-php-fpm_5.6.40-138_arm64.deb
sha:766026a8e64a88401103310c0907f1c7c2a74153
-
alt-php56-process_5.6.40-138_arm64.deb
sha:63bb4175ca69e69ca68bab57e97b18304dd37c2a
-
alt-php56-pspell_5.6.40-138_arm64.deb
sha:e406278050bc97e78518ff8be745608d48ca6499
-
alt-php56-recode_5.6.40-138_arm64.deb
sha:bd9a6cd70f79fe899a7f404431276476a74bf6d4
-
alt-php56-snmp_5.6.40-138_arm64.deb
sha:5ad8ba31632f03b86767ba104a8ea6af67e5a57c
-
alt-php56-soap_5.6.40-138_arm64.deb
sha:a18514ed7476877d63731a4f7b3531cdc2706438
-
alt-php56-sybase_5.6.40-138_arm64.deb
sha:7828eeb02a19e574c5126c52c8e8787eac1d164d
-
alt-php56-tidy_5.6.40-138_arm64.deb
sha:1e9e0352090a2053ed766bd1ea57df3f6fd19a73
-
alt-php56-xml_5.6.40-138_arm64.deb
sha:c26420fa388852825503de94f955cb678d639f04
-
alt-php56-xmlrpc_5.6.40-138_arm64.deb
sha:8e81f7b1769f5ec8ba8a665eabf9ebfbf0de06f1
Notes:
This page is generated automatically and has not been checked for errors. For clarification or
corrections please contact the
CloudLinux Packaging Team.