# CVE-2026-102664: ProxySQL: Uninitialized heap read in MySQL compressed packet decompression via zlib path

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-11-04T20:42:25.887Z
- Modified: 2026-11-17T13:41:05.256Z
- Also known as: BIT-PROXYSQL-2026-102664, GHSA-fvch-fpgq-pwfx
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- sysown proxysql: < 3.0.10; >= 3.1.0, < 3.1.10; >= 4.0.0, < 4.0.10
- proxysql (Bitnami): before 3.0.10; from 3.1.0 before 3.1.10; from 4.0.0 before 4.0.10

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/sysown/proxysql/security/advisories/GHSA-fvch-fpgq-pwfx> (web)
- <https://github.com/sysown/proxysql/commit/396c742f7d50b1f479e1157e296ee9d0aff1b724> (web)
- <https://github.com/sysown/proxysql/commit/a8c1cef4d44c4beea7f6aa21b8a09a7cb8c75520> (web)
- <https://github.com/sysown/proxysql/releases/tag/v3.0.10> (web)
- <https://github.com/sysown/proxysql/releases/tag/v3.1.10> (web)
- <https://github.com/sysown/proxysql/releases/tag/v4.0.10> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102664> (web)

## Sources

- CVE List: [CVE-2026-102664](https://www.cve.org/CVERecord?id=CVE-2026-102664), CVE Terms of Use, modified 2026-11-09
- NVD: [CVE-2026-102664](https://nvd.nist.gov/vuln/detail/CVE-2026-102664), Public domain, modified 2026-11-12
- Bitnami Vulnerability Database: [BIT-PROXYSQL-2026-102664](https://osv.dev/vulnerability/BIT-PROXYSQL-2026-102664), Apache-2.0, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-102664 · Whole record: https://cve.day/CVE-2026-102664.json · Rebuilt by cve.day 2026-11-25T22:59:49.031Z
