Technical impact
An uninitialized heap read occurs during the decompression of MySQL packets in ProxySQL. The decompress_mysql_payload() function accepts a zlib stream and, after a successful uncompression, does not validate that the resulting data length equals the attacker‑controlled payload_length field. If an authenticated MySQL client sends a larger payload_length than the actual compressed data, ProxySQL reads beyond the allocated buffer, interprets stale bytes as MySQL packet headers, and forwards them to the backend. This can lead to the disclosure of prior SQL queries, result data, credentials, or session state.
Affected Systems
Sysown ProxySQL is the affected product. Versions prior to 3.0.10, 3.1.10, and 4.0.10 are vulnerable. Any installation of these releases or earlier versions is at risk, while the vulnerability is fixed in the indicated new releases.
Risk and Exploitability
The CVSS score of 7.1 places the vulnerability in the medium‑high severity range. EPSS data is not available, and the issue is not listed in the CISA KEV catalog. The most probable attack vector involves an authenticated MySQL client that has negotiated compression and can manipulate the payload_length field to trigger the overread, resulting in the leakage of sensitive data.