CVE-2026-125406Ettercap before 0.8.5.1 Stack Buffer Underwrite via Telnet Dissector Backspace Handling
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | ettercap | Fix pending | UBUNTU-CVE-2026-125406 | |
| Ubuntu 26.04 | ettercap | Under investigation | UBUNTU-CVE-2026-125406 | |
| Ubuntu 24.04 | ettercap | Under investigation | UBUNTU-CVE-2026-125406 | |
| Ubuntu 22.04 | ettercap | Under investigation | UBUNTU-CVE-2026-125406 | |
| Ubuntu 20.04 | ettercap | Fix pending | UBUNTU-CVE-2026-125406 | |
| Ubuntu 18.04 | ettercap | Fix pending | UBUNTU-CVE-2026-125406 | |
| Ubuntu 16.04 | ettercap | Fix pending | UBUNTU-CVE-2026-125406 | |
| Debian 13 | ettercap | Fix pending | DEBIAN-CVE-2026-125406 | |
| Debian 12 | ettercap | Fix pending | DEBIAN-CVE-2026-125406 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ettercap: affected: before 0.8.5.1; fixed in
0.8.5.1
Vendor advisories:
- 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 (patch)
References
- https://github.com/Ettercap/ettercap/security/advisories/GHSA-w5ch-7c4x-crcc
- https://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98
- https://github.com/Ettercap/ettercap/pull/1330
- https://github.com/Ettercap/ettercap/blob/v0.8.4.1/src/dissectors/ec_telnet.c#L150-L159
- https://www.vulncheck.com/advisories/ettercap-through-0.8.4.1-stack-buffer-underwrite-via-telnet-dissector-backspace-handling
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.