Description
ProxySQL is a proxy for MySQL and its forks, as well as PostgreSQL. Versions 2.0.18 through 3.0.8 have a pre-authentication heap memory corruption vulnerability in the MySQL and PostgreSQL protocol first-read paths. A remote unauthenticated client can declare an oversized first packet length, and ProxySQL passes that attacker-controlled length directly to `recv()` while writing into a fixed 32 KB input queue. Version 3.0.9 patches the issue.
Affected products
proxysql: proxysql
References3
- github.com/sysown/proxysql/security/advisories/GHSA-58ww-865x-g… ExploitMitigationVendor Advisory
- github.com/sysown/proxysql/security/advisories/GHSA-58ww-865x-g… ExploitMitigationVendor Advisory
- github.com/sysown/proxysql/releases/tag/v3.0.9 Release Notes
Metrics
- CVSS 3.1
-
9.8
CRITICAL
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 1% percentile: 53 · as of 16 November 2026
- CWE
- CWE-787
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.