CVE-2026-102664: ProxySQL: Uninitialized heap read in MySQL compressed packet decompression via zlib path

Published Nov 4, 2026
·
Updated

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, decompressmysqlpayload() in lib/mysqldatastream.cpp accepts a zlib stream when uncompress() returns ZOK without checking that the actual output length equals the attacker-controlled payloadlength. An authenticated MySQL client that negotiates compression can overstate payloadlength, 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.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ProxySQL to a version that resolves this vulnerability.

    Fixed in 3.0.10
  2. Upgrade

    Upgrade ProxySQL to a version that resolves this vulnerability.

    Fixed in 3.1.10
  3. Upgrade

    Upgrade ProxySQL to a version that resolves this vulnerability.

    Fixed in 4.0.10

Event History

Nov 4, 2026
CVE Published
via MITRE·08:42 PM
Data Sourced
via MITRE·08:42 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated MySQL client that can connect through ProxySQL and negotiate MySQL protocol compression can exploit it. The attack is network-reachable and requires low privileges, but does not require user interaction.

2

Are default deployments affected?

Only connections using the MySQL compression path are described as affected. The provided information does not establish whether compression is enabled or negotiated by default in a given ProxySQL deployment.

3

What versions contain the fix?

Upgrade to ProxySQL 3.0.10, 3.1.10, or 4.0.10, as applicable. Versions earlier than those releases are affected.

4

What is the impact if exploitation succeeds?

ProxySQL may parse uninitialized heap memory as MySQL packet headers and forward stale data to the backend. Resulting backend error responses may disclose prior SQL queries, result data, credentials, or session state; malformed lengths can also trigger excessive allocations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203