Release date:
2026-10-02 13:46:47 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:a7e369265667b86816a31ea5c9f5851f3c70f69d
-
alt-php52-bcmath_5.2.17-239_amd64.deb
sha:8d44a1c6a953150807d8984b8a31db7dbb146934
-
alt-php52-cli_5.2.17-239_amd64.deb
sha:c00b07e76c7c8897a3ad46448e2826b1e87232cb
-
alt-php52-common_5.2.17-239_amd64.deb
sha:7266552891d88ef54e6531c999d59e622be75003
-
alt-php52-dba_5.2.17-239_amd64.deb
sha:476f8a7baec49edbf24585b5b6eb38f563e33ee2
-
alt-php52-dbx_5.2.17-239_amd64.deb
sha:4ebd148f89010781a6a23cf21ff5ebd55612778f
-
alt-php52-dev_5.2.17-239_amd64.deb
sha:998ad03f6df45bfdcdce7d7bf185ff4267fefb36
-
alt-php52-enchant_5.2.17-239_amd64.deb
sha:9175f2a143932b16f8746beb4c291604aa259ea3
-
alt-php52-firebird_5.2.17-239_amd64.deb
sha:094322c464e464c9f030babc94935842af0ac12a
-
alt-php52-gd_5.2.17-239_amd64.deb
sha:f567ce0dcd26e7b403055c915a2230d8129ffc0f
-
alt-php52-imap_5.2.17-239_amd64.deb
sha:880ae11f4dc13d50a73d0ac1504376921b08499b
-
alt-php52-intl_5.2.17-239_amd64.deb
sha:cf18031803d72025f8f1154bf73af09669ba2df9
-
alt-php52-ldap_5.2.17-239_amd64.deb
sha:d34ce75bc33bee867f55d256b7f195ac15bd6ccf
-
alt-php52-mbstring_5.2.17-239_amd64.deb
sha:89f78fa536d9b7d1efccd5ae601d80cdf654c99d
-
alt-php52-mcrypt_5.2.17-239_amd64.deb
sha:dfd024ad757348b17440a5d45bc57997e980639d
-
alt-php52-mysqlnd_5.2.17-239_amd64.deb
sha:2e530ce970d01843c7ecd7766df64c68c49dded7
-
alt-php52-odbc_5.2.17-239_amd64.deb
sha:05ea6201735ce60552e263da36a8753cb4ea9aa3
-
alt-php52-pdo_5.2.17-239_amd64.deb
sha:7871a39797ee0036eee5a977174a49eb18216485
-
alt-php52-pgsql_5.2.17-239_amd64.deb
sha:a6ee903aff34231122fcbb47db43b8b862d4b6bd
-
alt-php52-process_5.2.17-239_amd64.deb
sha:3ec75ee8a3f8f223ca7e37adec4877a59423013b
-
alt-php52-pspell_5.2.17-239_amd64.deb
sha:74ed8dd6699968b589ca3eba0bb1140b62409c00
-
alt-php52-recode_5.2.17-239_amd64.deb
sha:f7ef640a5e0819671631f103cf6e1b9ab6e65b99
-
alt-php52-snmp_5.2.17-239_amd64.deb
sha:07a530982016904f3e274221aabac33b038b229d
-
alt-php52-soap_5.2.17-239_amd64.deb
sha:73e7cc41ad82744e19a70f128e6ec94f1db30ad4
-
alt-php52-sqlite_5.2.17-239_amd64.deb
sha:36de60a059b0f80eee1dedbf44bf45b8cba4df22
-
alt-php52-sybase_5.2.17-239_amd64.deb
sha:7cfaf4421aed2f664b8bc47f47f6194b4c5e29d2
-
alt-php52-tidy_5.2.17-239_amd64.deb
sha:3dd59642fda991ebdb0d353bb348051c44fc4b60
-
alt-php52-xml_5.2.17-239_amd64.deb
sha:0e864f218578c94ba81599cfc97e83407e3bf0ad
-
alt-php52-xmlrpc_5.2.17-239_amd64.deb
sha:65dfb073b102aef7f9743d051016baf92095d69e
Notes:
This page is generated automatically and has not been checked for errors. For clarification or
corrections please contact the
CloudLinux Packaging Team.