Release date:
2026-10-09 07:33:16 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:4a57c984816364a886fb17f070e481e7856e994e
-
alt-php81-bcmath_8.1.34-38_amd64.deb
sha:22fc109b14e6cb2a9d92a0ea434b4c9897840b01
-
alt-php81-cli_8.1.34-38_amd64.deb
sha:50a8855304e6679ac1d3b46beebca8a5977d9f40
-
alt-php81-common_8.1.34-38_amd64.deb
sha:968b0c0f30358a4885ef0a2f671fef0e657f0813
-
alt-php81-dba_8.1.34-38_amd64.deb
sha:d72215717c7c6a93794d214f4bc9f7282d646d3c
-
alt-php81-dev_8.1.34-38_amd64.deb
sha:727a3281ffa78174bc8792bd87dd0799f3f479dc
-
alt-php81-enchant_8.1.34-38_amd64.deb
sha:0a4ea7d08791c5d95acec5f8b516b2b6d13acc4a
-
alt-php81-firebird_8.1.34-38_amd64.deb
sha:5d1ba4b26d74cc407068a6e6d0b740cf8c856571
-
alt-php81-gd_8.1.34-38_amd64.deb
sha:ae68c1c1d0b2c404e498a657bb18df9985ef02b0
-
alt-php81-imap_8.1.34-38_amd64.deb
sha:2ae72ba938929bfa0df3cd212710e8faedbde10e
-
alt-php81-intl_8.1.34-38_amd64.deb
sha:5ba838de3cc6c17eb2f7e3ad25b05f4d68869473
-
alt-php81-ldap_8.1.34-38_amd64.deb
sha:63cf6f117d6c761e17ddb75fc05c36d461ca0b11
-
alt-php81-mbstring_8.1.34-38_amd64.deb
sha:44127e6fff844516fa279c43641ae63dd6ebfdf9
-
alt-php81-mysqlnd_8.1.34-38_amd64.deb
sha:13e3ee7ec8399bfd5f2d2cd0ab0fcf86bb26fb8a
-
alt-php81-odbc_8.1.34-38_amd64.deb
sha:b629ddaf6c3f538bd398019c2debc7b22804b69c
-
alt-php81-opcache_8.1.34-38_amd64.deb
sha:bba1d793b15612dbb3c766a162f550c643e16c02
-
alt-php81-pdo_8.1.34-38_amd64.deb
sha:03dfa1d880206beec531a3cbe601e9ccb2a03d0a
-
alt-php81-pgsql_8.1.34-38_amd64.deb
sha:f400ef1795b245d96aec6a55a202361254fb4e63
-
alt-php81-php-fpm_8.1.34-38_amd64.deb
sha:799bffae8da64967002d1e617be39b2c5b81498e
-
alt-php81-process_8.1.34-38_amd64.deb
sha:055c4a9a2299fd061f767d5c0b1a6706aafd27a7
-
alt-php81-pspell_8.1.34-38_amd64.deb
sha:f27ee0f46edcb25ebed5b3c4748755903fa2e72b
-
alt-php81-snmp_8.1.34-38_amd64.deb
sha:ecc62cbf9d161cba4dfa6a79ea8877d55da99c4d
-
alt-php81-soap_8.1.34-38_amd64.deb
sha:7d072349bf48e7155f13d76950fff08514532167
-
alt-php81-sodium_8.1.34-38_amd64.deb
sha:ae43dd20bd480bfbe7917c862d8e852c904088df
-
alt-php81-tidy_8.1.34-38_amd64.deb
sha:4623f7351d178175ea8dc4fe7dfd13bb61566ba6
-
alt-php81-xml_8.1.34-38_amd64.deb
sha:dc26ae4ffcff9d8e41296d1e7dc18f5f2ba4c745
Notes:
This page is generated automatically and has not been checked for errors. For clarification or
corrections please contact the
CloudLinux Packaging Team.