[CLSA-2026:1791381178] alt-php70: Fix of CVE-2025-1218
Type:
security
Severity:
Important
Release date:
2026-10-07 13:53:09 UTC
Description:
- CVE-2025-1218: bound every read in the mysqlnd wire-protocol parser so a malicious server cannot make the client read past the end of a packet; length-encoded prefixes, the greeting packet, auth-switch plugin names, the cached_sha2 result packet, result-set field metadata and the binary time/date/datetime fetchers are all checked against the declared size first - Carries, as a prerequisite, upstream's earlier bounding of the greeting packet's auth_protocol field, without which removing the NUL-terminator hack would have introduced an unbounded stack over-read - The prepare_read and sha256_pk_request_response_read changes are hardening, not memory-safety fixes; the mysqlnd_ps.c hunk is a leak fix - Also fixes a pre-existing use-after-free on the row-reader failure path: the CVE-2024-8929 error loops free every field decoded so far without clearing the zvals, and the result set frees them again at teardown. All 3 sites now clear after freeing. Confirmed under AddressSanitizer with the Zend allocator disabled - heap-use-after-free before, clean after, on the three new short-length tests and the nine CVE-2024-8929 stmt-row tests. Upstream still carries the same loops unguarded in php-8.2.34 through php-8.5.11 - The mysqlnd_ps.c hunk additionally releases the result's own connection reference on the prepare-EOF path: before PHP 7.4 (upstream f365d0e00ed9) free_result_contents() did not drop it, so that path leaked one reference
CVEs fixed:
Updated packages:
  • alt-php70-7.0.33-147.el7.x86_64.rpm
    sha:b88599c4f8320b6ef97715ff67a1c6604a1435f811c27fd863fd1018cc29bb5f
  • alt-php70-bcmath-7.0.33-147.el7.x86_64.rpm
    sha:ae5840e9a8c795983afbf1edef1bec24161fa4c14019ddc58dc0003ac65e223e
  • alt-php70-cli-7.0.33-147.el7.x86_64.rpm
    sha:459291474b2381746123fb482267416c6ec23bd4c93551bf1ec69fb8cd095409
  • alt-php70-common-7.0.33-147.el7.x86_64.rpm
    sha:ad394c4f07b04d8f307a611f5a056a6c2f2639c671bf70f638e91b1963265f39
  • alt-php70-dba-7.0.33-147.el7.x86_64.rpm
    sha:767baed3e27886f2b9269f13b1002db4403c28f6c7f3d29f53afa9dff48cce7c
  • alt-php70-devel-7.0.33-147.el7.x86_64.rpm
    sha:41ae2add75094d59e8241648ac084b960b50b7f22e360b0139e8350d279d3833
  • alt-php70-enchant-7.0.33-147.el7.x86_64.rpm
    sha:51715acf489116d45dc06292f991581be21ea1915c3eaaa2f44b0dd0e19569ba
  • alt-php70-firebird-7.0.33-147.el7.x86_64.rpm
    sha:830c7a5d8c60679e3e66f0e796472d85ec722b1c1498a8894e339e527c0bf6e3
  • alt-php70-gd-7.0.33-147.el7.x86_64.rpm
    sha:3905d7e5011274d29007c4553939880c8e8e1fc176fbd56f2cd5b6786999f2ba
  • alt-php70-imap-7.0.33-147.el7.x86_64.rpm
    sha:992d73d809f89490d78993aa7ed5b6d3bba37a71b9738e254335cbdbd4ceec10
  • alt-php70-intl-7.0.33-147.el7.x86_64.rpm
    sha:e49cf09653a310ac0e6c0f93a7e1b7d3f839c010d2168a76bfcca546fb00a7ed
  • alt-php70-ldap-7.0.33-147.el7.x86_64.rpm
    sha:bd2a3ed4c204bdad6654be9168422a2e1d67991089879d50d77448a8471ef585
  • alt-php70-mbstring-7.0.33-147.el7.x86_64.rpm
    sha:339b322e4a700a0d46f724f5b3b0ee6fa63c4b3c170311413c0e71ca93534589
  • alt-php70-mcrypt-7.0.33-147.el7.x86_64.rpm
    sha:a2bf05f7b6e540c4e182449dcb80ad49d96d6ad9068ff8149c9998c9499841b0
  • alt-php70-mysqlnd-7.0.33-147.el7.x86_64.rpm
    sha:f48b6156999a3253f20e65391f2bd419c26751ffb2791c3ab08864c1cfdfc0e1
  • alt-php70-odbc-7.0.33-147.el7.x86_64.rpm
    sha:c772f3ba7f67a1f27c907e83f6ca07362815c78c4ce88a5ae90674dd3f87a329
  • alt-php70-opcache-7.0.33-147.el7.x86_64.rpm
    sha:8f6e465964e6e95158375c6de790428fe75ea9a942d04c798e34cb15da671e69
  • alt-php70-pdo-7.0.33-147.el7.x86_64.rpm
    sha:6614d143a6d46c2d3b4de09e91e4857d3a294361e5c6d487b09bca532d60ef93
  • alt-php70-pgsql-7.0.33-147.el7.x86_64.rpm
    sha:85da3f55da36a57685e27fbb3dd406e44a42b557bf7d9593e79ee1318ac494fe
  • alt-php70-php-fpm-7.0.33-147.el7.x86_64.rpm
    sha:cf986c2e2c541689981ebe3c9a683257730f5794e028cf54c20f18e320a91448
  • alt-php70-process-7.0.33-147.el7.x86_64.rpm
    sha:19fd0636d246515becb61057da6464654e6b3b28ec23fbac44c6d11a27a72fe1
  • alt-php70-pspell-7.0.33-147.el7.x86_64.rpm
    sha:a1eef12a83fa08ba419e488d0193ea49311d0488e0e89b98c3c8a7bf03952a7c
  • alt-php70-recode-7.0.33-147.el7.x86_64.rpm
    sha:bafbfda0faac903bb1978962cdc516fcf65d2022238c97aeb71f601e5e5967a2
  • alt-php70-snmp-7.0.33-147.el7.x86_64.rpm
    sha:b399a1ceb783f3b21800a9ddea49eefb3aac4e40a25a5fce7a691c8f50016fbb
  • alt-php70-soap-7.0.33-147.el7.x86_64.rpm
    sha:f296a4bcbce5eb4b0fda9bbe2108fb5d926cb82e1b22276008623f7cecae8a8d
  • alt-php70-tidy-7.0.33-147.el7.x86_64.rpm
    sha:c2c85af788ffb499d153bb5cdca505e5390ff9e7a517e66e01c0ae55d463eac2
  • alt-php70-xml-7.0.33-147.el7.x86_64.rpm
    sha:2d50f87bc1913b1381b2d3674058effd2bfb9e123f74bb63e3dae441ec75d499
  • alt-php70-xmlrpc-7.0.33-147.el7.x86_64.rpm
    sha:304d68b7ffa8d5244fda130231dd4d4e2e7feed6b5f6271318892eddf6cef0df
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.