Release date:
2026-10-08 13:06:37 UTC
Description:
- CVE-2025-1218: packet over-reads in the mysqlnd wire-protocol parser - the greeting, auth response, OK, EOF, result-set header, result-set field, row and prepare readers decoded fields out of a server packet before checking that the packet still held enough bytes for them, so a malicious or compromised MySQL server could make the client read past the end of the packet buffer, leak heap bytes into user-visible result-set metadata, or allocate and copy a huge attacker-chosen length; php_mysqlnd_net_field_length() and its _ll variant now take the remaining packet size and refuse lengths whose payload is not present, the BAIL_IF_NO_MORE_DATA macro that only noticed an over-read after the fact is replaced by BAIL_IF_NOT_ENOUGH_DATA_EX(n), the unterminated auth-plugin-name branches use memchr() instead of trusting a NUL terminator, and the TIME/DATE/DATETIME prepared-statement readers stop decoding fixed offsets out of a shorter declared length (backport of upstream 114dbb74368e6a6cd6e48ddb4a76dbe8728b84e2, with upstream d37a20c4a24a70dbbcfd8724cd2ad5f1b005bd2a carried as a prerequisite because the fix removes the greeting buffer's NUL terminator; the php_mysqlnd_prepare_read() and php_mysqlnd_sha256_pk_request_response_read() hunks are hardening rather than memory-safety fixes, and the mysqlnd_ps.c hunk is a memory-leak fix on a newly reachable failure path)
- 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
Updated packages:
-
alt-php71-7.1.33-113.el6.x86_64.rpm
sha:849cbf4e16ca4184f3a288c0e0acd1b1a477efe453f07b212f3e9db1e42e2c65
-
alt-php71-bcmath-7.1.33-113.el6.x86_64.rpm
sha:0d69ddeac24f204e2ce475aedb92351cbe80ebb4af08de05e4e6d6e08f206798
-
alt-php71-cli-7.1.33-113.el6.x86_64.rpm
sha:db39c46c80085da3ecc4a9752e018b2e30452a1c1de850d20b6fbcccf31ea3b2
-
alt-php71-common-7.1.33-113.el6.x86_64.rpm
sha:b9c1fa03763fe0c66f10df391e314ff06ac400b92943b300cbfbed20616b2cde
-
alt-php71-dba-7.1.33-113.el6.x86_64.rpm
sha:fe7bf7db84569a9a4a718c0bb2887367764403cc1b00f838440f4788a57aee77
-
alt-php71-devel-7.1.33-113.el6.x86_64.rpm
sha:27b8462078a4add2fda9d266737afaaa4dee73e4190ec8cc61c80bb8170949eb
-
alt-php71-enchant-7.1.33-113.el6.x86_64.rpm
sha:181dbca7e4262a173592b768513706d7cbbe3e4addb66048bb65a678b6a2db22
-
alt-php71-firebird-7.1.33-113.el6.x86_64.rpm
sha:7f8441c0d9023ddae009d2c163b3a730470cbbc4f4550b27010fe1d0d6eabbf0
-
alt-php71-gd-7.1.33-113.el6.x86_64.rpm
sha:b2c6481204d78157c06a07d6544ae9b078bde7a0b62b1f37e6e747630834bb1c
-
alt-php71-imap-7.1.33-113.el6.x86_64.rpm
sha:10aec328edfd93c91dc217769f7bc6f189b1286e3e00a10d244175f73139a402
-
alt-php71-intl-7.1.33-113.el6.x86_64.rpm
sha:5e48c78f3e3f8882ee51b8c54de28dfb80d07b629cf8661508c7e02cb4d40754
-
alt-php71-ldap-7.1.33-113.el6.x86_64.rpm
sha:944c0d959029b0c3fa65ddb9a8283107a9bde12a1268caaf3090089cae04bd02
-
alt-php71-mbstring-7.1.33-113.el6.x86_64.rpm
sha:f70a196e0cd8e6f7774f0b2ffe29230ed8d8f5ce4afc8b6b03aad1f06fdf47ff
-
alt-php71-mcrypt-7.1.33-113.el6.x86_64.rpm
sha:fe104a4534dfdc78337377566b51902cc4fda8f1d4c36a4840466056d7b6ad2e
-
alt-php71-mysqlnd-7.1.33-113.el6.x86_64.rpm
sha:869738f988e6737d1b6ebe7cec63afc07f7770edb653e0145cf5c7f9238fa289
-
alt-php71-odbc-7.1.33-113.el6.x86_64.rpm
sha:660cd3375e052d9ce3a601361b01f6ddb0e445bb0b60dd06532263f1e4daaee9
-
alt-php71-opcache-7.1.33-113.el6.x86_64.rpm
sha:dadc567f941c361ab3ccb2c2418abbc37a1bf8ce8053a7a3f7c8d54b6f3fc83e
-
alt-php71-pdo-7.1.33-113.el6.x86_64.rpm
sha:2c4e57447806870b1a7a411dca42beef8a0422a69f3207f8c1054f51936b2a62
-
alt-php71-pgsql-7.1.33-113.el6.x86_64.rpm
sha:f41fc0db00ac089662a2873f387dcc4b588f814c4a33af67b056809b8554dacb
-
alt-php71-php-fpm-7.1.33-113.el6.x86_64.rpm
sha:3078d998ab7632d1d7172cbb931056a058ef48f1f9cf2130b9ae68c75877018c
-
alt-php71-process-7.1.33-113.el6.x86_64.rpm
sha:2d1ab52e5b525a95fcc2aa7e4ec6eb6f64030ec8f1c60c759efa31d85e4b8e78
-
alt-php71-pspell-7.1.33-113.el6.x86_64.rpm
sha:9a200fa054b0ea2b90b8f4302a78313c2c38484cf3ba68a75b8c916c2453c4c0
-
alt-php71-recode-7.1.33-113.el6.x86_64.rpm
sha:2d231f8a86b1d55ef8ada932eb3771761ea1e0c355da882a5f04dd7f6dfa6585
-
alt-php71-snmp-7.1.33-113.el6.x86_64.rpm
sha:783a53059c7dd8109281a0a26226407a72affed6585e8cc3139da63ab0aa6a2b
-
alt-php71-soap-7.1.33-113.el6.x86_64.rpm
sha:144a91206e1195dc6a79c63424f0ad0bcbf4204ff32c1fa13b0abbae73f82c6b
-
alt-php71-tidy-7.1.33-113.el6.x86_64.rpm
sha:b485004464f286b5f0b19bee8490e63c113fdbf20ce720882446d049f07af9f2
-
alt-php71-xml-7.1.33-113.el6.x86_64.rpm
sha:bc85c5c2a7c3cad1a5e409f98e9c239311ecabef7351c3076c7f0e5f7c8b4d62
-
alt-php71-xmlrpc-7.1.33-113.el6.x86_64.rpm
sha:691dda45c2a68e7d70f23429bf4588ce8648c1cb555c495e66e19ca74bfdb172
Notes:
This page is generated automatically and has not been checked for errors. For clarification or
corrections please contact the
CloudLinux Packaging Team.