CVE-2026-102664
JSON

7.1high

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

Severity
7.1high CVSS:3.1 by GitHub_M
Exploit likelihood
0.40% (higher than 35% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-PROXYSQL-2026-102664GHSA-fvch-fpgq-pwfx

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.

Affected

Product or packageVersionsReported by
sysown proxysql< 3.0.10, >= 3.1.0, < 3.1.10, >= 4.0.0, < 4.0.10CVE List
proxysql (Bitnami)before 3.0.10, from 3.1.0 before 3.1.10, from 4.0.0 before 4.0.10Bitnami Vulnerability Database

All scores

GitHub_M7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L
Bitnami Vulnerability Databasehigh rating

Classification

CWE-908

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-102664 changed 2026-11-09CVE Terms of Use
NVDCVE-2026-102664 changed 2026-11-12Public domain
Bitnami Vulnerability DatabaseBIT-PROXYSQL-2026-102664 changed 2026-11-17Apache-2.0