Release date:
2026-10-09 08:56:18 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:aff7ad9de32357b177988c4076c0be427cea457d
-
alt-php81-bcmath_8.1.34-38_amd64.deb
sha:65d792fc3101430fdb26811aac0a6c5596d41f62
-
alt-php81-cli_8.1.34-38_amd64.deb
sha:4bca77bef56dcc85ef05c26041a6e5cac14880ec
-
alt-php81-common_8.1.34-38_amd64.deb
sha:799ab6b792080b51cdb61622bf2cc8e69a76a06f
-
alt-php81-dba_8.1.34-38_amd64.deb
sha:af438a2e287a543182f13b415350027d71c3b7e7
-
alt-php81-dev_8.1.34-38_amd64.deb
sha:61a2eb454a046e5924b5be9cfae63f13348f083f
-
alt-php81-enchant_8.1.34-38_amd64.deb
sha:c5e6c6a209a72d0b3ae9521a2e11d1c9009fb49f
-
alt-php81-firebird_8.1.34-38_amd64.deb
sha:0ba338e0d641c0326ea930896227d84f5ff2682e
-
alt-php81-gd_8.1.34-38_amd64.deb
sha:a6594f30157305274db8e895dbd3aa25d07b72bd
-
alt-php81-imap_8.1.34-38_amd64.deb
sha:51b0351474dbbb64e1f092342dab8e3e0116116b
-
alt-php81-intl_8.1.34-38_amd64.deb
sha:ae915a61fc21d3d054bd7d22c5012663b6f80898
-
alt-php81-ldap_8.1.34-38_amd64.deb
sha:e14785cd57dd79624830eac4edfad7ef409fc4ca
-
alt-php81-mbstring_8.1.34-38_amd64.deb
sha:9bf338ba71bbd88120c9093826caad8ee034627d
-
alt-php81-mysqlnd_8.1.34-38_amd64.deb
sha:6c6d375f36de268bdd7e67cee06e0a5d6f5156f5
-
alt-php81-odbc_8.1.34-38_amd64.deb
sha:2cc175f691ecf31bf4b516e57d9eab9b30ee09f2
-
alt-php81-opcache_8.1.34-38_amd64.deb
sha:a04f8d94df1dde56538f5b12d391bc2c5b47b8c5
-
alt-php81-pdo_8.1.34-38_amd64.deb
sha:bb5556a18538f272aeb906bfb48812d4d621c281
-
alt-php81-pgsql_8.1.34-38_amd64.deb
sha:31e548e99c3ec03f08858585fae14600e5170f34
-
alt-php81-php-fpm_8.1.34-38_amd64.deb
sha:1cffe46014837952da2648a80b36289ba7b11090
-
alt-php81-process_8.1.34-38_amd64.deb
sha:2c609bd35c92c9f05a888e21e17d9e0d9ddf381d
-
alt-php81-pspell_8.1.34-38_amd64.deb
sha:2d95346ef78e2a4268465550b9b42b233b6cdc80
-
alt-php81-snmp_8.1.34-38_amd64.deb
sha:03d4fe55f6275f9fed3902d7ee799058c023a1f5
-
alt-php81-soap_8.1.34-38_amd64.deb
sha:0b07fa6b43cc303e7dff97a1a0596c0a6131585c
-
alt-php81-tidy_8.1.34-38_amd64.deb
sha:93a9593e5bb41edb320e1bb38df1360a2e3faba0
-
alt-php81-xml_8.1.34-38_amd64.deb
sha:c2b69d6686d9047ea6054a69e0ec19f3047cb596
Notes:
This page is generated automatically and has not been checked for errors. For clarification or
corrections please contact the
CloudLinux Packaging Team.