Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPosition on monitored network segment
-
DeliverySend crafted Gadu-Gadu login/status packet on TCP 8074
-
ExploitTrigger heap overflow in gg_get_version dissector
-
ExecutionCorrupt heap in root-owned Ettercap process
-
ImpactCrash or potential root 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 | Ettercap (through 0.8.4.1) must be running and actively dissecting traffic on a network segment the attacker can reach, with the default Gadu-Gadu dissector enabled; the attacker then sends a GG_LOGIN50/60 or GG_STATUS50 message on TCP 8074 with a crafted attacker-controlled 32-bit version field (e.g. 0x44000042) so gg_get_version() builds a 43-byte string into a 30-byte tbuf3 heap allocation. No authentication and no user interaction are required (PR:N/UI:N), and Ettercap normally runs as root. LIMITING FACTORS: the attacker must be on the monitored/adjacent segment (AV:A, not routable from the internet), Ettercap must be in an active sniffing state, and overflow content is only partially attacker-controlled (the hex digits of the version value), constraining precise heap manipulation. |
| Impact | The CVSS 4.0 vector scores this 7.2 (High) with AV:A/AC:L/AT:N/PR:N/UI:N and VI:H/VA:H/VC:N, meaning no authentication, no user interaction and low complexity once the attacker is positioned - but AV:A (Adjacent) is the decisive limiter: Ettercap is a LAN sniffer/MITM tool, and the overflow only triggers while Ettercap is actively dissecting Gadu-Gadu traffic on a segment the attacker can reach. No EPSS score and no CISA KEV entry are present in the input, so there is no signal of widespread or active exploitation; the vuln.today decision label is 'this_week' (elevated, not emergency). Exploitation is also conditional on an operational state (Ettercap running and sniffing), which narrows real-world exposure well below what the raw 7.2 implies. Weaponization is non-trivial: the vendor advisory demonstrates a 14-byte heap overflow with partially attacker-controlled bytes (the hex digits of the version field) reproduced under AddressSanitizer, but only heap corruption/crash is proven - code execution in the root process is plausible yet unverified. Net: a genuine priority for anyone running Ettercap as a monitoring/MITM sensor, but not a mass-exploitation, internet-facing emergency. |
| Exploit ScenarioDerived | An attacker with a foothold on a network segment that Ettercap is actively monitoring sends a single Gadu-Gadu login or status packet on TCP 8074 whose 32-bit version field is set to 0x44000042; gg_get_version() composes 'unknown (0x44000042) + has audio + eraomnix' (44 bytes incl. NUL) into a 30-byte heap buffer, overflowing it by 14 bytes inside the root-owned Ettercap process. The GHSA advisory publishes a verified AddressSanitizer reproduction and the exact trigger value, so a public technical PoC reproduction exists, though it is not verified as packaged, working weaponized exploit code. Because overflow bytes are partially attacker-selected, the outcome ranges from a crash to potential code execution as root. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 10, 2026
Heap buffer overflow in Ettercap's Gadu-Gadu protocol dissector lets a network-adjacent, unauthenticated attacker corrupt the heap of a process that normally runs as root, by sending a crafted 32-bit version field in a GG_LOGIN50/60 or GG_STATUS50 message on TCP 8074 while Ettercap is actively sniffing that segment. gg_get_version() composes the version string with sprintf/strcat into a 30-byte heap buffer but can emit 44 bytes, giving up to a 14-byte overflow whose contents are only partially attacker-selected (the hex digits of the version value). Exploitation requires adjacency and an active sniffing state rather than internet reachability, and no public exploit was identified at time of analysis; the fix exists upstream as a commit and pull request but no tagged patched release is confirmed.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed. The fix is proposed in pull request https://github.com/Ettercap/ettercap/pull/1330 (branch security/dream-2026-hardening) and committed as https://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98, which adds explicit buffer-size parameters to gg_get_version() and gg_get_status(), raises tbuf3 to 64 bytes (GG_TBUF3_SIZE), enlarges user[]/pass[] to 12/48, and frees the scratch buffers on every bail path; rebuild Ettercap from that commit or a later release once one is tagged, since no fixed version number is published yet. Until then, the practical compensating control is to remove or comment out the Gadu-Gadu dissector registration in the build so ec_gg.c is never reached - the trade-off is losing all Gadu-Gadu parsing for the deployment. A second option is to keep Ettercap off segments where TCP 8074 traffic can be injected and to filter port 8074 at the monitored segment boundary, accepting that this narrows the capture scope. Because the process normally runs as root, running it with dropped privileges limits the post-corruption blast radius, at the cost of reduced raw-socket sniffing capability. Note that the advisory states the overflow helper is called before the per-message length checks, so packet-length filtering inside Ettercap does not mitigate this issue.
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 LAN sniffing and man-in-the-middle suite whose protocol parsers live in src/dissectors/; ec_gg.c implements the Gadu-Gadu instant-messaging protocol, which carries an attacker-controlled u_int32 version field in gg_login50_hdr, gg_login60_hdr and gg_status50_hdr. dissector_gg() allocates the destination scratch buffer at src/dissectors/ec_gg.c:357 with SAFE_CALLOC(tbuf3, 30, sizeof(char)), then calls gg_get_version(), which builds the string with sprintf("unknown (0x%X)", version) in its default branch and appends " + has audio" and " + eraomnix" when the 0x40000000 and 0x04000000 flag tests pass. A value such as 0x44000042 misses every switch case and passes both flag tests, producing 43 characters plus NUL into the 30-byte region - a 14-byte heap overflow; shorter overflows are reachable through non-default cases ("5.0/4.9" plus both suffixes gives 31 bytes). The dissector's only length validation, the gg->len equality check at line 352 and the per-message (gg->len < offset) guards, either runs before the version helper or is bypassed because gg_get_version() is called first; reading the version field at all is itself an out-of-bounds read on short TCP payloads. The advisory classifies this as CWE-131 (incorrect buffer size calculation) and CWE-787 (out-of-bounds write), matching the CWE-122 heap overflow label in the CVE metadata. The same dissector carries related defects: char user[10] receiving sprintf("%u", uin) for a u_int32 (a one-byte stack overflow), and bail paths that return without freeing tbuf/tbuf2/tbuf3 (a leak on every short packet). The fix threads explicit size_t sizes into gg_get_version()/gg_get_status(), grows tbuf3 to 64 bytes, user[] to 12 and pass[] to 48, and frees the scratch buffers on all exit paths.
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:N/VI:H/VA:H/SC:N/SI:N/SA:N
Adjacent because Ettercap must be sniffing the segment carrying the traffic; a single unauthenticated packet with no UI corrupts the root process heap, so I:H/A:H and C:N.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
Ettercap through 0.8.4.1 contains a heap buffer overflow vulnerability in gg_get_version() in src/dissectors/ec_gg.c that writes up to 44 bytes into a 30-byte allocation. Remote attackers can send Gadu-Gadu traffic on TCP port 8074 with a crafted version field through a monitored network to corrupt heap memory in the Ettercap process, which normally runs as root.
Technical POC Analysis
Heap-based out-of-bounds write (CWE-122; the upstream advisory files it as CWE-131 "incorrect calculation of buffer size" plus CWE-787 "out-of-bounds write") in Ettercap's Gadu-Gadu protocol dissecto…
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity heap overflow in Ettercap's Gadu-Gadu protocol dissector can be triggered by network-adjacent attackers against Ettercap instances actively sniffing traffic, and because Ettercap typically runs as root, compromise could yield privileged access on analyst workstations or network monitoring hosts. Leadership should care because affected systems are commonly used by security and network teams, so a successful exploit could undermine the very monitoring infrastructure relied upon for detection and response.
No vendor-released patch identified at time of analysis. Interim mitigations: run Ettercap as a non-root user with minimal capabilities, restrict sniffing to necessary segments, avoid processing untrusted Gadu-Gadu traffic (TCP 8074), apply the upstream fix commit where feasible, and monitor for crashes or anomalous process restarts.
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.
EUVD-2026-120564
GHSA-c4g2-78xj-7j7r
NVD
CVE.org
EPSS
VulDB
Exploit-DB