CVE-2026-102664
ProxySQL: Uninitialized heap read in MySQL compressed packet decompression via zlib path
Mitigation
- Upgrade proxysql to 4.0.10 or later.
Who should check
- Anyone running sysown proxysql < 3.0.10; >= 3.1.0, < 3.1.10; >= 4.0.0, < 4.0.10
Vulnerability facts
- Affected
- sysown proxysql < 3.0.10; >= 3.1.0, < 3.1.10; >= 4.0.0, < 4.0.10
- Fixed in
- sysown proxysql 3.0.10, sysown proxysql 3.1.10, sysown proxysql 4.0.10
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: Low
- EPSS
- 0.53% chance of exploitation in 30 days (percentile 38, 2026-11-26)
- CWE
- CWE-908
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| sysown proxysql | < 3.0.10; >= 3.1.0, < 3.1.10; >= 4.0.0, < 4.0.10 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-102664. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-102664.md Affected: sysown proxysql < 3.0.10; >= 3.1.0, < 3.1.10; >= 4.0.0, < 4.0.10 Fixed in: sysown proxysql 3.0.10, sysown proxysql 3.1.10, sysown proxysql 4.0.10 Steps: 1. Search this machine and project for sysown proxysql: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-102664 being exploited?
There is no confirmed exploitation: CVE-2026-102664 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-102664?
High: CVSS 7.1 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-102664?
sysown proxysql < 3.0.10; >= 3.1.0, < 3.1.10; >= 4.0.0, < 4.0.10.
Is there a fix for CVE-2026-102664?
Yes. Fixed in sysown proxysql 3.0.10, sysown proxysql 3.1.10, sysown proxysql 4.0.10. Upgrade proxysql to 4.0.10 or later.
How do I check if I'm affected by CVE-2026-102664?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.