Release date:
2026-10-09 10:08:48 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:241858784e9c3237ba4befdb42fbdc5bd016a705
-
alt-php81-bcmath_8.1.34-38_amd64.deb
sha:d0670e08cab9b4196111f1d042315f06149c9ec5
-
alt-php81-cli_8.1.34-38_amd64.deb
sha:171fd537ded3a781c7ee995037eac875c328365d
-
alt-php81-common_8.1.34-38_amd64.deb
sha:f65c66850697a05b697a9ad9b2e405507f6ee297
-
alt-php81-dba_8.1.34-38_amd64.deb
sha:3f87aa3508661e6ed4dc542038ebc02f37e1007c
-
alt-php81-dev_8.1.34-38_amd64.deb
sha:0fc1ff76a7c09445a1eeb3c1a20f39054ab97a01
-
alt-php81-enchant_8.1.34-38_amd64.deb
sha:83929d5f7febbb30c83d2796607e7aebea97882e
-
alt-php81-firebird_8.1.34-38_amd64.deb
sha:10d4e6e8abbbf8960196d05a4ac004908202bee6
-
alt-php81-gd_8.1.34-38_amd64.deb
sha:390561c67eaa6623be73f772dc820214f00db43a
-
alt-php81-imap_8.1.34-38_amd64.deb
sha:d61262139aee8ac40e1038d99358183fb07741a6
-
alt-php81-intl_8.1.34-38_amd64.deb
sha:16da82d966e48407f429a3d7520cc07b0dce446e
-
alt-php81-ldap_8.1.34-38_amd64.deb
sha:ea8251ccb313fdfa5e2a212a2639e60ad30f85a1
-
alt-php81-mbstring_8.1.34-38_amd64.deb
sha:e367d2e73fa8ca6f71e51dfec80f9dd73b9d953f
-
alt-php81-mysqlnd_8.1.34-38_amd64.deb
sha:03d38f52d1c9be154a3bf3c55dcbb6a8e2c6d4fb
-
alt-php81-odbc_8.1.34-38_amd64.deb
sha:0c142c1d4782a33aef1a5b487abf80d261eb1f98
-
alt-php81-opcache_8.1.34-38_amd64.deb
sha:6cddc66fe26ad89dad993fbf2b12d28616c7183b
-
alt-php81-pdo_8.1.34-38_amd64.deb
sha:f86663e2fe10743e484db98837d2ea3a0f4da42b
-
alt-php81-pgsql_8.1.34-38_amd64.deb
sha:f54230d84a83d587bd8af246acbfb3cfa1cae55c
-
alt-php81-php-fpm_8.1.34-38_amd64.deb
sha:c36d0b46a0f54aac33b09d399a1714daa8821e3a
-
alt-php81-process_8.1.34-38_amd64.deb
sha:db7841e9e7d5b1b8f6519e07d46d3ccb22dfda72
-
alt-php81-pspell_8.1.34-38_amd64.deb
sha:21fbf673026bc2b30dc24fc61c29c30ca88a14dc
-
alt-php81-snmp_8.1.34-38_amd64.deb
sha:e610f1d294d820d4d42b77d47af4af70599bc0b7
-
alt-php81-soap_8.1.34-38_amd64.deb
sha:ddb1aac1c607d59b419c459f68d3a0dda6a51545
-
alt-php81-sodium_8.1.34-38_amd64.deb
sha:e3595e784768ba4530fc6a2704b052c2e7fe4dcc
-
alt-php81-tidy_8.1.34-38_amd64.deb
sha:f3f1aff5da9c554755cdfb249c3c35c6872506a6
-
alt-php81-xml_8.1.34-38_amd64.deb
sha:488d5a0a9991d2f56308a345f7cbe370cf70cdac
Notes:
This page is generated automatically and has not been checked for errors. For clarification or
corrections please contact the
CloudLinux Packaging Team.