Skip to main content

ProxySQL CVE-2026-102664

| EUVDEUVD-2026-117097 HIGH
Use of Uninitialized Resource (CWE-908)
2026-11-04 GitHub_M
7.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to ProxySQL with valid MySQL credentials
  2. Delivery
    Negotiate default zlib compression (CLIENT_COMPRESS)
  3. Exploit
    Send compressed packet overstating payload_length
  4. Execution
    Uninitialized heap tail parsed as packet headers, forwarded to backend
  5. Impact
    Read backend error responses to harvest leaked heap contents

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Variable initialization
Exploitation Conditions

Requires an authenticated MySQL client (valid credentials, since compression is negotiated post-authentication) that enables the MySQL compressed protocol - specifically the zlib path, which is the default because mysql-have_compress=true and CLIENT_COMPRESS is on by default. The attacker must craft a compressed packet declaring a payload_length larger than the zlib stream actually inflates to. Meaningful confidentiality impact depends on a multi-tenant / shared ProxySQL deployment where the stale heap can contain other connections' data; in a single-tenant deployment the leaked heap is the attacker's own. Limiting factors: valid credentials are mandatory, the disclosure is opportunistic (whatever stale heap bytes happen to parse as headers and survive as readable backend error text), and the data returned is non-deterministic rather than directly chosen by the attacker. The zstd compression path is not affected (it already validated the decompressed size).

Impact

This is a credible but not emergency-grade priority. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L, 7.1) aligns well with the mechanism confirmed in the GHSA advisory and commit diff: an authenticated (PR:L) network attacker reads uninitialized heap memory (C:H) and can trigger excessive allocations (A:L), with no integrity impact (I:N). The confidentiality impact is real and multi-tenant in nature - leaked heap may contain other users' SQL queries, result data, credentials, and session state - which justifies the HIGH confidentiality rating. Tempering factors: exploitation requires valid MySQL credentials, so this is not an unauthenticated internet-facing bug, and real-world value depends on a multi-tenant deployment where one authenticated tenant can harvest another tenant's data. No EPSS score, no CISA KEV listing, and no weaponized exploit are present in the input; the only exploitation-related artifact is a vendor regression unit test shipped with the fix, which is not working attacker exploit code. The vuln.today decision label is 'this_week' rather than act_now/emergency, consistent with a serious-but-not-actively-exploited issue. Net: treat as a prompt patching task (this week) for multi-tenant ProxySQL operators, not a drop-everything incident, absent any evidence of active exploitation.

Exploit ScenarioDerived

In a shared/multi-tenant ProxySQL deployment, an attacker holding valid MySQL credentials connects and negotiates the default zlib compression, then sends a compressed MySQL packet whose header overstates payload_length far beyond what the zlib stream actually inflates to. ProxySQL walks the full claimed length, parsing the uninitialized tail of the heap buffer as MySQL packet headers and forwarding that stale data to the backend; the backend's error responses (e.g., reflecting the bad input near a SQL fragment) are returned to the attacker, disclosing other connections' queries, result data, credentials, or session state. No public working exploit is identified in the input - only a vendor regression unit test accompanies the fix.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 04, 2026

Heap information disclosure in ProxySQL releases before 3.0.10, 3.1.10, and 4.0.10 allows an authenticated MySQL client that negotiates the compressed protocol (CLIENT_COMPRESS, on by default via mysql-have_compress=true) to declare a larger payload_length than its zlib stream actually inflates to, causing buffer2array() to parse the uninitialized tail of a heap buffer as MySQL packet headers and forward that garbage to the backend; the resulting backend error text can echo stale SQL queries, result data, credentials, or session state. The zstd compression path already enforced the size check and is not affected, and the leak is opportunistic rather than attacker-selected, so meaningful confidentiality loss is concentrated in multi-tenant or shared ProxySQL deployments while single-tenant setups mostly expose the attacker's own heap. No public exploit code and no CISA KEV entry were identified at time of analysis; vendor fixes are released in 3.0.10, 3.1.10, and 4.0.10, which places this at a this-week rather than emergency priority.

RemediationAI

Upgrade to ProxySQL 3.0.10, 3.1.10, or 4.0.10 according to the branch in use - these are the vendor-released fixed versions, documented in advisory https://github.com/sysown/proxysql/security/advisories/GHSA-fvch-fpgq-pwfx and the release tags https://github.com/sysown/proxysql/releases/tag/v3.0.10, .../v3.1.10, and .../v4.0.10, with the code changes in commits 396c742f7d50b1f479e1157e296ee9d0aff1b724 and a8c1cef4d44c4beea7f6aa21b8a09a7cb8c75520 (plus a regression unit test mysql_decompress_payload_unit-t). If the upgrade cannot be applied immediately, set mysql-have_compress=false so CLIENT_COMPRESS is never negotiated - this removes the vulnerable zlib decompression path entirely, at the cost of losing compressed-protocol bandwidth and CPU savings for every client connection. Because the trigger requires valid MySQL credentials and the exposed heap is other sessions' data, also restrict ProxySQL client accounts to trusted callers and avoid sharing a single ProxySQL instance across tenants until patched; the zstd compression path already performed the output-size validation, so deployments running zstd rather than zlib were not exposed to this specific defect.

Affected VersionsENISA

proxysql 3.1.0, < 3.1.10
proxysql 4.0.0, < 4.0.10
proxysql < 3.0.10

Affected Packages

euvd proxysql fix: 3.0.10, 3.1.10, 4.0.10

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in the MySQL compressed-protocol handling of the proxy: lib/mysql_data_stream.cpp::decompress_mysql_payload() wraps zlib's uncompress(), whose destLen argument is an in/out parameter updated to the number of bytes actually written. ProxySQL passed it by value and only accepted rc Z_OK, discarding the real output size, while the parallel zstd branch correctly required rc destLen. In buffer2array() the 3-byte wire header supplies a fully attacker-controlled payload_length, which becomes datalength; the destination is a malloc'd buffer of that claimed size, so after a short inflate the bytes between the actual decompressed size and the claimed length are uninitialized heap. The inner loop memcpy's sizeof(mysql_hdr) chunks from that buffer and treats them as packet headers, forwarding the parsed result to the backend, which is why this is classified as CWE-908 (use of uninitialized resource) rather than a straightforward overflow - no out-of-bounds write occurs, and an under-declared length is safely rejected with Z_BUF_ERROR. The corresponding fix captures the claimed length before the call and requires destLen == claimed_len on return. The CPE cpe:2.3:a:sysown:proxysql:*:*:*:*:*:*:*:* is unbounded, but the description and release tags scope affected builds to those prior to 3.0.10, 3.1.10, and 4.0.10; exploitation additionally requires valid MySQL credentials because compression is negotiated only after authentication.

Know when Proxysql gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L
vuln.today AI 7.1 HIGH

Authenticated MySQL client over the network (AV:N/PR:L), simple compressed-packet trigger (AC:L), heap disclosure of others' data (C:H), no integrity change (I:N), excessive-allocation DoS (A:L).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N
Red Hat 7.1 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Nov 04, 2026 - 22:17 EUVD
CVE Published
Nov 04, 2026 - 20:42 cve.org
HIGH 7.1

DescriptionCVE.org

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.

Technical POC Analysis

CWE-908 (Use of Uninitialized Resource), specifically an uninitialized heap read in decompressmysqlpayload() in lib/mysqldatastream.cpp (advisory cites line 38).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-102664 is a heap information disclosure in ProxySQL that could expose sensitive data such as credentials or session state to authenticated users, particularly in multi-tenant deployments. Leadership should prioritize patching to mitigate potential confidentiality breaches and meet compliance requirements.

Business Impact: High
Compensating Controls

Disable the compressed protocol by setting mysql-have_compress=false; enforce least privilege for MySQL users; segment ProxySQL deployments to limit cross-tenant data exposure.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Medium
popular open-source MySQL/PostgreSQL proxy, common in DB infra but not universal
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy