[php-src] PHP-8.4.26: Fix GHSA-r6x9-5r99-36j7: Various packet overreads in mysqlnd wireprotocol

From: Date: Tue, 22 Sep 2026 14:40:43 +0000
Subject: [php-src] PHP-8.4.26: Fix GHSA-r6x9-5r99-36j7: Various packet overreads in mysqlnd wireprotocol
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-141432@lists.php.net to get a copy of this message
Author: Jakub Zelenka (bukka) Pusher: SakiTakamachi Date: 2026-09-19T16:13:18+02:00 Commit: https://github.com/php/php-src/commit/a7452c10bc2e1e30d487133ad54f4355605369f9 Raw diff: https://github.com/php/php-src/commit/a7452c10bc2e1e30d487133ad54f4355605369f9.diff Fix GHSA-r6x9-5r99-36j7: Various packet overreads in mysqlnd wireprotocol Co-authored-by: Nora Dossche <7771979+ndossche@users.noreply.github.com> Changed paths: A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-auth-packet-affected-rows-2-bytes.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-auth-packet-affected-rows-8-bytes.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-auth-packet-affected-rows-null-length.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-auth-packet-affected-rows.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-auth-packet-last-insert-id-no-space.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-auth-packet-last-insert-id.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-auth-packet-warning-count.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-auth-switch-unterminated.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-cached-sha2-empty.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-cached-sha2-fast-auth.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-cached-sha2-len.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-cached-sha2-switch-unterminated.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-chg-user-empty.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-chg-user-len.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-chg-user-switch-unterminated.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-eof-warning-count.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-greet-packet-string.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-greet-packet.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-greet-scramble-len.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-ok-packet-affected-rows.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-ok-packet-last-insert-id.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-ok-packet-message-len.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-ok-packet-warning-count.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-query-row-eof-short.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-query-row-field-len-2-bytes.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-query-row-field-len.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-query-row-field-null.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-rset-header-field-len.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-rset-header-upsert-affected-rows.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-rset-header-upsert-len.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-sha256-pk-empty.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-sha256-pk-len.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-stmt-response-field-len-faulty.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-stmt-response-field-len-premature.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-stmt-response-row-status.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-stmt-row-short-length-date.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-stmt-row-short-length-datetime.phpt A ext/mysqli/tests/ghsa-r6x9-5r99-36j7-stmt-row-short-length-time.phpt M ext/mysqli/tests/fake_server.inc M ext/mysqlnd/mysqlnd_ps.c M ext/mysqlnd/mysqlnd_ps_codec.c M ext/mysqlnd/mysqlnd_wireprotocol.c M ext/mysqlnd/mysqlnd_wireprotocol.h Diff exceeded maximum size.

« previous php.cvs (#141432) next »