NetSight
high7.1

CVE-2026-102664

ProxySQL is a proxy for MySQL and its forks, as well as PostgreSQL.

Impact

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.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read, low risk of outages.

Affected products · Sysown

ProductAffected versions
Proxysql
from 3.1.0, before 3.1.10
from 4.0.0, before 4.0.10
before 3.0.10
Version < 3.0.10

Weakness classification

References