[CLSA-2026:1791262619] Fix of 5 CVEs
Type:
security
Severity:
Important
Release date:
2026-10-06 04:57:13 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:ac4388775a009816c2409408800cb41f46313549
  • alt-php56-bcmath_5.6.40-147_amd64.deb
    sha:8b7c19bef959d647acf4c29504695967257332c8
  • alt-php56-cli_5.6.40-147_amd64.deb
    sha:2ae1be3a02fdf12337c3efffb1a954746f725106
  • alt-php56-common_5.6.40-147_amd64.deb
    sha:0fe0ba8a7997e0d09493f04fc6b880cad59f28c9
  • alt-php56-dba_5.6.40-147_amd64.deb
    sha:d2173702be880cf3e64bf3465ea84a9cb182cc7c
  • alt-php56-dbx_5.6.40-147_amd64.deb
    sha:489e8a31baac2090f93c0c8407f49a730863b131
  • alt-php56-dev_5.6.40-147_amd64.deb
    sha:ee8c5ffde9c94c5014eb999e4ea0072325195237
  • alt-php56-enchant_5.6.40-147_amd64.deb
    sha:5ff9feaf571293f09026f028f55fc57c25bee370
  • alt-php56-firebird_5.6.40-147_amd64.deb
    sha:72e61bec982608b0b1b23eaa8bd93f9e5a8e6ae3
  • alt-php56-gd_5.6.40-147_amd64.deb
    sha:9292e7c359c75330f00f53b7ff9db7fc9155edc7
  • alt-php56-imap_5.6.40-147_amd64.deb
    sha:bb39f7614a4ddec18d845ee90354a4e6d43a4011
  • alt-php56-intl_5.6.40-147_amd64.deb
    sha:d712a4ae6d91f4ece99290a6bbba662a0e40701d
  • alt-php56-ldap_5.6.40-147_amd64.deb
    sha:d5ace9c34c11f23754d874deb19bc917bb7273d9
  • alt-php56-mbstring_5.6.40-147_amd64.deb
    sha:f5bd98bafdd0cd2c836c6b6f1cc3c612b9e26f26
  • alt-php56-mcrypt_5.6.40-147_amd64.deb
    sha:083844686bb68ee9053a1110a1eced9b5dabede5
  • alt-php56-mysqlnd_5.6.40-147_amd64.deb
    sha:d5a604115a563d80d9007afeba6b2c3c68684167
  • alt-php56-odbc_5.6.40-147_amd64.deb
    sha:31b262c25a29458a867b5565615f86cf34884a03
  • alt-php56-opcache_5.6.40-147_amd64.deb
    sha:16f4a37c084af451e2a7fe126b8484e705fb236a
  • alt-php56-pdo_5.6.40-147_amd64.deb
    sha:926acfe0d897b8a2dfbf773d3d2f4c02bd351f40
  • alt-php56-pgsql_5.6.40-147_amd64.deb
    sha:652a4050f357ce04bd08e7c0c7174089c9a63ef0
  • alt-php56-php-fpm_5.6.40-147_amd64.deb
    sha:89f9ca7bee60d73ccaf46881e7e2c8ee7d578bdc
  • alt-php56-process_5.6.40-147_amd64.deb
    sha:ec48aada1a9ab51148a603b19560f0ba3ae1a7fd
  • alt-php56-pspell_5.6.40-147_amd64.deb
    sha:b11315c5afdbeca957079400a2755da9f3b4f9af
  • alt-php56-recode_5.6.40-147_amd64.deb
    sha:11f60c6b747ed7f9310b0d9f4d5ed2daaa4f33df
  • alt-php56-snmp_5.6.40-147_amd64.deb
    sha:f4c7fe5f66f714cbf1df69fef53174d4a9406dd1
  • alt-php56-soap_5.6.40-147_amd64.deb
    sha:e40bf7b225ca884cbd38ac483087abc0492c8800
  • alt-php56-sybase_5.6.40-147_amd64.deb
    sha:76621a68c06c8863fe8c4d6058ed3d16b7476b30
  • alt-php56-tidy_5.6.40-147_amd64.deb
    sha:d8fa2702fa26865cc970832594f67337867c7aeb
  • alt-php56-xml_5.6.40-147_amd64.deb
    sha:e6120adad035544077e8d980c81499eac1c70136
  • alt-php56-xmlrpc_5.6.40-147_amd64.deb
    sha:7cb8855e0c27ea581063d519c0904e59d533b575
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.