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.
Severity (CVSS)
| Base score | 7.1 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L |
| Provided by | CNA |
Weaknesses
- CWE-908 — CWE-908: Use of Uninitialized Resource
Affected products
| Vendor | Product | Versions |
|---|---|---|
| sysown | proxysql | < 3.0.10 [affected]; >= 3.1.0, < 3.1.10 [affected]; >= 4.0.0, < 4.0.10 [affected] |
References
- https://github.com/sysown/proxysql/security/advisories/GHSA-fvch-fpgq-pwfx (x_refsource_CONFIRM)
- https://github.com/sysown/proxysql/commit/396c742f7d50b1f479e1157e296ee9d0aff1b724 (x_refsource_MISC)
- https://github.com/sysown/proxysql/commit/a8c1cef4d44c4beea7f6aa21b8a09a7cb8c75520 (x_refsource_MISC)
- https://github.com/sysown/proxysql/releases/tag/v3.0.10 (x_refsource_MISC)
- https://github.com/sysown/proxysql/releases/tag/v3.1.10 (x_refsource_MISC)
- https://github.com/sysown/proxysql/releases/tag/v4.0.10 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 05 Nov 2026 08:03 UTC.