# CVE-2026-125406: Ettercap before 0.8.5.1 Stack Buffer Underwrite via Telnet Dissector Backspace Handling

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-11-09T23:28:07.044Z
- Modified: 2026-11-20T13:18:36.323Z
- Weaknesses: CWE-124
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Ettercap ettercap: before 0.8.5.1

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <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> (issue-tracking, patch)
- <https://github.com/Ettercap/ettercap/blob/v0.8.4.1/src/dissectors/ec_telnet.c#L150-L159> (technical-description)
- <https://www.vulncheck.com/advisories/ettercap-through-0.8.4.1-stack-buffer-underwrite-via-telnet-dissector-backspace-handling> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-125406](https://www.cve.org/CVERecord?id=CVE-2026-125406), CVE Terms of Use, modified 2026-11-20
- NVD: [CVE-2026-125406](https://nvd.nist.gov/vuln/detail/CVE-2026-125406), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-125406 · Whole record: https://cve.day/CVE-2026-125406.json · Rebuilt by cve.day 2026-11-25T22:59:49.703Z
