[CLSA-2026:1791252145] Fix of 5 CVEs
Type:
security
Severity:
Important
Release date:
2026-10-06 02:02:51 UTC
Description:
* SECURITY UPDATE: out-of-bounds read on an empty Location header when the http:// stream wrapper follows a redirect - debian/patches/php-5.6-CVE-2026-93682.patch: backport the net effect of upstream commits 8196275133ed (GH-23467) and de3436c76e46 (GH-23521) in ext/standard/http_fopen_wrapper.c. An empty Location header allocates a single byte for the NUL terminator, so the relative-redirect branch's read of location[1] over-read heap memory and could append a garbage-derived path to the redirect target instead of the host root. The length test now uses header_info.location_len, which this branch already carries from the CVE-2025-1861 backport, instead of strlen(), and the relative join is skipped when the header is shorter than two bytes so the second byte is never read. - Note: the guard lands directly on its final "location_len > 1" form. The intermediate "> 0" form from 8196275133ed is deliberately not shipped: it regressed single-character relative Location headers into resolving against the request path rather than the host root, which is what de3436c76e46 then fixed. Both changed lines are byte-identical to upstream; only the hunk offsets and the surrounding context differ (5.6 keeps resource->path as a plain char *). Upstream's two regression tests are carried as ext/standard/tests/http/http_empty_location_redirect.phpt and http_single_char_location_redirect.phpt, with the harness include switched to ext/openssl/tests/ServerClientTestCase2.inc, the copy that has phpt_notify_server_start() and the {{ ADDR }} placeholder on this branch. - CVE-2026-93682 * SECURITY UPDATE: php-fpm listen.allowed_clients matched only the first 96 bits of an IPv6 address - debian/patches/php-5.6-CVE-2026-91768.patch: backport upstream commit dcdfcf86fcf7 (GHSA-62xp-839h-2637) in sapi/fpm/fpm/fastcgi.c. fcgi_is_allowed() compared an incoming IPv6 peer against each entry of listen.allowed_clients with a hardcoded length of 12 bytes, so any client sharing only the first 96 bits of an allowed address was let through - every host in the same /96 as a permitted one, including the whole ::ffff:0:0/96 IPv4-mapped range for a single mapped entry. The comparison now covers sizeof(sin6_addr), all 128 bits. - Note: the changed line is byte-identical to upstream; only its location differs, as the FastCGI protocol code lives in sapi/fpm/fpm/fastcgi.c on 5.6 rather than main/fastcgi.c. Upstream's two regression tests are not carried: they need the modern FPM test harness (sapi/fpm/tests/tester.inc with the FPM\Tester class, its {{ADDR:IPv6:ANY[...]}} placeholders and skipIfIPv6IsNotSupported()), which does not exist on this branch. - CVE-2026-91768
Updated packages:
  • alt-php56_5.6.40-147_amd64.deb
    sha:f6cf88610a3da7b424047c6a03b928cff496c1b3
  • alt-php56-bcmath_5.6.40-147_amd64.deb
    sha:466465e6928e0c6b31d2bc43b8c30cc2c5ce4aeb
  • alt-php56-cli_5.6.40-147_amd64.deb
    sha:5dfefbd9db67ea412e78fe21304eb126017bb7ea
  • alt-php56-common_5.6.40-147_amd64.deb
    sha:98d214779f628418dfe5fe49844b983e7a83ad1d
  • alt-php56-dba_5.6.40-147_amd64.deb
    sha:c2d6ddbcc26d0c774ca4ce1a1a9fa7431a6c16d9
  • alt-php56-dbx_5.6.40-147_amd64.deb
    sha:ece7bfbaacf468043f33cc07b8c07a95c3ac8e25
  • alt-php56-dev_5.6.40-147_amd64.deb
    sha:db08b28c00227e726dd3ac7717d33d1160c45e72
  • alt-php56-enchant_5.6.40-147_amd64.deb
    sha:c2ac31c9224b8958350417f4e40c072fb7b85765
  • alt-php56-firebird_5.6.40-147_amd64.deb
    sha:d87c62b05da5529bec75a4c7fbad36f42c13e8a5
  • alt-php56-gd_5.6.40-147_amd64.deb
    sha:a3498a94d38093dbb8b27363ee9f1899303f4634
  • alt-php56-imap_5.6.40-147_amd64.deb
    sha:d047ffaf65cf22d4415c7aab7597764770cfc5dd
  • alt-php56-intl_5.6.40-147_amd64.deb
    sha:add5019e4be838f3385ce3c1436c5249aa0953fb
  • alt-php56-ldap_5.6.40-147_amd64.deb
    sha:336e0c3f19b9b887626f1887a21493e3c300e7da
  • alt-php56-mbstring_5.6.40-147_amd64.deb
    sha:9d98fe96c51cb12593d4571b4b804f0899d43e17
  • alt-php56-mcrypt_5.6.40-147_amd64.deb
    sha:299c071b70624b5465d2c19f60bad7d50cf07605
  • alt-php56-mysqlnd_5.6.40-147_amd64.deb
    sha:8fd173e04d6b8d4afea9cb42d9939a196693aa12
  • alt-php56-odbc_5.6.40-147_amd64.deb
    sha:9c7ebda65fdd836e634220413aa68994357aa6cd
  • alt-php56-opcache_5.6.40-147_amd64.deb
    sha:588c14b605b5ea5d6effe6fd69fdd12670fe0ead
  • alt-php56-pdo_5.6.40-147_amd64.deb
    sha:606168a664325119815b249be4d662aef7f5a07a
  • alt-php56-pgsql_5.6.40-147_amd64.deb
    sha:545aa02fcb99eb233f09d631ca60fa94eada963c
  • alt-php56-php-fpm_5.6.40-147_amd64.deb
    sha:904c6953df515aaf29a7e73408d6e05472a9d227
  • alt-php56-process_5.6.40-147_amd64.deb
    sha:bd6bd35f4e63bfe38e53d088e81384962b94aaf2
  • alt-php56-pspell_5.6.40-147_amd64.deb
    sha:f0eb68db4ac52ef80cd5a9e4bc9d9ed329ddd2cd
  • alt-php56-recode_5.6.40-147_amd64.deb
    sha:1d7ee77211320ac6c4c965624f5d07ca70b6b182
  • alt-php56-snmp_5.6.40-147_amd64.deb
    sha:fe081fa862f9e894abb638d37c5d22296367f1a7
  • alt-php56-soap_5.6.40-147_amd64.deb
    sha:b3a600934a923e6330fdaee118d18cc28e426688
  • alt-php56-sybase_5.6.40-147_amd64.deb
    sha:e3917df649232887c2813c57b925886f0ea284bf
  • alt-php56-tidy_5.6.40-147_amd64.deb
    sha:8137e2c5dc74fb1605553e69507c224ca01d13f4
  • alt-php56-xml_5.6.40-147_amd64.deb
    sha:462773fc38427bbdbccc9b421ebef6d0595d829e
  • alt-php56-xmlrpc_5.6.40-147_amd64.deb
    sha:53645ceec9a7170472bd8e8f03dfd586a660462d
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.