Ettercapに遠隔から任意のコードを実行される脆弱性、Telnet解析の不具合が原因
Summary
Ettercapのtelnetディセクターで、バックスペース処理の下限チェックが不足しており、スタックバッファの範囲外に書き込まれる脆弱性です。通常rootで動作するEttercapのプロセスが影響を受けるおそれがあり、CVSS v3.1のスコアは8.8です。対象は0.8.4.1までの版で、本記事の時点では修正版の情報は確認できていません。最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Ettercapのtelnetディセクターで、バックスペース処理の下限チェックが不足しており、スタックバッファの範囲外に書き込まれる脆弱性です。通常rootで動作するEttercapのプロセスが影響を受けるおそれがあり、CVSS v3.1のスコアは8.8です。対象は0.8.4.1までの版で、本記事の時点では修正版の情報は確認できていません。最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ettercapettercap |
< 0.8.5.1→ 0.8.5.1 |
0.8.5.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-125406 ettercap No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-125406 ettercap No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com