Technical impact
This vulnerability allows a stack buffer underwrite in Ettercap's telnet dissector located in src/dissectors/ec_telnet.c due to incorrect handling of backspace characters. When an attacker sends a telnet stream containing more backspace characters than preceding input, the output pointer moves below the allocated buffer without a lower bound check, corrupting the stack of the Ettercap process. If the process runs with root privileges, this corruption may enable arbitrary code execution or privilege escalation.
Affected Systems
The flaw affects all releases of Ettercap prior to version 0.8.5.1, including 0.8.5 and earlier. The affected component is the telnet dissector (src/dissectors/ec_telnet.c). The product is the Ettercap network monitoring tool, which runs under root.
Risk and Exploitability
The CVSS base score is 8.7, indicating high severity, and the vulnerability is not listed in the CISA KEV catalog. The EPSS score of less than 1% indicates a low but non‑zero likelihood of exploitation. Attackers can trigger the flaw by initiating a telnet session and sending a carefully crafted payload with excessive backspaces. The attacker must have network connectivity to the device running Ettercap. Because the fix is implemented in the source code, upgrading to a patched release or disabling the telnet dissector mitigates the risk.