Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPosition on target network
-
DeliveryIdentify active Ettercap instance
-
ExploitInject crafted GG protocol packet
-
ExecutionTrigger heap overflow in ec_gg.c dissector
-
PersistCorrupt memory/crash process
-
ImpactAchieve 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
Lifecycle Timeline
2DescriptionCVE.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
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.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
Heap-based buffer overflow in the dissector_postgresql function in dissectors/ec_postgresql.c in Ettercap before 0.8.1 a
The strescape function in ec_strings.c in Ettercap 0.8.2 allows remote attackers to cause a denial of service (heap-base
The compile_tree function in ef_compiler.c in the Etterfilter utility in Ettercap 0.8.2 and earlier allows remote attack
Stack buffer underwrite in the Ettercap telnet dissector, affecting Ettercap through 0.8.4.1, lets an unauthenticated at
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
Integer underflow in Ettercap 0.8.1 allows remote attackers to cause a denial of service (out-of-bounds write) and possi
The dissector_postgresql function in dissectors/ec_postgresql.c in Ettercap before 0.8.1 allows remote attackers to caus
The radius_get_attribute function in dissectors/ec_radius.c in Ettercap 0.8.1 performs an incorrect cast, which allows r
Heap-based buffer overflow in the nbns_spoof function in plug-ins/nbns_spoof/nbns_spoof.c in Ettercap 0.8.1 allows remot
Ettercap 0.8.1 does not validate certain return values, which allows remote attackers to cause a denial of service (cras
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
Heap out-of-bounds read in Ettercap's SOCKS5 dissector through version 0.8.5.1 can expose adjacent heap memory in the op
EUVD-2026-31576
GHSA-fgvc-qw77-cmcj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB