CVE-2026-102664

published 4 Nov 2026 · updated 12 Nov 2026

ProxySQL: Uninitialized heap read in MySQL compressed packet decompression via zlib path

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
sysown<3.0.10, >=3.1.0 <3.1.10, >=4.0.0 <4.0.10

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-102664 severity on Zeptric[![CVE-2026-102664](https://zeptric.io/badge/cve/CVE-2026-102664.svg)](https://zeptric.io/cve/CVE-2026-102664)