Skip to main content

Ettercap EUVDEUVD-2026-120564

| CVE-2026-125401 HIGH
Heap-based Buffer Overflow (CWE-122)
2026-11-10 disclosure@vulncheck.com GHSA-c4g2-78xj-7j7r
7.2
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Position on monitored network segment
  2. Delivery
    Send crafted Gadu-Gadu login/status packet on TCP 8074
  3. Exploit
    Trigger heap overflow in gg_get_version dissector
  4. Execution
    Corrupt heap in root-owned Ettercap process
  5. Impact
    Crash 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

ettercap 0 ≤0.8.4.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 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

Vendor (vulncheck) PRIMARY 7.2 HIGH
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
vuln.today AI 8.1 HIGH

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.

3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
4.0 AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/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
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Low
niche network-sniffing/MITM tool, vulnerable only while actively dissecting traffic
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
High

Priority Score

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

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

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