Skip to main content

Ettercap EUVDEUVD-2026-128325

| CVE-2026-131855 MEDIUM
Out-of-bounds Read (CWE-125)
2026-11-18 disclosure@vulncheck.com GHSA-6x87-3h5x-mc29
5.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Operate attacker-influenced VNC server on monitored segment
  2. Delivery
    Ettercap dissects passing VNC session
  3. Exploit
    Send auth-type and challenge in one 16-byte packet
  4. Execution
    Trigger heap out-of-bounds read in dissector_vnc()
  5. Impact
    Leak 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.

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

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

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

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

Vendor (vulncheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 4.3 MEDIUM

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).

3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:A/AC:L/AT:N/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
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
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_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

EPSS Score
0.3%
Top 72% exploitable
Prevalence
Low
niche network-sniffing/MITM tool run on-demand by security practitioners, not production infrastructure
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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