Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEstablish active MITM on SSHv1 session
-
DeliverySubstitute server RSA key, derive session key
-
ExploitSend short packet with oversized data_len
-
ExecutionTrigger OOB read in dissector_ssh() memcpy
-
ImpactLeak ≤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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
EUVD-2026-128327
GHSA-g4c8-hhm3-6627
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB