CVE-2026-131853
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 wit…
Impact
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.
An attacker can exploit this from the same local network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Ettercap | before 0.8.5.2 Version 0 ≤0.8.5.1 | |
| Ettercap | Ettercap | through 0.8.5.1 before 0.8.5.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/Ettercap/ettercap/security/advisories/GHSA-jrh2-m4f5-q3g3
- https://github.com/Ettercap/ettercap/commit/c4c8a969c2eedb205976b07e130760f37157337b
- https://github.com/Ettercap/ettercap/blob/v0.8.5.1/src/dissectors/ec_ssh.c#L216-L263
- https://www.vulncheck.com/advisories/ettercap-through-0.8.5.1-heap-out-of-bounds-read-via-sshv1-dissector
- https://github.com/advisories/GHSA-g4c8-hhm3-6627
- https://nvd.nist.gov/vuln/detail/CVE-2026-131853