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

Summary

CVECVE-2026-102664
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-04 21:17:41 UTC
Updated2026-11-09 17:17:05 UTC
DescriptionProxySQL 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.

Risk And Classification

Primary CVSS: v3.1 7.1 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L

EPSS: 0.003000000 probability, percentile 0.229480000 (date 2026-11-09)

Problem Types: CWE-908 | CWE-908 CWE-908: Use of Uninitialized Resource


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary7.1HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L
3.1CNADECLARED7.1HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Sysown Proxysql affected < 3.0.10 Not specified
CNA Sysown Proxysql affected >= 3.1.0, < 3.1.10 Not specified
CNA Sysown Proxysql affected >= 4.0.0, < 4.0.10 Not specified

References

ReferenceSourceLinkTags
github.com/sysown/proxysql/commit/396c742f7d50b1f479e1157e296ee9d0aff1b724 [email protected] github.com
github.com/sysown/proxysql/releases/tag/v3.0.10 [email protected] github.com
github.com/sysown/proxysql/security/advisories/GHSA-fvch-fpgq-pwfx [email protected] github.com
github.com/sysown/proxysql/commit/a8c1cef4d44c4beea7f6aa21b8a09a7cb8c75520 [email protected] github.com
github.com/sysown/proxysql/releases/tag/v4.0.10 [email protected] github.com
github.com/sysown/proxysql/releases/tag/v3.1.10 [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report