Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
sysown proxysql
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

ProxySQL 是 MySQL 及其衍生版本以及 PostgreSQL 的代理工具。在 3.0.10、3.1.10 和 4.0.10 之前的版本中, 文件中的 函数在 返回 时,会接受 zlib 数据流,但未验证实际输出长度是否等于由攻击者控制的 。已认证的 MySQL 客户端若协商启用压缩功能,可故意夸大 ,导致 将堆缓冲区中未初始化的尾部数据解析为 MySQL 数据包头部,并将陈旧数据转发至后端。后端返回的错误响应可能泄露先前的 SQL 查询、结果数据、凭据或会话状态;此外,畸形的长度值还可能引发过度的内存分

CVSS 7.1 · High EPSS 0.30% · P23

Affected Version Matrix 3

VendorProduct Version RangeStatus
sysown proxysql < 3.0.10 affected
>= 3.1.0, < 3.1.10 affected
>= 4.0.0, < 4.0.10 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-102664

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ProxySQL: Uninitialized heap read in MySQL compressed packet decompression via zlib path
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
对未经初始化资源的使用
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
sysown proxysql < 3.0.10 -

II. Public POCs for CVE-2026-102664

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-102664

请登录查看更多情报信息。

Other References for CVE-2026-102664 (6)

IV. Related Vulnerabilities