Ettercap before 0.8.5.1 Stack Buffer Underwrite via Telnet Dissector Backspace Handling
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 9, 2026
- Updated
- Nov 20, 2026
- Reserved
- Nov 9, 2026
Description
Ettercap before 0.8.5.1 contains a stack buffer underwrite vulnerability in the telnet dissector in src/dissectors/ec_telnet.c that decrements the output pointer on backspace without a lower bound check. Attackers can send a telnet stream with more backspaces than preceding characters to write below the stack buffer, corrupting the stack of the Ettercap process that normally runs as root.
| Product | Versions |
|---|---|
| ettercap Ettercap | before 0.8.5.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 8.8 High | VulnCheck |
Weaknesses
- CWE-124 Buffer Underwrite ('Buffer Underflow')
References
- GitHub Security Advisory (GHSA-w5ch-7c4x-crcc)Vendor Advisory
- https://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98Patch
- https://github.com/Ettercap/ettercap/pull/1330Issue TrackerPatch
- https://github.com/Ettercap/ettercap/blob/v0.8.4.1/src/dissectors/ec_telnet.c#L150-L159Technical Details
- VulnCheck Advisory: Ettercap through 0.8.4.1 Stack Buffer Underwrite via Telnet Dissector Backspace HandlingThird-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.