Skip to main content

Ettercap CVE-2026-9365

| EUVDEUVD-2026-31576 LOW
Heap-based Buffer Overflow (CWE-122)
2026-05-24 VulDB GHSA-fgvc-qw77-cmcj
2.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Position on target network
  2. Delivery
    Identify active Ettercap instance
  3. Exploit
    Inject crafted GG protocol packet
  4. Execution
    Trigger heap overflow in ec_gg.c dissector
  5. Persist
    Corrupt memory/crash process
  6. Impact
    Achieve limited code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

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

Exploitation Conditions

Successful exploitation requires Ettercap to be actively capturing and dissecting network traffic that includes Gadu-Gadu (GG) instant messaging protocol packets. The attacker must be positioned to inject or manipulate GG protocol traffic visible to the Ettercap instance - typically requiring man-in-the-middle positioning on the same network segment or control over traffic sources being analyzed. The GG dissector module must be enabled (default in standard Ettercap builds). High attack complexity (AC:H) stems from the need to craft precise GG protocol packets with specific command types (GG_LOGIN50_CMD, GG_LOGIN60_CMD, GG_LOGIN70_CMD, or GG_STATUS commands) containing malformed length fields that trigger integer underflow in offset calculations. No user interaction (UI:N) or authentication (PR:N) required once these preconditions are met. Limiting factors: The vulnerability only manifests when Ettercap processes GG protocol traffic, which is relatively uncommon compared to HTTP/HTTPS/DNS analysis workloads. The attacker must have network proximity to the Ettercap operator and technical expertise in protocol manipulation, significantly constraining realistic exploitation scenarios.

Impact

Real-world risk is moderate despite CVSS base score of 5.6. CVSS vector indicates network-exploitable (AV:N) without authentication (PR:N) but with high attack complexity (AC:H), suggesting successful exploitation requires precise timing, network positioning, or protocol manipulation expertise. The low impact ratings (C:L/I:L/A:L) indicate limited damage potential even when exploited. EPSS data not provided, but the combination of high complexity, niche protocol (Gadu-Gadu), and requirement for attacker-positioned network interception significantly reduces mass exploitation probability. Publicly available exploit code (GitHub issue #1306) demonstrates feasibility but requires the attacker to actively MitM network traffic being analyzed by Ettercap - essentially attacking the attacker's own security tool. Not present in CISA KEV, confirming no widespread active exploitation detected. Primary risk applies to security professionals running vulnerable Ettercap versions on untrusted networks where adversaries could inject crafted GG protocol traffic into analyzed streams. The exploit scenario requires Ettercap to be actively capturing and dissecting Gadu-Gadu protocol traffic, limiting exposure to specific operational contexts.

Exploit ScenarioDerived

An attacker positioned on the same network segment as a security analyst running vulnerable Ettercap 0.8.3 injects crafted Gadu-Gadu protocol packets into the traffic stream being analyzed. The malicious GG_LOGIN or GG_STATUS command contains an oversized description field that triggers a heap-based buffer overflow in the ec_gg.c dissector when FUNC_DECODER processes it. Publicly available exploit code (GitHub issue #1306) demonstrates the attack technique, allowing the attacker to potentially corrupt heap memory, crash the Ettercap process, or achieve limited code execution within the context of the compromised security tool.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 24, 2026

Heap-based buffer overflow in Ettercap's GG protocol dissector (versions up to 0.8.3) allows remote attackers to potentially achieve limited confidentiality, integrity, and availability compromise through crafted network traffic. The vulnerability exists in the ec_gg.c dissector when processing Gadu-Gadu instant messaging protocol packets. Publicly available exploit code exists (GitHub issue #1306), and vendor has released patch version 0.8.4 (commit feeae6fa). Despite network attack vector, exploitation difficulty is high (AC:H) with low EPSS risk, suggesting specialized targeting rather than mass exploitation.

RemediationAI

Upgrade to Ettercap version 0.8.4 or later, which includes the vendor-released patch (commit feeae6fa366e01a3dd9f1857ec6aae847b2ae00c) fixing the buffer overflow in the GG dissector. Patch details: https://github.com/Ettercap/ettercap/pull/1307 and https://github.com/Ettercap/ettercap/commit/feeae6fa366e01a3dd9f1857ec6aae847b2ae00c. If immediate patching is not feasible, implement the following compensating controls with noted trade-offs: (1) Disable the GG dissector module if Gadu-Gadu protocol analysis is not operationally required - reduces attack surface but eliminates visibility into GG traffic; (2) Run Ettercap only on isolated analysis networks separate from untrusted traffic sources - limits exposure but constrains operational flexibility; (3) Apply strict input validation at network boundaries to filter malformed GG protocol packets before they reach Ettercap - requires deep packet inspection capabilities and may introduce performance overhead or false positives blocking legitimate traffic. Organizations using Ettercap for production security monitoring should prioritize immediate upgrade to 0.8.4.

Affected VersionsENISA

ettercap 0.8.3
ettercap 0.8.1
ettercap 0.8.2
ettercap 0.8.0

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 comprehensive network interception and analysis suite for man-in-the-middle attacks on LANs. The vulnerability resides in the GG (Gadu-Gadu) protocol dissector component (src/dissectors/ec_gg.c), which parses instant messaging traffic. CWE-122 identifies this as a heap-based buffer overflow, occurring when FUNC_DECODER processes malformed GG protocol packets. The patch reveals multiple unsafe strncpy operations copying user-controlled description fields into fixed 71-byte buffers without proper bounds checking. The dissector processes GG_LOGIN50_CMD, GG_LOGIN60_CMD, GG_LOGIN70_CMD, and GG_STATUS commands, calculating copy lengths as (gg->len - offset) without validating that gg->len exceeds the offset, leading to integer underflow and excessive copy lengths. The fix introduces GG_MAX_LEN constant (70 bytes), proper offset validation, and MIN() macro to constrain copy operations.

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 (VulDB) PRIMARY 2.9 LOW
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

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

Lifecycle Timeline

2
Severity Changed
May 26, 2026 - 19:37 NVD
MEDIUM LOW
CVSS changed
May 26, 2026 - 19:37 NVD
5.6 (MEDIUM) 2.9 (LOW)

DescriptionCVE.org

A vulnerability has been found in Ettercap up to 0.8.3. The affected element is the function FUNC_DECODER of the file src/dissectors/ec_gg.c of the component GG Dissector. The manipulation of the argument gg leads to heap-based buffer overflow. The attack is possible to be carried out remotely. The complexity of an attack is rather high. The exploitability is described as difficult. The exploit has been disclosed to the public and may be used. Upgrading to version 0.8.4 is sufficient to fix this issue. The identifier of the patch is feeae6fa366e01a3dd9f1857ec6aae847b2ae00c. It is suggested to upgrade the affected component.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 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 LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +14
PoC: +20
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.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

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-2026-125406 HIGH
8.7 Nov 10

Stack buffer underwrite in the Ettercap telnet dissector, affecting Ettercap through 0.8.4.1, lets an unauthenticated at

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-125405 HIGH
7.2 Nov 10

Heap out-of-bounds read in Ettercap through 0.8.4.1 (Parse_NTLM_Auth() in src/dissectors/ec_http.c) allows a peer whose

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

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