[CLSA-2026:1791254618] Fix of 5 CVEs
Type:
security
Severity:
Important
Release date:
2026-10-06 02:43:53 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:f2ca9cf1ba39271b9440ef63e443aa09efcd728c
  • alt-php56-bcmath_5.6.40-147_amd64.deb
    sha:f5b921e060fa3c15fed2868b24e83e432f3a5d89
  • alt-php56-cli_5.6.40-147_amd64.deb
    sha:d91b1457534332f4486008cd2442ed358d60a192
  • alt-php56-common_5.6.40-147_amd64.deb
    sha:e28d13de0fc228445ea301197f8c2eb328f6a1c5
  • alt-php56-dba_5.6.40-147_amd64.deb
    sha:fd29be4a4348256e08ec35846f2443c4cb2832bf
  • alt-php56-dbx_5.6.40-147_amd64.deb
    sha:58c7368540f9cfadf0fcc30651ff83e5fcaf32a6
  • alt-php56-dev_5.6.40-147_amd64.deb
    sha:262c0eff4cd3168872f7f5bafd147faa4a1d05d7
  • alt-php56-enchant_5.6.40-147_amd64.deb
    sha:f955ba90216910317f9ab14b009bf9f9c95de65a
  • alt-php56-firebird_5.6.40-147_amd64.deb
    sha:6befb963ad036dd15b653a76a9793451f044fc29
  • alt-php56-gd_5.6.40-147_amd64.deb
    sha:aa449d9e0270f45ac202378c846e6459ddb429eb
  • alt-php56-imap_5.6.40-147_amd64.deb
    sha:aaffd3af459cb34b4d87323537889c7dd113d7b1
  • alt-php56-intl_5.6.40-147_amd64.deb
    sha:13296726a675ed980cd6c3e80eb313244e93acc1
  • alt-php56-ldap_5.6.40-147_amd64.deb
    sha:bf91d517b31fa7fb690fb8ce9b4e80b84fa6242a
  • alt-php56-mbstring_5.6.40-147_amd64.deb
    sha:876fde8134413575f7c86620fc2e3b9f3839d261
  • alt-php56-mcrypt_5.6.40-147_amd64.deb
    sha:ddb12cb9b8c7ed5a287f806dfbcec2b127119000
  • alt-php56-mysqlnd_5.6.40-147_amd64.deb
    sha:aab207ee764d5229b28bb1e3377c15ed1a717b96
  • alt-php56-odbc_5.6.40-147_amd64.deb
    sha:3f9d884924595618f96869ef93a6317b1cd05574
  • alt-php56-opcache_5.6.40-147_amd64.deb
    sha:bd1e13cfc5dbc1abcb660a6fa8ea2244fb337e20
  • alt-php56-pdo_5.6.40-147_amd64.deb
    sha:684b5b97e83a0a386b49b84bcaac4793f6515086
  • alt-php56-pgsql_5.6.40-147_amd64.deb
    sha:428acbe53c37361ad58dce20ba90a00f4b755ab3
  • alt-php56-php-fpm_5.6.40-147_amd64.deb
    sha:eda4e33223f896dec2a67cbaae4d3d4b2e588ffb
  • alt-php56-process_5.6.40-147_amd64.deb
    sha:e6e8a8ab6ed15e286e7bf937de59b6fc01cb943d
  • alt-php56-pspell_5.6.40-147_amd64.deb
    sha:e76f60a397487b6ec24cff700cb6a84170f8a715
  • alt-php56-recode_5.6.40-147_amd64.deb
    sha:df5fb01dfe8272bee6f1e33e307f35c187a28636
  • alt-php56-snmp_5.6.40-147_amd64.deb
    sha:6573c26960ef3c0422ee640c75ff4779c35f527c
  • alt-php56-soap_5.6.40-147_amd64.deb
    sha:554d96bb8d216249e7d3353086b1eda6737edde7
  • alt-php56-sybase_5.6.40-147_amd64.deb
    sha:8d542044bc4c9abf006c227d8f1d68b237b93b14
  • alt-php56-tidy_5.6.40-147_amd64.deb
    sha:48c756c6e9bd9245fb73e95a15e88f50600b4ac7
  • alt-php56-xml_5.6.40-147_amd64.deb
    sha:b6fe62486d9ae77920a9bfe15776ec5d07416cdf
  • alt-php56-xmlrpc_5.6.40-147_amd64.deb
    sha:c3f7ba1c3c10a19067be03114bde8a0a2e7f3c31
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.