[CLSA-2026:1791375665] alt-php70: Fix of CVE-2025-1218
Type:
security
Severity:
Important
Release date:
2026-10-07 12:21:19 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.el10.x86_64.rpm
    sha:2c432db5d814640723268975ada2f8aa63972acc9f8ff31b429b69e955949836
  • alt-php70-bcmath-7.0.33-147.el10.x86_64.rpm
    sha:41663b93ba883b80bb73d28bc466b4c004c42ea9a08b48505bedeef5cdd53cde
  • alt-php70-cli-7.0.33-147.el10.x86_64.rpm
    sha:e3e24c49ea2179b5cc09a87cf6dd8dd886016423451bfa75a59e9f6ed11a1cdb
  • alt-php70-common-7.0.33-147.el10.x86_64.rpm
    sha:68f3929f5f1b370882d1a86df9874a24ac471ecb442005cd530015e4135bf309
  • alt-php70-dba-7.0.33-147.el10.x86_64.rpm
    sha:afe4c68ce557a2dbd958ce66dd1f8f9c4e12b3d299146ce86fe15aa178c58a72
  • alt-php70-devel-7.0.33-147.el10.x86_64.rpm
    sha:c83a13d4745844fbe413979395eaced974856de0b19ff80a1545b6ac71ceda52
  • alt-php70-enchant-7.0.33-147.el10.x86_64.rpm
    sha:0e1171c2cdd9b30f390fe2333cab081e813e1389081ceea02e7b56eb0c99058c
  • alt-php70-firebird-7.0.33-147.el10.x86_64.rpm
    sha:b8874b35ed28040b9fb3a61eb48de2db2115cfb40f73b999260af09ac5e108eb
  • alt-php70-gd-7.0.33-147.el10.x86_64.rpm
    sha:78d1bf4c3065acd255101fe46365bf00584dcbe34a37c0d35f335ed38f5c82a5
  • alt-php70-imap-7.0.33-147.el10.x86_64.rpm
    sha:d5bfa37f8aaef78b02a64f6f32362e83d271fc9b15871a004cc1c6bf7f01ba2c
  • alt-php70-intl-7.0.33-147.el10.x86_64.rpm
    sha:f6897d1fa3e0740f95a824f661006199b36a0543c1c8e85a0a035f1572e7e45f
  • alt-php70-ldap-7.0.33-147.el10.x86_64.rpm
    sha:ece5805ee41745bef0f5ab9352af8b4ba7f38138538f5e280eafeecfbeb68984
  • alt-php70-mbstring-7.0.33-147.el10.x86_64.rpm
    sha:68ac94d27b3b3ddd1665e7431775146f7ef68cc0553b9235189276d5d70d63ba
  • alt-php70-mcrypt-7.0.33-147.el10.x86_64.rpm
    sha:4bc7d384d0b364905665c2c3a3e14dd42a0fedd212967855051edee60297f969
  • alt-php70-mysqlnd-7.0.33-147.el10.x86_64.rpm
    sha:47cc850567691ca97ebe9d0718b77c152d113d2c74d458d97eac6b794931d365
  • alt-php70-odbc-7.0.33-147.el10.x86_64.rpm
    sha:0cc2bde573917eacacc2d0cfbe7b2ec2396cab90e1114ca05c128cbf07458351
  • alt-php70-opcache-7.0.33-147.el10.x86_64.rpm
    sha:841d8b5ba1e76ebfba2558eb054693c561e22deba5d72527bfb9e40654d1815d
  • alt-php70-pdo-7.0.33-147.el10.x86_64.rpm
    sha:166ec4886233ce4f86f97413a2292e098391a4b26e300c1173547c30c20bd0fb
  • alt-php70-pgsql-7.0.33-147.el10.x86_64.rpm
    sha:b9f0ab66a67c72c58c1515ce62f7572e666280febe1e94eb8e4df246ad0696e5
  • alt-php70-php-fpm-7.0.33-147.el10.x86_64.rpm
    sha:c4d33ab0011d31daf66ac648726a99877d49a09773630ca6d1b3bf6371ac9c99
  • alt-php70-process-7.0.33-147.el10.x86_64.rpm
    sha:33126c451ee5c988b3a3dab55b959beeb6707a8c990ba61d3fe630f9726c6e1b
  • alt-php70-pspell-7.0.33-147.el10.x86_64.rpm
    sha:94c74f82ce2aa3aabb68f3bc31cf7bc4f7b0258e11ca624ef8811805d5b89ba9
  • alt-php70-recode-7.0.33-147.el10.x86_64.rpm
    sha:0f8516726bce97b7fc420c8802638185e2ab07cf05deb7a3c088fd6fa9760b34
  • alt-php70-snmp-7.0.33-147.el10.x86_64.rpm
    sha:6ea622ff6349e29f947250bb5bc096547b2f94256f84200a8ec4fdc8d943e04c
  • alt-php70-soap-7.0.33-147.el10.x86_64.rpm
    sha:a6b360aad50a05f1ef82bfcd5ebd636364fc7755031d0c0c8dc660267cb5654c
  • alt-php70-tidy-7.0.33-147.el10.x86_64.rpm
    sha:b318f14ffe52a30f91e27af588483b473da4b1da5c9c1a9a7750eee9bd8e3d9d
  • alt-php70-xml-7.0.33-147.el10.x86_64.rpm
    sha:19aaf99f8582d0e9aa0e80c00e2addbb4623b863ae63155c1ea6900ebf890430
  • alt-php70-xmlrpc-7.0.33-147.el10.x86_64.rpm
    sha:7f3682ec39eedd0892d66cc62421ae7e9cbc93a289e07fadd451fee12c877713
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.