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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.53% (percentile 38, 2026-11-28)
- **CWE:** CWE-908
- **Published:** 2026-11-04T20:42:25.887Z
- **Modified:** 2026-11-12T20:04:52.377Z

## Who should check

- Anyone running sysown proxysql \< 3.0.10; \>= 3.1.0, \< 3.1.10; \>= 4.0.0, \< 4.0.10

## 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

- sysown proxysql: \< 3.0.10; \>= 3.1.0, \< 3.1.10; \>= 4.0.0, \< 4.0.10 (cvelist)

## Mitigation

- Upgrade proxysql to 4.0.10 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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-28).

### 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.

## References

- vendor: <https://github.com/sysown/proxysql/security/advisories/GHSA-fvch-fpgq-pwfx>
- patch: <https://github.com/sysown/proxysql/commit/396c742f7d50b1f479e1157e296ee9d0aff1b724>
- patch: <https://github.com/sysown/proxysql/commit/a8c1cef4d44c4beea7f6aa21b8a09a7cb8c75520>
- other: <https://github.com/sysown/proxysql/releases/tag/v3.0.10>
- other: <https://github.com/sysown/proxysql/releases/tag/v3.1.10>
- other: <https://github.com/sysown/proxysql/releases/tag/v4.0.10>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-102664>

HTML: <https://flawdb.com/CVE-2026-102664> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-102664>
