CVE-2026-102664: ProxySQL: Uninitialized heap read in MySQL compressed packet decompression via zlib path
CVE-2026-102664 · HIGH 7.1 ProxySQL: Uninitialized heap read in MySQL compressed packet decompression via zlib path
Summary: ProxySQL: Uninitialized heap read in MySQL compressed packet decompression via zlib path
EPSS: 0.3% probability of exploitation in the next 30 days (percentile 23.1).
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.
HIGH (CVSS 7.1) — vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L
CVE-2026-102664 · HIGH 7.1 ProxySQL: Uninitialized heap read in MySQL compressed packet decompression via zlib path