Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/sysown/proxysql/commit/396c742f7d50b1f479e1157e296ee9d0aff1b7
- https://github.com/sysown/proxysql/commit/a8c1cef4d44c4beea7f6aa21b8a09a7cb8c755
- https://github.com/sysown/proxysql/releases/tag/v3.0.10
- https://github.com/sysown/proxysql/releases/tag/v3.1.10
- https://github.com/sysown/proxysql/releases/tag/v4.0.10
- https://github.com/sysown/proxysql/security/advisories/GHSA-fvch-fpgq-pwfx
FAQ
What is CVE-2026-102664?
CVE-2026-102664 is a vulnerability with a CVSS score of 7.1 (HIGH). 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()...
How severe is CVE-2026-102664?
CVE-2026-102664 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-102664?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.