Release date:
2026-10-09 13:02:41 UTC
Description:
- CVE-2025-1218: various packet over-reads in the mysqlnd wire protocol parser
- The same mysqlnd_ps.c hunk also corrects that path's result free from
mnd_efree() to upstream's php-7.0 form, mnd_pefree(stmt->result,
stmt->result->persistent): mysqlnd_result_init() allocates the result with
mnd_pecalloc(..., persistent), so on a persistent connection the Zend
allocator was being handed a malloc()ed block. Before the change a hostile
prepare over p:127.0.0.1 aborts with "zend_mm_heap corrupted" on a build
with the Zend MM heap checks compiled in; after it the same run completes,
and a non-persistent connection is unaffected either way
- 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 2 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
- mysqlnd: initialise every pre-allocated row field before decoding
(php-5.4.45-mysqlnd-rowp-init-fields.patch). The row readers pre-allocate a
zval per column with MAKE_STD_ZVAL(), which sets no type, and only type it
when the decode loop reaches that column; the CVE-2024-8929 error paths
abandon a row part-way, leaving the rest allocated but never typed, and the
result set still frees the whole row at teardown. Each column is now
ZVAL_NULL()ed at allocation. Verified with valgrind under USE_ZEND_ALLOC=0.
PHP 5 only, and kept separate from the CVE patch because the defect predates
it and is reachable without it
Updated packages:
-
alt-php54-5.4.45-202.el10.x86_64.rpm
sha:948131a3cf239e30fbbdf8aa9b75aba91fe80882bad8790bafaeea4e9c4cbdb1
-
alt-php54-bcmath-5.4.45-202.el10.x86_64.rpm
sha:9ba8c3e62f3a61369da244ff67fe2bb00ed1553053ff077955efeba3559adc2f
-
alt-php54-cli-5.4.45-202.el10.x86_64.rpm
sha:7a73ee65315ecd913ba8bc223ebe48519c626a1f0d5d546c81df4dd702431ea2
-
alt-php54-common-5.4.45-202.el10.x86_64.rpm
sha:0e22b5393150437e51f748d2c2f2148fe290165dead04be6b0a67f2a640b464b
-
alt-php54-dba-5.4.45-202.el10.x86_64.rpm
sha:1e75906003bde7dc44d324f438114f130cbe41a33f91ffbc77c560f34f79d1b5
-
alt-php54-dbx-5.4.45-202.el10.x86_64.rpm
sha:5606a51e36a65b4fa7671281693f148f616ee54ef5d552a88cdf3a0cf8ed85dc
-
alt-php54-devel-5.4.45-202.el10.x86_64.rpm
sha:90cf8bbff7a8f9e9b32fc573a9a92126e25cc22f13872f727308f366e12277bb
-
alt-php54-enchant-5.4.45-202.el10.x86_64.rpm
sha:ba2a8a065046c0fe0ece4f3d418084e4e393213eec7fc28e3babe6eeb4fcca97
-
alt-php54-firebird-5.4.45-202.el10.x86_64.rpm
sha:22318ef0979f2ea6cc11db57214f3e20b0b7a4fad32f758fe0b339ef3b01aeee
-
alt-php54-gd-5.4.45-202.el10.x86_64.rpm
sha:5a290a07c20e6dd23c11d3ce236505280f922fd5ee23f80f08c68784571fdc98
-
alt-php54-imap-5.4.45-202.el10.x86_64.rpm
sha:2c34e5db9aedadd01c04b852f63268204ebf411173f4664a41e8e73515ae4c09
-
alt-php54-intl-5.4.45-202.el10.x86_64.rpm
sha:7a37022cfd909a12c7dbeeb3d531971b3f7e3599a99ce15ddaba47471cb0f58b
-
alt-php54-ldap-5.4.45-202.el10.x86_64.rpm
sha:63cd25f3f8bf736d1d36bb37b814443c4067e48dceec44c242f72e161d77af3b
-
alt-php54-mbstring-5.4.45-202.el10.x86_64.rpm
sha:6ce4274bbbe333bf78a6ac27869a9c22d56b42d6e081dec1f99b47568c780d5d
-
alt-php54-mcrypt-5.4.45-202.el10.x86_64.rpm
sha:a5a6fe0bd6c9af95282f149af46b837d842af3e2046c3cb106a49f12cdbbab8e
-
alt-php54-mssql-5.4.45-202.el10.x86_64.rpm
sha:f2a28eb0c8c633801fd57bd57852013ec001c4c1dbe535b477c32a3f452f1ea7
-
alt-php54-mysqlnd-5.4.45-202.el10.x86_64.rpm
sha:8e1060580b09566aa1de0902026bf974712b02af208e09e2e76510b5fbdaea4c
-
alt-php54-odbc-5.4.45-202.el10.x86_64.rpm
sha:a5920d483cec5597ae80e8e5053f52b2a4ddc65611d172410ce97f80518001c1
-
alt-php54-pdo-5.4.45-202.el10.x86_64.rpm
sha:faedb85da458d9267f0ab9fd7b56ac8b88263caa14a9617a02663751468feeca
-
alt-php54-pgsql-5.4.45-202.el10.x86_64.rpm
sha:ad24c57f643f898467590b9485dbf351f13de0bb5b3eab74352cc12ff0fbdb82
-
alt-php54-php-fpm-5.4.45-202.el10.x86_64.rpm
sha:0879ec1dbaa4cd0bb3fa6ca21f5eb427ea6a0492b9fb45f1883ef1c1c14ff952
-
alt-php54-process-5.4.45-202.el10.x86_64.rpm
sha:d62079067742a614cb124fe9c0e67ee9c73c4cb2e8ed9b61504a537b44d42404
-
alt-php54-pspell-5.4.45-202.el10.x86_64.rpm
sha:80c4af3410ee5e48f703aaaa2842fead4703fe9e2c7bf6b639f929371ac3f44d
-
alt-php54-recode-5.4.45-202.el10.x86_64.rpm
sha:1e0d4d717ce75ca9b54909692d77311552f84b112ba13215a73d73ea95808b86
-
alt-php54-snmp-5.4.45-202.el10.x86_64.rpm
sha:1b30d3872e6ad2d8c1f344f199852186e18bb579fe048a46bc35c37ffd5b4271
-
alt-php54-soap-5.4.45-202.el10.x86_64.rpm
sha:66bf5181bb997c62d441f162a3b1848fb141e84e678e3c8ee75d6b3dab7c3562
-
alt-php54-sybase-5.4.45-202.el10.x86_64.rpm
sha:87d52ec47bbf34ce45e083920810ed2b259a95f2d44266970edd015e04d9ab7f
-
alt-php54-tidy-5.4.45-202.el10.x86_64.rpm
sha:3e86b9a2394334f93d478d6dc742f40c4acb929b6abd8d1dc615abf672c22091
-
alt-php54-xml-5.4.45-202.el10.x86_64.rpm
sha:67f9c8256392c2283e7acbea27e7734ed566db7e31100ecf5d3365b18ffbd1cc
-
alt-php54-xmlrpc-5.4.45-202.el10.x86_64.rpm
sha:be048e5313439283bb720f4878046d24b75492da91e13517efb6f84341b1b30f
Notes:
This page is generated automatically and has not been checked for errors. For clarification or
corrections please contact the
CloudLinux Packaging Team.