← Back to CVE Explorer

CVE-2026-102664

Full vulnerability record from the local CVENow database.

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.

Severity
HIGH
CVSS score
7.1 (v3.1)
Vulnerability status
Received
Source identifier
Published
2026-11-04 21:17:41.300000
Last modified
2026-11-04 21:17:41.300000
View original CVE JSON
{
  "id": "CVE-2026-102664",
  "sourceIdentifier": "[email protected]",
  "published": "2026-11-04T21:17:41.300",
  "lastModified": "2026-11-04T21:17:41.300",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "sysown",
          "product": "proxysql",
          "versions": [
            {
              "version": "< 3.0.10",
              "status": "affected"
            },
            {
              "version": ">= 3.1.0, < 3.1.10",
              "status": "affected"
            },
            {
              "version": ">= 4.0.0, < 4.0.10",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L",
          "baseScore": 7.1,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "NONE",
          "availabilityImpact": "LOW"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 4.2
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Primary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-908"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/sysown/proxysql/commit/396c742f7d50b1f479e1157e296ee9d0aff1b724",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/sysown/proxysql/commit/a8c1cef4d44c4beea7f6aa21b8a09a7cb8c75520",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/sysown/proxysql/releases/tag/v3.0.10",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/sysown/proxysql/releases/tag/v3.1.10",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/sysown/proxysql/releases/tag/v4.0.10",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/sysown/proxysql/security/advisories/GHSA-fvch-fpgq-pwfx",
      "source": "[email protected]"
    }
  ]
}