CVE-2026-125406
Ettercap through 0.8.4.1 contains a stack buffer underwrite …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/Ettercap/ettercap/blob/v0.8.4.1/src/dissectors/ec_telnet.c#L150-L159
- github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98
- github.com/Ettercap/ettercap/pull/1330
- github.com/Ettercap/ettercap/security/advisories/GHSA-w5ch-7c4x-crcc
- www.vulncheck.com/advisories/ettercap-through-0.8.4.1-stack-buffer-underwrite-via-telnet-d
- nvd.nist.gov/vuln/detail/CVE-2026-125406
- cve.org/CVERecord?id=CVE-2026-125406
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.