Description
Ettercap through 0.8.4.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.
Severity (CVSS)
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-124 — Buffer Underwrite ('Buffer Underflow')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Ettercap | ettercap | 0 to <=0.8.4.1 [affected] |
References
- https://github.com/Ettercap/ettercap/security/advisories/GHSA-w5ch-7c4x-crcc (vendor-advisory)
- https://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98 (patch)
- https://github.com/Ettercap/ettercap/pull/1330 (issue-tracking patch)
- https://github.com/Ettercap/ettercap/blob/v0.8.4.1/src/dissectors/ec_telnet.c#L150-L159 (technical-description)
- https://www.vulncheck.com/advisories/ettercap-through-0.8.4.1-stack-buffer-underwrite-via-telnet-dissector-backspace-handling (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 10 Nov 2026 08:00 UTC.