Skip to main content

Ettercap EUVDEUVD-2026-120569

| CVE-2026-125406 HIGH
Buffer Underwrite ('Buffer Underflow') (CWE-124)
2026-11-10 disclosure@vulncheck.com GHSA-cq94-w9q3-ggxw
8.7
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain adjacent-network position
  2. Delivery
    Ettercap dissects telnet stream (TCP 23)
  3. Exploit
    Send backspaces exceeding preceding characters
  4. Execution
    Write pointer underflows below stack VLA
  5. Persist
    Corrupt root process stack with chosen bytes
  6. Impact
    Potential code execution or crash as root

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer boundary checks
Exploitation Conditions

Exploitation requires that a victim is actively running Ettercap (as root) with the telnet dissector processing a telnet stream on TCP 23, and that the attacker occupies an adjacent-network position (AV:A) where that stream is dissected. No authentication or user interaction is needed (PR:N/UI:N). The concrete trigger is a telnet stream containing more backspace characters (\b or 0x7f) than preceding characters; the advisory notes just two client packets after the server banner suffice, because the saved dissector state retains the backspaces across packets. The principal limiting factors are the operator-driven, non-persistent exposure (Ettercap must be live and dissecting telnet at the moment of attack) and the adjacent-network constraint, both of which sharply reduce realistic opportunity compared with a remotely reachable service.

Impact

The signals are moderately but not uniformly severe. The supplied CVSS 4.0 vector (AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H, 8.7) describes an adjacent-network, low-complexity, unauthenticated flaw with high impact to the vulnerable system - consistent with the described stack buffer underwrite (CWE-124) that writes attacker-chosen bytes at attacker-chosen negative offsets in a process running as root. The vuln.today decision label is 'this_week', not 'act_now' or 'emergency', which argues for prompt but not crisis handling. No KEV entry and no EPSS score are provided, so there is no evidence of active exploitation or a modeled exploitation probability; absence of these is not proof of safety but means widespread opportunistic attack is unconfirmed. A public PoC reference exists (the GHSA advisory includes an AddressSanitizer-confirmed reproducer loop), but it is not verified as a packaged working exploit and PoC availability must not be conflated with active exploitation. The key limiter is exposure: unlike a server flaw, this is only reachable while an operator is actively running ettercap and dissecting a telnet (TCP 23) stream from an adjacent network position, which materially narrows the real-world attack surface. Net: a genuine high-severity memory-corruption bug worth patching this week, but its practical risk is bounded by the niche, operator-driven deployment model rather than being an internet-facing emergency.

Exploit ScenarioDerived

While ettercap is running as root and dissecting network traffic, an attacker on the adjacent segment sends a telnet stream (TCP 23) containing more backspace bytes (\b / 0x7f) than preceding characters. The dissector decrements its write pointer below the stack VLA with no lower-bound check, writing attacker-chosen bytes below the buffer and corrupting the stack of the root process; a public AddressSanitizer-confirmed PoC reproducer exists but is not verified as a weaponized exploit.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 10, 2026

Stack buffer underwrite in the Ettercap telnet dissector, affecting Ettercap through 0.8.4.1, lets an unauthenticated attacker on the adjacent network corrupt the stack of an Ettercap process that normally runs as root. A telnet stream (TCP 23) carrying more backspace characters than preceding characters walks the dissector's output pointer below its stack buffer, so attacker-supplied bytes are written at attacker-chosen negative offsets; the vendor advisory notes two client packets after the server banner suffice, because the saved dissector state carries the backspaces forward. There is no CISA KEV listing and no verified working exploit code, although the advisory publishes a minimal AddressSanitizer reproducer; the fix is only proposed upstream in PR #1330, and no released patched version has been confirmed, so interim risk management rests on controlling where the telnet dissector runs.

RemediationAI

No vendor-released patched version is identified at time of analysis; the correction exists only as an upstream proposal in pull request https://github.com/Ettercap/ettercap/pull/1330 (branch security/dream-2026-hardening) and commit https://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98, so upstream fix is available as a PR/commit and a released patched version is not independently confirmed. The code change required is small and can be carried locally: guard the decrement with a lower-bound test (if (p > str) p--;) and NUL-terminate the buffer at the resulting position before it is saved, so backspaces are not propagated into s->data across packets. Because exploitation depends entirely on Ettercap being live and dissecting a telnet session on an untrusted adjacent segment, the practical interim control is to stop the telnet dissector from processing TCP 23 traffic on untrusted networks (disable the telnet dissector or restrict capture to trusted segments), accepting the loss of telnet session and credential visibility that the dissector provides; running the process with reduced privileges lowers the impact of a successful underwrite on a root-owned process but can break raw-socket capture, and it does not remove the memory corruption itself. Track the GHSA (https://github.com/Ettercap/ettercap/security/advisories/GHSA-w5ch-7c4x-crcc) and PR #1330 for the merged fix and any tagged release before restoring telnet dissection on exposed segments.

Affected VersionsENISA

ettercap 0 ≤0.8.4.1

Affected Packages

euvd ettercap no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Ettercap is a man-in-the-middle and network dissection framework; its protocol dissectors receive reassembled stream data and render printable session output. In src/dissectors/ec_telnet.c the dissector builds a variable-length array on the stack sized from strlen(s->data) + PACKET->DATA.disp_len + 2, then performs telnet line-editing emulation: a loop walks the buffer and, on encountering 0x08 or 0x7f, decrements the output pointer p without any lower-bound comparison, otherwise copying the character forward into *p. That is a classic buffer underwrite (CWE-124, with the advisory also classifying it as CWE-786/CWE-787): once p drops below the base of the VLA, both the copy and the trailing NUL termination write before the buffer, and the depth grows with the number of backspaces supplied. The first saved character is screened by an isprint() check at line 127, but the cleansing loop never revisits positions it does not reach, so s->data = strdup(str) persists the raw backspaces into saved state; on the next packet the state itself begins with backspaces, which lets each additional one push the write further below the buffer. The trigger is purely a data-shaping condition in the dissected stream and does not depend on any version-specific configuration, but it does require Ettercap to be live and actively dissecting that telnet session at the moment of attack. Note that the fix commit referenced in the advisory (1d8badb, hardening branch) also reworks other dissectors; the diff excerpt available here covers src/dissectors/ec_gg.c and a separate advisory (GHSA-vrjv-f8gv-2h35), not the telnet hunk itself.

Know when Ettercap gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 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
vuln.today AI 8.8 HIGH

Adjacent attacker whose telnet traffic ettercap dissects, no auth or interaction and a simple backspace trigger (AV:A/AC:L/PR:N/UI:N); attacker-controlled stack writes in a root process yield high C/I/A with no scope change.

3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Adjacent
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Ettercap through 0.8.4.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.

Technical POC Analysis

Buffer underwrite (buffer underflow) - CWE-124; the GitHub advisory itself files it under CWE-786 (access before start of buffer) and CWE-787 (out-of-bounds write).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-125406 is a high-severity vulnerability in Ettercap, a network analysis tool often deployed by security teams. An unauthenticated attacker on the same network segment can exploit it to corrupt the Ettercap process, potentially leading to remote code execution with root privileges. This puts organizations that use Ettercap for network monitoring at risk of full system compromise, though exploitation requires adjacent network access and no active exploitation has been observed.

Business Impact: High
Compensating Controls

No vendor patch is available. Interim mitigations include: network segmentation to limit adjacent network access to Ettercap hosts; running Ettercap with reduced privileges (non-root) via containerization or user namespaces; disabling the telnet dissector if telnet analysis is not required; and monitoring for abnormal backspace sequences in telnet traffic.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Low
niche open-source MITM/sniffing tool run by operators, not production-deployed
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2014-6395 HIGH POC
7.5 Dec 19

Heap-based buffer overflow in the dissector_postgresql function in dissectors/ec_postgresql.c in Ettercap before 0.8.1 a

CVE-2017-8366 CRITICAL POC
9.8 Apr 30

The strescape function in ec_strings.c in Ettercap 0.8.2 allows remote attackers to cause a denial of service (heap-base

CVE-2017-6430 MEDIUM POC
5.5 Mar 15

The compile_tree function in ef_compiler.c in the Etterfilter utility in Ettercap 0.8.2 and earlier allows remote attack

CVE-2013-0722 MEDIUM POC
4.4 Jan 11

Stack-based buffer overflow in the scan_load_hosts function in ec_scan.c in Ettercap 0.7.5.1 and earlier might allow loc

CVE-2014-9376 HIGH POC
7.5 Dec 19

Integer underflow in Ettercap 0.8.1 allows remote attackers to cause a denial of service (out-of-bounds write) and possi

CVE-2014-6396 HIGH
7.5 Dec 19

The dissector_postgresql function in dissectors/ec_postgresql.c in Ettercap before 0.8.1 allows remote attackers to caus

CVE-2014-9379 HIGH POC
7.5 Dec 19

The radius_get_attribute function in dissectors/ec_radius.c in Ettercap 0.8.1 performs an incorrect cast, which allows r

CVE-2014-9377 HIGH POC
7.5 Dec 19

Heap-based buffer overflow in the nbns_spoof function in plug-ins/nbns_spoof/nbns_spoof.c in Ettercap 0.8.1 allows remot

CVE-2014-9378 HIGH POC
7.5 Dec 19

Ettercap 0.8.1 does not validate certain return values, which allows remote attackers to cause a denial of service (cras

CVE-2026-129431 HIGH
7.1 Nov 14

Heap out-of-bounds read in Ettercap's SOCKS5 dissector through version 0.8.5.1 can expose adjacent heap memory in the op

CVE-2026-129432 HIGH
7.1 Nov 14

Heap out-of-bounds read in Ettercap through 0.8.5.1 lets network-adjacent attackers leak up to 100 bytes of process memo

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy