- Home
- Vulnerabilities
- CVE-2026-125406
CVE-2026-125406
Ettercap before 0.8.5.1 Stack Buffer Underwrite via Telnet Dissector Backspace Handling
Medium
45/100
Summary
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
Ettercap (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| ettercap | before 0.8.5.1 (excluded) |
— | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
- https://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98patch
- https://github.com/Ettercap/ettercap/pull/1330issue-tracking, patch
- https://github.com/Ettercap/ettercap/security/advisories/GHSA-w5ch-7c4x-crccvendor-advisory
- https://github.com/Ettercap/ettercap/blob/v0.8.4.1/src/dissectors/ec_telnet.c#L150-L159technical-description
- https://www.vulncheck.com/advisories/ettercap-through-0.8.4.1-stack-buffer-underwrite-via-telnet-dissector-backspace-handlingthird-party-advisory
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, NVD)- Weakness
- CWE-124 · Autre (CWE-124)