Skip to main content

Ettercap EUVDEUVD-2026-128327

| CVE-2026-131853 MEDIUM
Out-of-bounds Read (CWE-125)
2026-11-18 disclosure@vulncheck.com GHSA-g4c8-hhm3-6627
6.0
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Establish active MITM on SSHv1 session
  2. Delivery
    Substitute server RSA key, derive session key
  3. Exploit
    Send short packet with oversized data_len
  4. Execution
    Trigger OOB read in dissector_ssh() memcpy
  5. Impact
    Leak ≤64 bytes of adjacent heap to operator UI/log

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a specific, non-default-friendly chain: ettercap must be run in ACTIVE MITM mode (not unoffensive, not offline) so its substitution of the server's RSA key succeeds and it holds the SSHv1 session key; aggressive dissectors must be enabled (aggressive_dissectors = 1, which is the etter.conf default); and the intercepted traffic must be an SSHv1 session - an SSHv2 banner wipes the session state, so SSHv2 is unaffected. Given those, a malicious SSHv1 peer (client or server, since both directions use the same loop) sends a short packet carrying an oversized peer-controlled data_len (e.g. ssh_len=5, data_len=64) via CMSG_USER or CMSG_AUTH_PASSWORD. Limiting factors: adjacent-network positioning plus active interception are needed, the read is bounded to ~64 bytes with no write and low crash likelihood, and critically the disclosed bytes are rendered to the ettercap operator's own UI/log rather than returned to the attacking peer, so the triggering attacker does not directly receive the leaked memory.

Impact

Signals point to a low-to-moderate, conditions-heavy issue rather than an urgent priority. The supplied CVSS 4.0 vector (AV:A/AC:H/AT:P/PR:N/UI:N, VC:H only) already encodes the friction: adjacent network only, high attack complexity, and a present attack requirement (AT:P), reflecting the chain of preconditions the GHSA advisory spells out - aggressive_dissectors=1 (the etter.conf default), an active MITM mode so ettercap's RSA-key substitution succeeds, and specifically an SSHv1 session (SSHv2 wipes the session). The vuln.today decision label is this_month, not act_now/emergency, consistent with that. There is NO CISA KEV listing and NO EPSS score in the input, so exploitation status is 'no public exploit identified as actively exploited'; a public PoC reference exists (an AddressSanitizer simulation embedded in the GHSA advisory), but it is not verified as a working exploit against a live ettercap deployment. A key nuance that lowers real-world confidentiality impact: the leaked ≤64 bytes of adjacent heap are surfaced into ettercap's captured-credential display and log - i.e. shown to the OPERATOR running ettercap, not returned to the malicious peer who triggers it, so the attacking peer does not directly exfiltrate the data. The official VC:H rating appears generous given this indirect, operator-only disclosure channel and the bounded read size; I assess confidentiality as Low (see assessed vectors). Net: a real but narrow information-disclosure bug gated behind an active MITM/SSHv1/aggressive-dissector scenario, worth patching on a normal cycle, not an emergency.

Exploit ScenarioDerived

An attacker already positioned to run ettercap in active MITM mode (aggressive dissectors enabled) intercepts an SSHv1 session and substitutes the server's RSA key, giving ettercap the session key. As a malicious SSHv1 client or server, the peer then sends a short packet declaring a large data_len (e.g. ssh_len=5, data_len=64) so the CMSG_USER/CMSG_AUTH_PASSWORD memcpy reads past the small decrypted-packet heap buffer, leaking up to 64 bytes of adjacent heap into the username/password shown on the operator's console and log. A proof-of-concept ASAN simulation demonstrating the out-of-bounds read is published in the GHSA advisory, though it is not a verified working exploit against a live deployment.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 18, 2026

Heap out-of-bounds read in Ettercap's SSHv1 dissector (dissector_ssh in src/dissectors/ec_ssh.c) through 0.8.5.1 lets a malicious SSHv1 peer in an actively intercepted session supply a short packet with an oversized data_len, causing up to 64 bytes of adjacent heap memory to be copied into Ettercap's captured USER/AUTH_PASSWORD fields. Reaching the vulnerable path requires active (not unoffensive, not offline) MITM mode with successful RSA key substitution, aggressive dissectors enabled (the etter.conf default), and an SSHv1 session; SSHv2 traffic is unaffected because an SSHv2 banner wipes the session state. Impact is limited: the read is bounded and non-writing, the leaked bytes are rendered to the operator's own UI and log rather than returned to the attacking peer, a public PoC reference exists but is not verified as working exploit code, and there is no confirmed active exploitation (no CISA KEV) and no EPSS signal provided.

RemediationAI

Upgrade to Ettercap 0.8.5.2, which contains upstream commit c4c8a969c2eedb205976b07e130760f37157337b: it rejects packets with ssh_len < 5 and enforces data_len <= payload_len (ssh_len - 5) in both the USER/AUTH_PASSWORD and disp_data paths. Details are in the GitHub advisory https://github.com/Ettercap/ettercap/security/advisories/GHSA-jrh2-m4f5-q3g3 and the VulnCheck advisory https://www.vulncheck.com/advisories/ettercap-through-0.8.5.1-heap-out-of-bounds-read-via-sshv1-dissector. If upgrading is not immediately possible, reduce exposure by disabling aggressive dissectors (aggressive_dissectors = 0 in etter.conf), which removes the default-on condition the SSHv1 dissector needs, at the cost of losing protocol decoding and credential capture for other protocols; and avoid running Ettercap in active MITM mode against untrusted or SSHv1-capable traffic, noting that without active key substitution the session key is unavailable and the vulnerable plaintext parsing is not reached. Note that SSHv2 sessions are not affected.

Affected VersionsENISA

ettercap 0 ≤0.8.5.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

CWE-125 (out-of-bounds read) in Ettercap's SSHv1 protocol decoder. After key substitution completes, the session enters WAITING_ENCRYPTED_PCK and dissector_ssh() reads ssh_len from the packet, pads it to an 8-byte boundary (ssh_mod), allocates clear_packet of ssh_len + ssh_mod bytes, decrypts into it, then parses the packet type and a 4-byte big-endian data_len from the decrypted plaintext. Because Ettercap has substituted the server's RSA key it holds the session key, so the peer fully controls that plaintext. The code validated only the upper bound (ssh_len > INT16_MAX) and bounded the destination of its memcpy calls by MAX_USER_LEN (64), never checking that data_len fits in the bytes actually remaining after the padding, packet type and length fields (ssh_len - 5). Two secondary defects share the root cause: ssh_len < 5 was not rejected, so with ssh_len = 0 the packet-type and data_len reads are themselves out of bounds; and the disp_data path rejected data_len > ssh_len rather than data_len > ssh_len - 5, allowing a small over-read that is likewise displayed to the operator. The upstream fix (commit c4c8a969) rejects ssh_len < 5, computes payload_len = ssh_len - 5, and rejects any data_len exceeding payload_len in both the USER/AUTH_PASSWORD and disp_data branches. Exploitation is constrained by the CVSS vector (AV:A/AC:H/AT:P/PR:N/UI:N), reflecting adjacent-network positioning and a high-attack-complexity prerequisite chain rather than any timing or race condition; the trigger mechanism is a single malformed packet, as described above.

Know when the next one hits your stack

  • 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 6.0 MEDIUM
CVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.1 LOW

Adjacent active-MITM positioning and multiple preconditions give AV:A/AC:H; the triggering peer needs no privileges (PR:N); read-only ≤64-byte leak surfaced only to the operator, not the attacker, so C:L and I/A:N.

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

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

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

DescriptionCVE.org

Ettercap through 0.8.5.1 contains a heap out-of-bounds read vulnerability in dissector_ssh() in src/dissectors/ec_ssh.c that copies a peer-supplied data_len without checking remaining packet bytes. A malicious SSHv1 client or server in an intercepted session can send a short packet with a large data_len to disclose up to 64 bytes of adjacent heap memory through captured credentials in the interface and log.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Low
niche MITM/pentest tool, minimal production deployment footprint
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Controlled
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

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

Related Vulnerabilities in Ettercap Dissector Out-of-Bounds Read Flaws

View all 3

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