Shellfeed logo Shellfeed

CVE-2026-102664 · HIGH (CVSS 7.1)

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

Details

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

HIGH (CVSS 7.1) — vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L

Affected packages

  • GIT github.com/sysown/proxysql [0 – f5f1e148eab2ffd317babba66d283f0b5a6be7b0]

References

Posts about CVE-2026-102664