[CLSA-2026:1791380268] alt-php70: Fix of CVE-2025-1218
Type:
security
Severity:
Important
Release date:
2026-10-07 13:38:03 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.el8.x86_64.rpm
    sha:bc44b05651870dc527f6b94ff28bb0e7c7fef520702790419eaa8931eacadc18
  • alt-php70-bcmath-7.0.33-147.el8.x86_64.rpm
    sha:bdcda819fa98c45020fc2bdd73ba5e2c887ca9df147f6f219e3cd4c4eb2370fb
  • alt-php70-cli-7.0.33-147.el8.x86_64.rpm
    sha:2bf5d9b0ee6e2cd8bdb70626986ea3fff52f1772ae8ff85d2193b518c8654aba
  • alt-php70-common-7.0.33-147.el8.x86_64.rpm
    sha:2d773cf83186c4a72007604dc98923351147f81ebc1e4762f09fd07b8146159f
  • alt-php70-dba-7.0.33-147.el8.x86_64.rpm
    sha:4a097edd575246a54451a4c8f8249d96494997e5715c11150a7a7a81390cb84a
  • alt-php70-devel-7.0.33-147.el8.x86_64.rpm
    sha:32adc419b1e14182ed0cd18e03106563d5e9331a659acbed1c2cda3bf8290c02
  • alt-php70-enchant-7.0.33-147.el8.x86_64.rpm
    sha:0ac05b910da0f5f1180b6fc72962c94519d86f2690ec27d8d0550631716bb472
  • alt-php70-firebird-7.0.33-147.el8.x86_64.rpm
    sha:9b1a6ae6fee680b81c9d297be6af0c00ebd6f885e8febb92f14ca798a4ad5c22
  • alt-php70-gd-7.0.33-147.el8.x86_64.rpm
    sha:78381f1bd8d249c9d644c1e3b32ba8ae811bcf88b10db6855faf87b7eb4ba7e1
  • alt-php70-imap-7.0.33-147.el8.x86_64.rpm
    sha:3a9bda4cf0ababc8e600e37efdb84e6a5a4c1d5e3fed7725e7dddda1d93f2fe5
  • alt-php70-intl-7.0.33-147.el8.x86_64.rpm
    sha:bbf60298bdffc2f53c03adc4cac4215318c6de9f5d08bc11aa5b47e6ca97329f
  • alt-php70-ldap-7.0.33-147.el8.x86_64.rpm
    sha:4b42bfb4cbe7751f848a7235fd9dde5a22ef44452fa30ad0c03fc7d294c8352a
  • alt-php70-mbstring-7.0.33-147.el8.x86_64.rpm
    sha:163538a75a601b89001156fd2cc2cc9c340cd3ca4a782a0f39ac3541be247f15
  • alt-php70-mcrypt-7.0.33-147.el8.x86_64.rpm
    sha:e9049218b749ddd49dc66839a786df46e9d517ecf30845d67ef5ba5a4624c01b
  • alt-php70-mysqlnd-7.0.33-147.el8.x86_64.rpm
    sha:ba83fc36fcc6e30772b128432f0f0ba1c64f72a2d4cba2209b1895abb3685a96
  • alt-php70-odbc-7.0.33-147.el8.x86_64.rpm
    sha:11ac7fe87d7a0b69675dbb3f5b6bdc8b5eb7fed5f4074b75ec4a05dbf1bfe24c
  • alt-php70-opcache-7.0.33-147.el8.x86_64.rpm
    sha:454bcbaa32299ac6506b4897f540444994f32350dbb34f752b0b6809620b5baa
  • alt-php70-pdo-7.0.33-147.el8.x86_64.rpm
    sha:c2eaa6f17e947bd9f9e54617bc0a4dcd1b4c7e1233c229f17f63e6594a6c413c
  • alt-php70-pgsql-7.0.33-147.el8.x86_64.rpm
    sha:196c8f06854b2a4e0e74b6e0924c009b7b2f21e8017ff1ead5981bd16f37a780
  • alt-php70-php-fpm-7.0.33-147.el8.x86_64.rpm
    sha:ee8e1320ffb1528431e5f47a6778b97804613fa458b7d3c4360017a6f644a381
  • alt-php70-process-7.0.33-147.el8.x86_64.rpm
    sha:25da96937bedcae48fcc0f2af1a6d38cb6c8797d36429819fc454e0bb5140b2e
  • alt-php70-pspell-7.0.33-147.el8.x86_64.rpm
    sha:48b23f974223db6e0e409c3bdf7ffd513a639592796a3c633be2dcca6cb5fa66
  • alt-php70-recode-7.0.33-147.el8.x86_64.rpm
    sha:09eabe194c2b5f481986d2ac76ab50c9fecf96e5781da008641d33e8aaeb2ea2
  • alt-php70-snmp-7.0.33-147.el8.x86_64.rpm
    sha:ace9f757b95470f65f3088d96fa1edacffa3df2dcb9664b9c82ea1fe480e6ee0
  • alt-php70-soap-7.0.33-147.el8.x86_64.rpm
    sha:87271384601fd911936852dd1a9158d488114d8e8d8885bf662ec3fc9b2311a0
  • alt-php70-tidy-7.0.33-147.el8.x86_64.rpm
    sha:80e8efa1a01da26870915668a482e188da7ecc2c1adea46ed7d4c35b3b5c46d3
  • alt-php70-xml-7.0.33-147.el8.x86_64.rpm
    sha:1bcfeb07f9bdf8e72e46ac6ba1c3f9f5bf54ee3d1b89a1592adebc58e7464152
  • alt-php70-xmlrpc-7.0.33-147.el8.x86_64.rpm
    sha:5a2d21a729184f37f6ec8deade4bfc53ed9a8cc217f46131e74600123c4f591b
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.