Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessOperate attacker-influenced VNC server on monitored segment
-
DeliveryEttercap dissects passing VNC session
-
ExploitSend auth-type and challenge in one 16-byte packet
-
ExecutionTrigger heap out-of-bounds read in dissector_vnc()
-
ImpactLeak up to 3 adjacent heap bytes into Ettercap 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 | Ettercap must be actively running and dissecting VNC traffic (the VNC dissector is enabled by default on TCP 5900-5903), and the attacker must control or influence a VNC server whose authentication type and 16-byte challenge arrive in a single packet. The vulnerable path is only reached when auth-type and challenge share one packet of length 16-18 bytes (DATA.len >= 19 is in-bounds), so the leak size shrinks from 3 bytes (len=16) to 1 byte (len=18). Limiting factors: AV:A means the attacker needs an adjacent-network position relative to the monitored traffic; impact is read-only with no write primitive; disclosure is capped at 3 bytes of adjacent heap per packet (repeatable by reconnecting and sending further auth packets); and nothing happens unless an operator is sniffing the attacker-influenced VNC session. |
| Impact | This is a genuinely low-priority issue despite being a real, confirmed bug. The CVSS 4.0 vector (AV:A/AC:L/AT:N/PR:N/UI:N/VC:L with VI:N/VA:N) scores 5.3 (Medium) and correctly reflects a read-only information disclosure confined to the vulnerable system: adjacent-network reachability, no privileges, no user interaction, but only a Low confidentiality impact and zero integrity/availability effect. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with the limited impact. No EPSS score, no CISA KEV entry, and no published weaponized exploit were provided - the GHSA advisory documents a reproduction methodology (crafted pcap, AddressSanitizer-verified by the maintainers) but that is a proof-of-reproduction, not released working exploit code. The impact ceiling is explicitly marginal: up to 3 bytes of adjacent heap memory leaked per malicious server packet, with no write primitive. The one nuance worth flagging: the attack surface is not the Ettercap host as a network service but Ettercap acting as a passive dissector - exploitation requires Ettercap to be actively monitoring VNC traffic, so real-world risk depends entirely on whether an operator is sniffing attacker-influenced VNC sessions. No signals conflict; all point to a low-severity, low-urgency defect that should be patched on a normal cycle rather than treated as an emergency. |
| Exploit ScenarioDerived | An attacker who controls or influences a VNC server on a segment that an Ettercap instance is actively monitoring sends the VNC authentication type (\x00\x00\x00\x02) and the 16-byte challenge inside a single short packet. Ettercap's default-enabled VNC dissector checks the whole packet length instead of the remaining bytes and reads 3 bytes past the exact-size heap packet buffer, hex-encoding the out-of-bounds bytes into the challenge that is printed to the Ettercap UI/log. A reproduction using a crafted pcap was dynamically verified by the maintainers with an AddressSanitizer build, but no public working exploit code is referenced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Ettercap through 0.8.5.1 contains a heap out-of-bounds read in dissector_vnc() in src/dissectors/ec_vnc.c, where the challenge copy is gated on the total packet length (PACKET->DATA.len >= 16) rather than the bytes remaining after the 4-byte auth-type field has already been consumed. An attacker who controls or influences a VNC server can pack the auth-type and challenge into a single 16- to 18-byte packet so that Ettercap's memcpy reads 1 to 3 bytes past the end of the allocated heap buffer, and those adjacent heap bytes are hex-encoded into the logged challenge. Impact is limited to a small, repeatable information disclosure (no write primitive) and only materializes when an operator is actively sniffing the attacker-influenced VNC session with the default-enabled VNC dissector; no public exploit code was identified at time of analysis, and the issue is not in CISA KEV.
RemediationAI
Upgrade Ettercap to 0.8.5.2, the first fixed release, or apply upstream commit 63d1a8498472cb37f76e12ac49e8c09531933e7b, which changes the challenge length guard from PACKET->DATA.len >= 16 to end - ptr >= 16 in src/dissectors/ec_vnc.c; details are in advisory GHSA-vphc-c3r7-3mh7 (https://github.com/Ettercap/ettercap/security/advisories/GHSA-vphc-c3r7-3mh7). If upgrading is not immediately possible, the exposure can be removed by not running Ettercap against VNC traffic or by disabling the VNC dissector in the Ettercap configuration, at the cost of losing all VNC protocol analysis and credential/challenge display; capture-side filtering to exclude TCP 5900-5903 has the same trade-off. Because the vulnerable path is only reached when the auth-type and challenge arrive in a single packet of 16-18 bytes, and the disclosure is capped at a few bytes of adjacent heap per packet with no write primitive, prioritization is low relative to write-capable flaws.
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
Ettercap is a man-in-the-middle network sniffer whose protocol dissectors parse captured traffic; ec_vnc.c handles the RFB (VNC) authentication handshake over TCP 5900-5903. The state machine consumed the 4-byte auth-type field (\x00\x00\x00\x02, VNC Auth) by advancing ptr += 4 and switching to WAIT_CHALLENGE, but the subsequent guard still compared the whole-packet length DATA.len against 16 instead of end - ptr. Because packet_disp_data() allocates disp_data with SAFE_CALLOC(len + 1) and copies exactly len bytes, a 16-byte packet yields a 17-byte allocation while memcpy(conn_status->challenge, ptr, 16) reads disp[4..19] - a 3-byte heap over-read (CWE-125); len 17 or 18 shrinks the over-read to 2 or 1 bytes, and DATA.len >= 19 stays in bounds. Maintainers reproduced it under AddressSanitizer on 0.8.5.1 (832524f3), and the upstream fix replaces the length check with (end - ptr >= 16) in commit 63d1a8498472cb37f76e12ac49e8c09531933e7b. Note that ec_vnc.c was not part of the DREAM batch of fixes (CVE-2026-125400 through 125406).
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:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Ettercap passively dissects traffic on an adjacent segment (AV:A), the single-packet trigger is reliable (AC:L), no auth or operator interaction is needed (PR:N/UI:N), and the bug leaks a few heap bytes read-only (C:L, 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_vnc() in src/dissectors/ec_vnc.c that checks total packet length instead of remaining bytes. A malicious VNC server can send the authentication type and challenge in one short packet to leak up to 3 bytes of adjacent heap memory via the logged challenge.
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-128325
GHSA-6x87-3h5x-mc29
NVD
CVE.org
EPSS
VulDB
Exploit-DB