Release date:
2026-10-09 09:03:20 UTC
Description:
* SECURITY UPDATE: out-of-bounds reads in the mysqlnd wire-protocol parser
- debian/patches/php-8.1-CVE-2025-1218.patch: check that a packet still
holds the bytes a field needs before decoding it, in
ext/mysqlnd/mysqlnd_wireprotocol.c, ext/mysqlnd/mysqlnd_wireprotocol.h
and ext/mysqlnd/mysqlnd_ps_codec.c. BAIL_IF_NO_MORE_DATA, which only
noticed an overread after the fact, is replaced by
BAIL_IF_NOT_ENOUGH_DATA_EX(n); php_mysqlnd_net_field_length() and its
_ll variant take the remaining packet size and reject lengths whose
payload is not present; the auth-plugin-data branches use memchr()
instead of trusting a NUL terminator; and the TIME/DATE/DATETIME
readers stop decoding fixed offsets out of a shorter declared length.
The ext/mysqlnd/mysqlnd_ps.c hunk releases the connection reference
and the execute command buffer on the prepare-EOF failure path that
the above makes reachable. The prepare_read and
sha256_pk_request_response_read changes are hardening, not
memory-safety fixes. Also adds ext/mysqli/tests/fake_server.inc
support and 38 ghsa-r6x9-5r99-36j7-*.phpt regression tests.
- CVE-2025-1218
Updated packages:
-
alt-php81_8.1.34-38_amd64.deb
sha:e392120dffb0d911db013ae7ab60d31ebb1fa57e
-
alt-php81-bcmath_8.1.34-38_amd64.deb
sha:69e4c12d82159154552b52715cacfbd7caa10d0f
-
alt-php81-cli_8.1.34-38_amd64.deb
sha:91bea7a04a23e651b0c56d7ec7de93146d268691
-
alt-php81-common_8.1.34-38_amd64.deb
sha:b91fb521648d12af7394df137336fe57bac5ed17
-
alt-php81-dba_8.1.34-38_amd64.deb
sha:f9488d2c3bdc1e3bec76960e60921893354738b3
-
alt-php81-dev_8.1.34-38_amd64.deb
sha:9fe3b61400813b7b3fdfe3dd30b57a2aea4bed4e
-
alt-php81-enchant_8.1.34-38_amd64.deb
sha:02fab6ec8b331fd443319bd18b8ec6fc48de0ff7
-
alt-php81-firebird_8.1.34-38_amd64.deb
sha:fad934fafd8dfeba89845312627b096c8fadcab7
-
alt-php81-gd_8.1.34-38_amd64.deb
sha:3b619750f8c12a8cabef2b1d637fc50961b37528
-
alt-php81-imap_8.1.34-38_amd64.deb
sha:b82da832ad327c9a130cd6814bac77a1f404d40e
-
alt-php81-intl_8.1.34-38_amd64.deb
sha:8556bbb7a60d5f33371dca54eb9f4d747a01d03f
-
alt-php81-ldap_8.1.34-38_amd64.deb
sha:d2891459ec1b02a647318f12a96c3eb6c0548384
-
alt-php81-mbstring_8.1.34-38_amd64.deb
sha:f3881c89347b76d85a6df831c1ef1929f58ed9a2
-
alt-php81-mysqlnd_8.1.34-38_amd64.deb
sha:16f75ac556715c4abccbd1b22ff6ca79cb202e99
-
alt-php81-odbc_8.1.34-38_amd64.deb
sha:620faafaf0d1c3ff9d7d62099ef71d2706b318b9
-
alt-php81-opcache_8.1.34-38_amd64.deb
sha:9fd38169781b494ec59ddda8ffa179aacf77d780
-
alt-php81-pdo_8.1.34-38_amd64.deb
sha:7a1d77fa069faa6069fcb2c8864bfd2fc7e19f46
-
alt-php81-pgsql_8.1.34-38_amd64.deb
sha:bc193a7cb4f52717a45767660737775fed967aca
-
alt-php81-php-fpm_8.1.34-38_amd64.deb
sha:aa670bb96819fd0793bf3f453112c88e8a1e4007
-
alt-php81-process_8.1.34-38_amd64.deb
sha:47052d97a039dfcda9c57307d6d3030a17a55910
-
alt-php81-pspell_8.1.34-38_amd64.deb
sha:84ce692f9ec2dac41444dae7a77df0626f10889d
-
alt-php81-snmp_8.1.34-38_amd64.deb
sha:ccbe7d8bb0d9cf7222d228ba67c57a2b404fcc87
-
alt-php81-soap_8.1.34-38_amd64.deb
sha:b7f0e35a51caf38069c958cf341237293d7e5b27
-
alt-php81-sodium_8.1.34-38_amd64.deb
sha:f0cbf14caa51dc1b0e20ecdd99b918f12ecb18fa
-
alt-php81-tidy_8.1.34-38_amd64.deb
sha:cb6ed7c706443df47cb9900cdb013b428eef56bd
-
alt-php81-xml_8.1.34-38_amd64.deb
sha:701d863aef7eed3e25b89b671538176f861c8542
Notes:
This page is generated automatically and has not been checked for errors. For clarification or
corrections please contact the
CloudLinux Packaging Team.