CVE-2026-125406
Ettercap before 0.8.5.1 Stack Buffer Underwrite via Telnet Dissector Backspace Handling
8.7
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| ettercap | ettercap | 0 → <0.8.5.1 | 0.8.5.1 | CVE.org |