[CLSA-2026:1791537296] Fix CVE(s): CVE-2025-1218
Type:
security
Severity:
Important
Release date:
2026-10-09 09:15:08 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:4958e14ba456cc73c6bbda230df971d1360cc5d8
  • alt-php81-cli_8.1.34-38_amd64.deb
    sha:907f80424336fb17e42f5478a19267c3a418a5fd
  • alt-php81-common_8.1.34-38_amd64.deb
    sha:fb6267be84844831537c0218ac1499e0ab802552
  • alt-php81-dba_8.1.34-38_amd64.deb
    sha:7ae84a04142fa89cc33d3aae21fcc9376def8dc5
  • alt-php81-dev_8.1.34-38_amd64.deb
    sha:166526665ebf07c8b817b96305c717182e6827ee
  • alt-php81-enchant_8.1.34-38_amd64.deb
    sha:a68c90a5e4c83e3c7b074f6547ffcb3909d509fe
  • alt-php81-firebird_8.1.34-38_amd64.deb
    sha:0728e5f7583d3eeea4961bfdb56376abd5ef7c2b
  • alt-php81-gd_8.1.34-38_amd64.deb
    sha:69fb1cf52112466ab5e230f100904c1bdd93bd93
  • alt-php81-imap_8.1.34-38_amd64.deb
    sha:9bae3aab8c997f766ba70062cadde70b5128bf60
  • alt-php81-intl_8.1.34-38_amd64.deb
    sha:4c4b6b09d0c5738b54c4408db2ecc119343ca4ea
  • alt-php81-ldap_8.1.34-38_amd64.deb
    sha:e58568e4d27a692e55fdfb91cc13823667892ff9
  • alt-php81-mbstring_8.1.34-38_amd64.deb
    sha:f2b344aa21507ec0a9d79d6d2b591142d524953f
  • alt-php81-mysqlnd_8.1.34-38_amd64.deb
    sha:d38cb6591ce3196d684123dd106cb32457843f71
  • alt-php81-odbc_8.1.34-38_amd64.deb
    sha:5f6288d38956fe8f7e730db3bfca019961049fe7
  • alt-php81-opcache_8.1.34-38_amd64.deb
    sha:8be67bf28b4cc7d2290df57e99be4ee69c82bccd
  • alt-php81-pdo_8.1.34-38_amd64.deb
    sha:9e1a1669614e44163c899dbffca44aa6530d2dcf
  • alt-php81-pgsql_8.1.34-38_amd64.deb
    sha:dc4e200ea5c28983bf14e892f5bb5b9b9d8d505a
  • alt-php81-php-fpm_8.1.34-38_amd64.deb
    sha:4f2003255b19e0971830f357e83aa1cb18ae774e
  • alt-php81-process_8.1.34-38_amd64.deb
    sha:21700e2a781fe66b7117e81c8b75e3d24228f490
  • alt-php81-pspell_8.1.34-38_amd64.deb
    sha:872e3c8412c2fae4eb7d9bcd8b037cc27b5bf985
  • alt-php81-snmp_8.1.34-38_amd64.deb
    sha:7f63912ec1cb0d8b1cda6b6072edd445bb18ce92
  • alt-php81-soap_8.1.34-38_amd64.deb
    sha:5b9677a5a201d5ad5d5d3c78900fb32264347341
  • alt-php81-sodium_8.1.34-38_amd64.deb
    sha:2d76f5c240c39fe4ef08087c60550afdb0640be8
  • alt-php81-tidy_8.1.34-38_amd64.deb
    sha:064e323f1487d0d40f59196fb8cb9ceef28dad5e
  • alt-php81-xml_8.1.34-38_amd64.deb
    sha:34531325563b315ca55e85a38ed741bb991a93ff
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.