[CLSA-2026:1791546912] Fix CVE(s): CVE-2025-1218
Type:
security
Severity:
Important
Release date:
2026-10-09 11:55:23 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
CVEs fixed:
Updated packages:
  • alt-php81_8.1.34-38_amd64.deb
    sha:e392120dffb0d911db013ae7ab60d31ebb1fa57e
  • alt-php81-bcmath_8.1.34-38_amd64.deb
    sha:17931c4f0d0bd662911c92f8daa8e0e73f11e7da
  • alt-php81-cli_8.1.34-38_amd64.deb
    sha:fa275e6d92b467eb182db67a5ca92a029deaf914
  • alt-php81-common_8.1.34-38_amd64.deb
    sha:1443913f2e326a31a7134383f1d58d8f2c4c9f8c
  • alt-php81-dba_8.1.34-38_amd64.deb
    sha:d02108c621efbb8ec933ea9514a88266451c1004
  • alt-php81-dev_8.1.34-38_amd64.deb
    sha:e3ff3d4f010246cde6fda98b2412565e02d544ce
  • alt-php81-enchant_8.1.34-38_amd64.deb
    sha:144ddebb997aa4e0e958ed8225655efc9f3ff3b8
  • alt-php81-firebird_8.1.34-38_amd64.deb
    sha:db6e05afd37f4ba8cc063cd35636b57c8110fc38
  • alt-php81-gd_8.1.34-38_amd64.deb
    sha:2d34f682142edffd425319d391b5866b6642c039
  • alt-php81-imap_8.1.34-38_amd64.deb
    sha:0e81bc3491217710aefe8432bc7859599e5cb6eb
  • alt-php81-intl_8.1.34-38_amd64.deb
    sha:0b7eb758acb2832c656c5bc24995fa0846321830
  • alt-php81-ldap_8.1.34-38_amd64.deb
    sha:1eb1d0c8dd79802acb26490c78c02fc3a273eb92
  • alt-php81-mbstring_8.1.34-38_amd64.deb
    sha:23ce367c9eaa07b0cc63724e594aac7fbb519d95
  • alt-php81-mysqlnd_8.1.34-38_amd64.deb
    sha:8af37ef988318b37123b8410e44d6e06fb186a8a
  • alt-php81-odbc_8.1.34-38_amd64.deb
    sha:452e9683a07c8ba5d399186abc690dd8ab7b6bd8
  • alt-php81-opcache_8.1.34-38_amd64.deb
    sha:d294738d83073a337b85dce8f4fe78fab44c973f
  • alt-php81-pdo_8.1.34-38_amd64.deb
    sha:179128bfb5f3e51e64e24f1f5380b6f66afe21ba
  • alt-php81-pgsql_8.1.34-38_amd64.deb
    sha:6bf29c4fca1abafe0e09aa9d68e116bee711c6e0
  • alt-php81-php-fpm_8.1.34-38_amd64.deb
    sha:7f9281e42783cee7fa30547cf716fc664da872e3
  • alt-php81-process_8.1.34-38_amd64.deb
    sha:43355637b0142efe44105e5e28a14eb5d3bd4ae6
  • alt-php81-pspell_8.1.34-38_amd64.deb
    sha:2c6ffe40b3075b64429741164af7be232e0799cc
  • alt-php81-snmp_8.1.34-38_amd64.deb
    sha:fb499508ece8c8414c3286ff37bddb734410392b
  • alt-php81-soap_8.1.34-38_amd64.deb
    sha:3dd23cc47c186e6abac9a6a0e65ab6d314ab05ba
  • alt-php81-sodium_8.1.34-38_amd64.deb
    sha:5605b0b5bc860ea1dea9dce08ccf809c8c7543d3
  • alt-php81-tidy_8.1.34-38_amd64.deb
    sha:8a6931883733d44380a189a7b512c68c4fdc94a4
  • alt-php81-xml_8.1.34-38_amd64.deb
    sha:463f739d813084f5cba7f6a4a838013b41df91f4
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.