[CLSA-2026:1791543520] Fix CVE(s): CVE-2025-1218
Type:
security
Severity:
Important
Release date:
2026-10-09 10:58:54 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:e6219c52dd4c95d39c4dac01da3f6fda1c3a08ee
  • alt-php81-bcmath_8.1.34-38_amd64.deb
    sha:16dca59bc9da3eb04d0a9c849d16603e14c6eaba
  • alt-php81-cli_8.1.34-38_amd64.deb
    sha:e89f0fcb5e5fd2b229409ce4b02353091a5d6a6b
  • alt-php81-common_8.1.34-38_amd64.deb
    sha:0256f25c8cb5021485a651bdfbf42da123ffe18c
  • alt-php81-dba_8.1.34-38_amd64.deb
    sha:6473c540eb5fb921a22a198946f7f2d573a96012
  • alt-php81-dev_8.1.34-38_amd64.deb
    sha:9be892ffb436c34bd8a5bd0cb69760fa5ee96f91
  • alt-php81-enchant_8.1.34-38_amd64.deb
    sha:0672aa26cb563cd0d48bc924bb1044691993b553
  • alt-php81-firebird_8.1.34-38_amd64.deb
    sha:78de198c4428904d1b8fc917de17ce3582cc6b3b
  • alt-php81-gd_8.1.34-38_amd64.deb
    sha:826f6e2544baf6689564d6341a424826d15f7f42
  • alt-php81-imap_8.1.34-38_amd64.deb
    sha:23f6f7574145daae1f4275dacdcab916ab73c4b7
  • alt-php81-intl_8.1.34-38_amd64.deb
    sha:75ffb4178a93dc7285d30163685f28db92740eab
  • alt-php81-ldap_8.1.34-38_amd64.deb
    sha:1d8b10e45ed13194a888974b82fef1b6484d66ca
  • alt-php81-mbstring_8.1.34-38_amd64.deb
    sha:17aab0ec52c1cf0c758a7c9073763f41f32f0b60
  • alt-php81-mysqlnd_8.1.34-38_amd64.deb
    sha:920410569711d53216498cd2b0fa4a1c75b24742
  • alt-php81-odbc_8.1.34-38_amd64.deb
    sha:9d41d12d86090877d1fd6f7b0e23230f12256ca2
  • alt-php81-opcache_8.1.34-38_amd64.deb
    sha:ee37c5f56f91e6c3f801ee95c3a065aef72b2e51
  • alt-php81-pdo_8.1.34-38_amd64.deb
    sha:096317b2305b4f884c0923e3604fa82fe67922d6
  • alt-php81-pgsql_8.1.34-38_amd64.deb
    sha:845945ef15d2c7035ed7904fec911b61c20ab173
  • alt-php81-php-fpm_8.1.34-38_amd64.deb
    sha:d34031048a2568f3ad8abb36034d193479304479
  • alt-php81-process_8.1.34-38_amd64.deb
    sha:57852cc0994b3876d5f5de13d5f4b1e1dd83be09
  • alt-php81-pspell_8.1.34-38_amd64.deb
    sha:6b752527b8da0ed4b2ca55714d0cdb1a1f90b3ac
  • alt-php81-snmp_8.1.34-38_amd64.deb
    sha:f13811eb645bcfeb227f18b16633844c1041a223
  • alt-php81-soap_8.1.34-38_amd64.deb
    sha:1e63e1e80a65de9a8907d49d2787de278de5aafe
  • alt-php81-sodium_8.1.34-38_amd64.deb
    sha:0a76e38eae56cd4232ef1f1de87ea414df0b592a
  • alt-php81-tidy_8.1.34-38_amd64.deb
    sha:8c7b6d5914cdc5a665ca57b6c20add7ba76a2011
  • alt-php81-xml_8.1.34-38_amd64.deb
    sha:0eea234509ebbb996552110c07ee77f917d3dcae
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.