[CLSA-2026:1791531515] Fix CVE(s): CVE-2025-1218
Type:
security
Severity:
Important
Release date:
2026-10-09 07:38: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
CVEs fixed:
Updated packages:
  • alt-php81_8.1.34-38_amd64.deb
    sha:e392120dffb0d911db013ae7ab60d31ebb1fa57e
  • alt-php81-bcmath_8.1.34-38_amd64.deb
    sha:263b8db4452a73a354a9819b243051b1c835064d
  • alt-php81-cli_8.1.34-38_amd64.deb
    sha:6621121305590ae6a79fb3ee1f21b6892b0cb375
  • alt-php81-common_8.1.34-38_amd64.deb
    sha:f4290de9ebda89b7a4b72a562298f92aa0923779
  • alt-php81-dba_8.1.34-38_amd64.deb
    sha:87b8634ef1a6afc2a5a888767c9e60bd669b800c
  • alt-php81-dev_8.1.34-38_amd64.deb
    sha:a858969c7fc2e111ae1f47bec3c3ec6f563419ec
  • alt-php81-enchant_8.1.34-38_amd64.deb
    sha:60b1ed7f2dbd990f063653e67d14c8e9f21bc99c
  • alt-php81-firebird_8.1.34-38_amd64.deb
    sha:ad734b483607b883a8e433d6a50f35dab9f2e548
  • alt-php81-gd_8.1.34-38_amd64.deb
    sha:5064900a823d2e6cca135395e99e45e869e28f76
  • alt-php81-imap_8.1.34-38_amd64.deb
    sha:5ea7bf8b2b6d35f47af6424061fe0a3641448d6b
  • alt-php81-intl_8.1.34-38_amd64.deb
    sha:a34b0919ba56806f344207f84c833ee6314d9502
  • alt-php81-ldap_8.1.34-38_amd64.deb
    sha:893a033990959fd087a211b7eebae6a2b124e16f
  • alt-php81-mbstring_8.1.34-38_amd64.deb
    sha:398d5c0ae7c0de561481dc94e3a7241c8cdd224d
  • alt-php81-mysqlnd_8.1.34-38_amd64.deb
    sha:2e7c5a09b5c3767a327e0a10b1f9b8d1d487e164
  • alt-php81-odbc_8.1.34-38_amd64.deb
    sha:d3f8380a3ab614df0b1e038d3bcd680094c72ea9
  • alt-php81-opcache_8.1.34-38_amd64.deb
    sha:0af5cb1ef9bd36ddc6f9e050fdde432ff3a1d443
  • alt-php81-pdo_8.1.34-38_amd64.deb
    sha:ee27c3bf5c172ea4cef5aa7fd4d21ad20f20a22d
  • alt-php81-pgsql_8.1.34-38_amd64.deb
    sha:4c2b3542a1cda693ce92429f2376aa294c04a6e7
  • alt-php81-php-fpm_8.1.34-38_amd64.deb
    sha:599ea0bd88f16d65df15cd2778eb478134853ca5
  • alt-php81-process_8.1.34-38_amd64.deb
    sha:3feb441cc0e374d3915eca03a99697890a865274
  • alt-php81-pspell_8.1.34-38_amd64.deb
    sha:214139e1c2d8929dbd6150205283ae6d2ba75d21
  • alt-php81-snmp_8.1.34-38_amd64.deb
    sha:ee212a59dba367593d3e2f2306cfad4420fa89b6
  • alt-php81-soap_8.1.34-38_amd64.deb
    sha:e58c177148477a75c4bb0d8904051c33bfd08d1f
  • alt-php81-sodium_8.1.34-38_amd64.deb
    sha:ed393f9dafd104197530b98c78ccc8df0461ce69
  • alt-php81-tidy_8.1.34-38_amd64.deb
    sha:87c003c87d673be3c74388c1eb1894a8f01b3b29
  • alt-php81-xml_8.1.34-38_amd64.deb
    sha:16da77fc54766fb4664e63f5142c5714e1fce0ba
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.