ProxySQL: Uninitialized heap read in MySQL compressed packet decompression via zlib path
- CVE-2026-102664
- EUVD-2026-117097
Description
ProxySQL is a proxy for MySQL and its forks, as well as PostgreSQL. Prior to 3.0.10, 3.1.10, and 4.0.10, decompress_mysql_payload() in lib/mysql_data_stream.cpp accepts a zlib stream when uncompress() returns Z_OK without checking that the actual output length equals the attacker-controlled payload_length. An authenticated MySQL client that negotiates compression can overstate payload_length, causing buffer2array() to parse the uninitialized tail of a heap buffer as MySQL packet headers and forward stale data to the backend. Backend error responses can disclose prior SQL queries, result data, credentials, or session state, and malformed lengths can also cause excessive allocations. This issue is fixed in versions 3.0.10, 3.1.10, and 4.0.10.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
sysown proxysql
Affected versions Fixed in < 3.0.10 none stated >= 3.1.0, < 3.1.10 none stated >= 4.0.0, < 4.0.10 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.