Description
Ettercap through 0.8.5.1 contains a heap out-of-bounds read vulnerability in dissector_mysql() in src/dissectors/ec_mysql.c that copies seed and password bytes without bounds checks. A malicious MySQL server or client can send truncated greeting or login packets to leak adjacent heap memory through hex-encoded output in the interface and log.
Severity (CVSS)
| Base score | 7.1 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-125 — Out-of-bounds Read
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Ettercap | ettercap | 0 to <=0.8.5.1 [affected] |
References
- https://github.com/Ettercap/ettercap/security/advisories/GHSA-r2hv-j478-3cfg (vendor-advisory)
- https://github.com/Ettercap/ettercap/commit/56101d9ebae0179a53fea6778759ed60c970dbed (patch)
- https://github.com/Ettercap/ettercap/blob/v0.8.5.1/src/dissectors/ec_mysql.c#L131-L163 (technical-description)
- https://www.vulncheck.com/advisories/ettercap-through-0.8.5.1-heap-out-of-bounds-read-via-mysql-dissector (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 18 Nov 2026 08:08 UTC.