[CLSA-2026:1790953123] Fix CVE(s): CVE-2025-14181, CVE-2026-6103, CVE-2026-91765, CVE-2026-92842
Type:
security
Severity:
Important
Release date:
2026-10-02 14:58:58 UTC
Description:
* SECURITY UPDATE: out-of-bounds read in the convert stream filters when line-break-chars contains a NUL byte - debian/patches/php-5.2-CVE-2026-92842.patch: backport upstream commit b4e3397ec8f4f647e6e019dbf79870fc2f14ba78 so php_conv_base64_encode_ctor(), php_conv_qprint_encode_ctor() and php_conv_qprint_decode_ctor() in ext/standard/filters.c duplicate lbchars with pestrndup(lbchars, lbchars_len, persistent) instead of the strlen-based pestrdup(). pestrdup() truncated at the first NUL while inst->lbchars_len kept the untruncated length, so the converters read past the end of the allocation. The option is reachable from userspace through stream_filter_append() and php://filter. Also adds upstream's ext/standard/tests/filters/ghsa-88hq-2827-7pg6.phpt, adapted for 5.2 (array() instead of the short-array literal). - CVE-2026-92842 * SECURITY UPDATE: integer overflow in the ext/soap chunked-transfer body accumulator - debian/patches/php-5.2-CVE-2025-14181.patch: backport upstream commit b11bd1d9390bb203684e3d4aa5e1104ea842de6f to ext/soap/php_http.c. The "if (http_buf_size + buf_size + 1 < 0)" test in get_http_body() is dead code - signed overflow is undefined - so a malicious endpoint could answer with Transfer-Encoding: chunked and chunk sizes totalling more than INT_MAX, wrap the accumulator negative and overflow the heap buffer. http_buf_size becomes size_t, buf_size and len_size become unsigned int, and each growth step is bounded with "buf_size >= (size_t) INT_MAX - http_buf_size" before the addition is performed. INT_MAX rather than upstream's ZSTR_MAX_LEN because this branch has no zend_string: the body is a char* grown with erealloc() and its length leaves the function through an int *out_size. The Content-Length path gains "header_length >= INT_MAX" and the Connection: close path gains the matching bound on its 4096-byte steps. The Location: redirect allocation upstream hardens in the same commit becomes safe_emalloc(1, p - t, strlen(new_url->path) + 2), 5.2's equivalent of zend_string_safe_alloc(). The upstream .phpt is not carried: it drives a live http endpoint through a server.inc helper this tree does not have and needs 4 GB of RAM. - CVE-2025-14181 * SECURITY UPDATE: phar tar entry injection via unrepresentable entry sizes and data-carrying entry types - debian/patches/php-5.2-CVE-2026-6103.patch: backport upstream commit 0994e2e887cd993866b5e4d7dba2fade5caeefec to ext/phar/tar.c and ext/phar/phar_internal.h from the bundled PECL phar-2.0.0 tarball, which prep_build unpacks into ext/phar before any patch runs. A new phar_tar_size() rejects sizes that cannot be represented - octal that overflows, GNU base-256, non-octal digits, trailing garbage - instead of letting phar_tar_number() wrap them, GNU long link ('K') records are refused rather than registered as entries, and a new phar_tar_type_has_data() makes every entry type that carries data have its data blocks skipped. Without these the stream was left pointing at attacker-chosen bytes inside another entry's data, which phar then parsed as a tar header, so the archive presented entries that no conforming tar reader sees. phar_tar_size() checks the multiply-add at each digit rather than accumulating in uint64_t, which is not guaranteed to exist on this branch. Also adds upstream's three ext/phar/tests/tar/GHSA-j3wh-g957-2m85-*.phpt, adapted for 5.2 (array(), dirname(__FILE__), --SKIPIF-- instead of --EXTENSIONS--). - CVE-2026-6103 * SECURITY UPDATE: unbounded recursion in ext/soap XML parsing and decoding - debian/patches/php-5.2-CVE-2026-91765.patch: backport upstream commit 3655b79c7bfa90db004d75a3b282ed0f538f4836 to ext/soap/php_xml.c, php_encoding.c, php_soap.h and soap.c. ext/soap parses the request and the response with XML_PARSE_HUGE, which disables libxml2's own limit, and then recursed once per nesting level in cleanup_xml_node(), in get_node_with_attribute_recursive_ex() and through the to_zval() decode chain, so a few thousand levels exhausted the C stack. Both php_xml.c walks become iterative, documents deeper than SOAP_MAX_XML_DEPTH (2048) are rejected on libxml2 below 2.13, and an unsigned int decode_depth added to the soap module globals caps the decode chain at SOAP_MAX_DECODE_DEPTH - which also bounds href chains and cycles, since those walk the same recursion over a flat document. The counter is zeroed by encode_reset_ns()/encode_finish(), which bracket decoding on both the server and the client path. Also adds two of upstream's three ext/soap/tests/GHSA-rgrp-mwpx-f6rm*.phpt, the href-chain and href-cycle ones, adapted for 5.2. The third, the XML-depth one, is not carried: soap_xmlParseFile() on this branch never sets XML_PARSE_HUGE - only soap_xmlParseMemory() does - so libxml2 rejects its WSDL fixtures at its own xmlParserMaxDepth of 256, well before the 2048 cap the fix adds, and no fixture can both parse here and reach the check. - CVE-2026-91765
Updated packages:
  • alt-php52_5.2.17-239_amd64.deb
    sha:6621be3b41cea8fa01bb24032bb1fef18cc7e6b4
  • alt-php52-bcmath_5.2.17-239_amd64.deb
    sha:3de4f2647dc968950a264de655fe560abdc4986c
  • alt-php52-cli_5.2.17-239_amd64.deb
    sha:93455ba241cf03973d566ef2d44a73985cfe4400
  • alt-php52-common_5.2.17-239_amd64.deb
    sha:daf887593372c5bd0225aeb0a54f23ea1138de1e
  • alt-php52-dba_5.2.17-239_amd64.deb
    sha:cc99a80e7c629f99606fe2b7359f3720269e5841
  • alt-php52-dbx_5.2.17-239_amd64.deb
    sha:1672151ab8e28a5c650c53e07b95ffcfca17c643
  • alt-php52-dev_5.2.17-239_amd64.deb
    sha:00f4d8c7b6de8ff370042109b88340bb7b66fe48
  • alt-php52-enchant_5.2.17-239_amd64.deb
    sha:038cc567acdde8774031a7674ea53257fdc2e17d
  • alt-php52-firebird_5.2.17-239_amd64.deb
    sha:1863303ea3db63f389f8cd63875cb41fbf80188d
  • alt-php52-gd_5.2.17-239_amd64.deb
    sha:411c25fb6f7a7cb599a77c55b0cb295a2d7fe0f2
  • alt-php52-imap_5.2.17-239_amd64.deb
    sha:cddb283579fb1a1b208f0a564222ac059c98ccfb
  • alt-php52-intl_5.2.17-239_amd64.deb
    sha:7fe0c546e5b16815522b90455e1c596082f149d9
  • alt-php52-ldap_5.2.17-239_amd64.deb
    sha:1979598651babfef6dc5005eff8e6f518fc033c9
  • alt-php52-mbstring_5.2.17-239_amd64.deb
    sha:8c6aeabda00930cb69ceb012c3701ad78f257ceb
  • alt-php52-mcrypt_5.2.17-239_amd64.deb
    sha:08e26d075b2138b6c0b09a10b65e406b28b17f9d
  • alt-php52-mysqlnd_5.2.17-239_amd64.deb
    sha:f5a09a39f70733ff72b0d0271918116411e9b97f
  • alt-php52-odbc_5.2.17-239_amd64.deb
    sha:349c8af9cdf5dc698de6a644b9f067cf84b543ac
  • alt-php52-pdo_5.2.17-239_amd64.deb
    sha:fab84722a91565b56fededb1c4c5d845da3190b5
  • alt-php52-pgsql_5.2.17-239_amd64.deb
    sha:917f6fb62dfe5821696f395b1bea145bfa84f032
  • alt-php52-process_5.2.17-239_amd64.deb
    sha:4251c3ba4091008d34ce9f5d2f14fcd48821eb91
  • alt-php52-pspell_5.2.17-239_amd64.deb
    sha:87a9f4adf293a90ca8e651ffd4b169d95e20f536
  • alt-php52-recode_5.2.17-239_amd64.deb
    sha:a97979a082bb601c3d2861169c267b873d4a6453
  • alt-php52-snmp_5.2.17-239_amd64.deb
    sha:5b1a88da9e384891c8de545ca62ca57fda20fd45
  • alt-php52-soap_5.2.17-239_amd64.deb
    sha:d9b36da07ef7f7f1ca2af8b796879257fe54908f
  • alt-php52-sqlite_5.2.17-239_amd64.deb
    sha:93dd2da900a9668d60087ee79b71791f535d8a4b
  • alt-php52-sybase_5.2.17-239_amd64.deb
    sha:315d33ece3c8fde831f4a818c7d6fc59bf1202f2
  • alt-php52-tidy_5.2.17-239_amd64.deb
    sha:3305558728b1fad23d1b406e28514bfeacd71121
  • alt-php52-xml_5.2.17-239_amd64.deb
    sha:3db1a591863c717ce23ca0749105d42fbeb923a1
  • alt-php52-xmlrpc_5.2.17-239_amd64.deb
    sha:1c8a9e36946516b618f1d3e78ea00b17f8f5f491
  • alt-php52_5.2.17-239_arm64.deb
    sha:30354764e14afe7fbc6eaf3ecdeae356876b032e
  • alt-php52-bcmath_5.2.17-239_arm64.deb
    sha:c7eb13fd23737524bf72a13e158c9f62f31bde83
  • alt-php52-cli_5.2.17-239_arm64.deb
    sha:87e17094450c59016abfe3585b8cf23bcd529446
  • alt-php52-common_5.2.17-239_arm64.deb
    sha:d9a7c1a0131fdfa88c681ef460a6934926df2bdc
  • alt-php52-dba_5.2.17-239_arm64.deb
    sha:c4f49f66a8e7931ab1637af56407178a058eef84
  • alt-php52-dbx_5.2.17-239_arm64.deb
    sha:f7da1f52cc42196d12c3e8089d64064750d46238
  • alt-php52-dev_5.2.17-239_arm64.deb
    sha:923c12a46bc6f1c2f5ed4e433f873ea3e6f6cbe8
  • alt-php52-enchant_5.2.17-239_arm64.deb
    sha:c58a13cbaf305ace871342c009cf2082e38807d8
  • alt-php52-firebird_5.2.17-239_arm64.deb
    sha:7a9b15611e1db459f6525ccb5d301ed409cb9a47
  • alt-php52-gd_5.2.17-239_arm64.deb
    sha:08a5d20b8e6c61b3230f5e89babbcd7b88b0806c
  • alt-php52-imap_5.2.17-239_arm64.deb
    sha:cccabe6725000c9de53662f67db36dac5b181cc3
  • alt-php52-intl_5.2.17-239_arm64.deb
    sha:60df73bce8e555e7b354a171a7a5baf5909c0ea5
  • alt-php52-ldap_5.2.17-239_arm64.deb
    sha:e9e11f6f480bd0cb4b3ae6056af7a32f69b7059c
  • alt-php52-mbstring_5.2.17-239_arm64.deb
    sha:b80b6ad1a29e6371377e820c31c336f581726134
  • alt-php52-mcrypt_5.2.17-239_arm64.deb
    sha:f03aba31ffd2fb1e6508d74563072f3164b51d5d
  • alt-php52-mysqlnd_5.2.17-239_arm64.deb
    sha:cdb20776e9120783c9df619a012b8b83875ed7d2
  • alt-php52-odbc_5.2.17-239_arm64.deb
    sha:4b85d18e5f2e48ebf18f17586a445b3638d4432b
  • alt-php52-pdo_5.2.17-239_arm64.deb
    sha:9d2f5bd54d7a75ac3318cc5eeb21a755db772cc7
  • alt-php52-pgsql_5.2.17-239_arm64.deb
    sha:e3d25cb25159c4cdbd6a1bc3b1e1c0554f304e79
  • alt-php52-process_5.2.17-239_arm64.deb
    sha:973be739e87510ed5870567ec1c45582ed07e32c
  • alt-php52-pspell_5.2.17-239_arm64.deb
    sha:88a4ff40056a19499603c0c4b90796fa058f7542
  • alt-php52-recode_5.2.17-239_arm64.deb
    sha:ffea1a0ecdaa080636662e681763083e4fecfdf7
  • alt-php52-snmp_5.2.17-239_arm64.deb
    sha:95f9d78ddc824f3a5ee35a2c98d1c9a8df64a607
  • alt-php52-soap_5.2.17-239_arm64.deb
    sha:1f538338d6fcf6fd40fa5cf8c0f11f18bb85520b
  • alt-php52-sqlite_5.2.17-239_arm64.deb
    sha:627b7835912564b94478f998fd1cbb37f94b4a42
  • alt-php52-sybase_5.2.17-239_arm64.deb
    sha:0f8a8bde9650197f7d4761367955d6e8ef225efb
  • alt-php52-tidy_5.2.17-239_arm64.deb
    sha:b9c9ab463e8cbe00a3e74df5abf0a0bb66d56339
  • alt-php52-xml_5.2.17-239_arm64.deb
    sha:43174a35bf5a8e4d131892afbef53b5d7fd7558e
  • alt-php52-xmlrpc_5.2.17-239_arm64.deb
    sha:a7a3377a6df89f1345fd73ce75c195318186aca3
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.