Release date:
2026-10-02 08:06:51 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:af6bca5aa3ad22bc1af84fbbbed2f41aff482149
-
alt-php52-bcmath_5.2.17-239_amd64.deb
sha:b755b04055431490013c9b3dba68e2b48dca0bbe
-
alt-php52-cli_5.2.17-239_amd64.deb
sha:214de9a396f8aaf3116cba5b817e700d7bc43b68
-
alt-php52-common_5.2.17-239_amd64.deb
sha:b36809af3581618ffb8fd9ad499ad4cb9a66a7da
-
alt-php52-dba_5.2.17-239_amd64.deb
sha:6c8ceb9c7fa294fc6012c3893a8843c7b1183de6
-
alt-php52-dbx_5.2.17-239_amd64.deb
sha:5113334694bde09fd80f80d8a8c2be380613f09e
-
alt-php52-dev_5.2.17-239_amd64.deb
sha:2e3cffae7533195a4bd547abc590c0d5d4fc28fa
-
alt-php52-enchant_5.2.17-239_amd64.deb
sha:7569ebb99460e7612a81e8c2dcb3a81c4d0863df
-
alt-php52-firebird_5.2.17-239_amd64.deb
sha:fb0df9b8fa1b1937e7e6099de3b15e9388f83cc6
-
alt-php52-gd_5.2.17-239_amd64.deb
sha:2ed88916d0069a17fe0075f5464a337323ceb4dc
-
alt-php52-imap_5.2.17-239_amd64.deb
sha:d5606ba91d32f1d28ceca415d448f6c636364788
-
alt-php52-intl_5.2.17-239_amd64.deb
sha:d64379a3d58d4ec474a53376c5465956312158f3
-
alt-php52-ldap_5.2.17-239_amd64.deb
sha:4bd47a4af7dd838405316a82807957f5450107bb
-
alt-php52-mbstring_5.2.17-239_amd64.deb
sha:9383987fd940919d368be902baa89ff6606c6e13
-
alt-php52-mcrypt_5.2.17-239_amd64.deb
sha:29232460dad842f57d872d49e2e5b09182287f11
-
alt-php52-mysqlnd_5.2.17-239_amd64.deb
sha:08110251eec0f4fcf0b258576db5d046595f55a1
-
alt-php52-odbc_5.2.17-239_amd64.deb
sha:412fcd95bc65f53e653b5cfbefc2a5d99148dfc0
-
alt-php52-pdo_5.2.17-239_amd64.deb
sha:6e702d6c2f462c0e29210d9b03977a509a0b96d4
-
alt-php52-pgsql_5.2.17-239_amd64.deb
sha:a9d4dc91337f32200d337673b38f6f2f2953bf85
-
alt-php52-process_5.2.17-239_amd64.deb
sha:4fefdfde6f024c8a6bdc0db124614b7defda31cf
-
alt-php52-pspell_5.2.17-239_amd64.deb
sha:7d1aa4a4c3f0c0789d31732159c91bd8e60dd4da
-
alt-php52-recode_5.2.17-239_amd64.deb
sha:13ff8e65ace5e99f3487efd40401cba435a302fc
-
alt-php52-snmp_5.2.17-239_amd64.deb
sha:54ccd36aedd029a6c9694113e925ef112ae7b9aa
-
alt-php52-soap_5.2.17-239_amd64.deb
sha:90679cdd520e042b160d586abe2aa602ab63a85a
-
alt-php52-sqlite_5.2.17-239_amd64.deb
sha:9ead66bb1249e10bf2a3fac8e3d8251fbafec395
-
alt-php52-sybase_5.2.17-239_amd64.deb
sha:fee3fc7215d41278266e371613194df8bebb126b
-
alt-php52-tidy_5.2.17-239_amd64.deb
sha:4c3fc8dc2804dd175c07da6d73162f9339bea4df
-
alt-php52-xml_5.2.17-239_amd64.deb
sha:e357c1223219240755ce39aab09afd29b4eecbdd
-
alt-php52-xmlrpc_5.2.17-239_amd64.deb
sha:f244225bc8cfcf939e1026a593faeae8bfd17e0d
Notes:
This page is generated automatically and has not been checked for errors. For clarification or
corrections please contact the
CloudLinux Packaging Team.