Ettercap before 0.8.5.2 Heap Out-of-Bounds Read via MySQL Dissector
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 17, 2026
- Updated
- Nov 20, 2026
- Reserved
- Nov 17, 2026
Description
Ettercap before 0.8.5.2 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.
| Product | Versions |
|---|---|
| ettercap Ettercap | before 0.8.5.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.1 High | VulnCheck | |
| 3.1 | 6.5 Medium | VulnCheck |
Weaknesses
- CWE-125 Out-of-bounds Read
References
- GitHub Security Advisory (GHSA-r2hv-j478-3cfg)Vendor Advisory
- https://github.com/Ettercap/ettercap/commit/56101d9ebae0179a53fea6778759ed60c970dbedPatch
- https://github.com/Ettercap/ettercap/blob/v0.8.5.1/src/dissectors/ec_mysql.c#L131-L163Technical Details
- VulnCheck Advisory: Ettercap through 0.8.5.1 Heap Out-of-Bounds Read via MySQL DissectorThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.