Ettercap before 0.8.5.2 Heap Out-of-Bounds Read via SSHv1 Dissector
- State
- Published
- Severity
- 6.0 Medium
- 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_ssh() in src/dissectors/ec_ssh.c that copies a peer-supplied data_len without checking remaining packet bytes. A malicious SSHv1 client or server in an intercepted session can send a short packet with a large data_len to disclose up to 64 bytes of adjacent heap memory through captured credentials in the interface and log.
| Product | Versions |
|---|---|
| ettercap Ettercap | before 0.8.5.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.0 Medium | VulnCheck | |
| 3.1 | 5.3 Medium | VulnCheck |
Weaknesses
- CWE-125 Out-of-bounds Read
References
- GitHub Security Advisory (GHSA-jrh2-m4f5-q3g3)Vendor Advisory
- https://github.com/Ettercap/ettercap/commit/c4c8a969c2eedb205976b07e130760f37157337bPatch
- https://github.com/Ettercap/ettercap/blob/v0.8.5.1/src/dissectors/ec_ssh.c#L216-L263Technical Details
- VulnCheck Advisory: Ettercap through 0.8.5.1 Heap Out-of-Bounds Read via SSHv1 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.