7.1high
ProxySQL: Uninitialized heap read in MySQL compressed packet decompression via zlib path
- Severity
- 7.1high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.40% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-PROXYSQL-2026-102664GHSA-fvch-fpgq-pwfx
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| sysown proxysql | < 3.0.10, >= 3.1.0, < 3.1.10, >= 4.0.0, < 4.0.10 | CVE List |
| proxysql (Bitnami) | before 3.0.10, from 3.1.0 before 3.1.10, from 4.0.0 before 4.0.10 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-102664 changed 2026-11-09 | CVE Terms of Use |
| NVD | CVE-2026-102664 changed 2026-11-12 | Public domain |
| Bitnami Vulnerability Database | BIT-PROXYSQL-2026-102664 changed 2026-11-17 | Apache-2.0 |