CVE-2026-102664

Source
https://cve.org/CVERecord?id=CVE-2026-102664
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-102664.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-102664
Aliases
Published
2026-11-04T20:42:25Z
Modified
2026-11-17T13:41:05Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L CVSS Calculator
Summary
ProxySQL: Uninitialized heap read in MySQL compressed packet decompression via zlib path
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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-908"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102664.json"
}
References

Affected packages

Git / github.com/sysown/proxysql

Affected ranges

Type
GIT
Repo
https://github.com/sysown/proxysql
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "3.0.10"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "introduced":  "3.1.0"
                },
                {
                    "fixed":  "3.1.10"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "introduced":  "4.0.0"
                },
                {
                    "fixed":  "4.0.10"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "396c742f7d50b1f479e1157e296ee9d0aff1b724"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "a8c1cef4d44c4beea7f6aa21b8a09a7cb8c75520"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v3.0.10",
            "range":  [
                {
                    "fixed":  "f5f1e148eab2ffd317babba66d283f0b5a6be7b0"
                }
            ],
            "source":  "REFERENCES_TAG"
        },
        {
            "original_tag":  "v3.1.10",
            "range":  [
                {
                    "fixed":  "f5f1e148eab2ffd317babba66d283f0b5a6be7b0"
                }
            ],
            "source":  "REFERENCES_TAG"
        },
        {
            "original_tag":  "v4.0.10",
            "range":  [
                {
                    "fixed":  "f5f1e148eab2ffd317babba66d283f0b5a6be7b0"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

1.*
1.3.0c
1.3.0d
1.3.0e
1.4.1
1.4.2
1.4.3
1.4.4
1.4.5
2.*
2.0.0
2.0.1
2.0.10
2.0.11
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.0.7
2.0.8
2.0.9
2.1.0
2.1.1
2.2.0
2.4.0
2.4.1
2.4.2
2.4.3
2.4.4
2.4.5
2.4.6
2.4.7
2.5.0
2.5.1
2.5.2
2.5.3
2.5.4
2.6.0
3.*
3.0.10
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.8
3.0.9
v1.*
v1.1.0
v1.1.0-rc
v1.1.2
v1.2.1
v1.2.2
v1.3.0
v1.3.0a
v1.3.0b
v1.4.1
v1.4.2
v1.4.3
v1.4.4
v2.*
v2.0.0-beta.1
v2.0.0-rc2
v2.0.1
v2.0.10
v2.0.18
v2.0.2
v2.0.3
v2.0.4
v2.0.5
v2.0.6
v2.0.8
v2.0.9
v2.1.0
v2.1.1
v2.2.0
v2.4.0
v2.4.1
v2.4.2
v2.4.3
v2.4.4
v2.4.5
v2.4.6
v2.4.7
v2.5.0
v2.5.1
v2.5.2
v2.5.3
v2.5.4
v2.5.5
v3.*
v3.0.0-alpha
v3.0.1
v3.0.2
v3.0.3
v3.0.4
v3.0.5
v3.0.6
v3.0.7
v3.0.8
v3.0.9
v3.1.6
v3.1.7
v3.1.8
v3.1.9
v4.*
v4.0.6
v4.0.7
v4.0.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-102664.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "308995825058127857129821949002813532792",
            "length":  347
        },
        "id":  "CVE-2026-102664-2f6fd8fc",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/sysown/proxysql/commit/396c742f7d50b1f479e1157e296ee9d0aff1b724",
        "target":  {
            "file":  "lib/mysql_data_stream.cpp",
            "function":  "decompress_mysql_payload"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "284814146632025790733023088223643085019",
                "130804693220557335132528910396404254102",
                "258414219764138363574795536127333169393",
                "239162534021701441363826161565568467408",
                "110028581708730458517117771284377784829",
                "33665619268550990490571821217770625245",
                "222947702617992922310604087967164796220",
                "177150265291558985586897187507368660576",
                "265956406396590579815258439769232091325"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-102664-592f163b",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/sysown/proxysql/commit/396c742f7d50b1f479e1157e296ee9d0aff1b724",
        "target":  {
            "file":  "lib/mysql_data_stream.cpp"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "267905346368233816750556375769576602933",
                "165166792124720653986712178319955414061"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-102664-e4900cdd",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/sysown/proxysql/commit/396c742f7d50b1f479e1157e296ee9d0aff1b724",
        "target":  {
            "file":  "include/MySQL_Data_Stream.h"
        }
    }
]
vanir_signatures_modified
"2026-11-14T07:06:37Z"