Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPosition within WiFi range of Ettercap sniffer
-
DeliverySend short crafted CCMP frame
-
ExploitUnderflow length in ccmp_decrypt()
-
ExecutionOverflow stack buffer in root process
-
ImpactExecute code as root
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
|
| Exploitation Conditions | Exploitation requires a specific victim-side operating mode: Ettercap must be actively sniffing 802.11 in monitor mode with a valid WPA2/CCMP security association installed (WiFi key configured via -W and the 4-way handshake already captured), so that wpa_decrypt() dispatches to the vulnerable CCMP path (src/ec_encryption.c:637). Given that state, a single malformed short CCMP frame (length below sizeof(struct wpa_header)+WPA_CCMP_TRAILER, i.e. the 8-byte trailer) triggers the size_t underflow at src/ec_encryption_ccmp.c:195 and the unbounded stack write. Limiting factors: the attacker must be WiFi-adjacent (radio range), the target must be running Ettercap as root (its normal mode) in this non-default decryption configuration rather than idle, and no authentication to any system is involved but neither is any default-configuration remote exposure - an Ettercap instance not loaded with a WPA key and not in monitor mode is not reachable on this path. |
| Impact | This is a genuine but conditional priority, not an internet-facing emergency. The CVSS 4.0 base score of 7.7 (High) reflects an adjacent-network vector (AV:A) with no attacker privileges or user interaction (PR:N/UI:N) and full vulnerable-system impact (VC:H/VI:H/VA:H) against a process that normally runs as root, which is why the memory-corruption primitive is serious. The two signals that temper it are AC:H and AT:P (attack requirements present): the input encodes that exploitation is not against a default state but requires a specific, operator-created deployment - Ettercap actively capturing 802.11 in monitor mode with a valid WPA2/CCMP key loaded and the 4-way handshake already observed. The vuln.today decision label is 'this_week' (urgent but below act_now/emergency), consistent with a high-impact bug lacking in-the-wild pressure. No EPSS score, no CISA KEV entry, and no public exploit code are present in the input - exploitation status is 'no public exploit identified at time of analysis,' though a detailed vendor advisory (GHSA-j37f-7jx3-rf8j) with AddressSanitizer-validated root-cause analysis exists, lowering the barrier to weaponization. Net: a real, well-documented root-level memory-corruption flaw whose real-world risk is gated by the narrow precondition that the victim is running Ettercap in a specific WPA-decryption mode within WiFi range of the attacker, rather than a broadly exploitable remote issue. |
| Exploit ScenarioDerived | An attacker within WiFi (adjacent) range of a host running Ettercap in monitor mode with a loaded WPA2/CCMP security association transmits a single malformed short CCMP frame (length below the 8-byte trailer). The unchecked subtraction in ccmp_decrypt() underflows the size_t length to a near-maximal value, driving an unbounded stack write in the root Ettercap process and corrupting memory, potentially leading to arbitrary code execution as root. No public exploit code is identified at time of analysis, but a vendor advisory with ASan-validated analysis publicly documents the exact trigger arithmetic. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 10, 2026
Stack buffer overflow in Ettercap 0.8.4.1 and earlier lets a WiFi-adjacent attacker corrupt the stack of the Ettercap process - which normally runs as root - by sending a single short CCMP frame, but only when Ettercap is sniffing 802.11 traffic in monitor mode with a valid WPA2/CCMP security association already loaded (key supplied via -W and the four-way handshake captured). Instances that are not in that non-default decryption configuration are not reachable on this path, which is why the assessed vector is adjacent-network with high attack complexity (CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H). There is no CISA KEV listing and no confirmed working exploit code; a public GitHub advisory documents a validated reproducer built with AddressSanitizer, so remediation belongs in this week's planned maintenance rather than an emergency response.
RemediationAI
No vendor-released patched version has been published at time of analysis: the fix is proposed in upstream pull request https://github.com/Ettercap/ettercap/pull/1330 (branch security/dream-2026-hardening), which adds an early 'if (len < sizeof(struct wpa_header) + WPA_CCMP_TRAILER) return -E_NOTHANDLED;' guard in both wpa_ccmp_decrypt() and ccmp_decrypt() and moves the len > UINT16_MAX check above the decbuf VLA declaration - upstream fix available (PR/commit), released patched version not independently confirmed. Note that the commit referenced in the NVD-sourced references (1d8badb713579419a29a494bb463a1af59707e98) as surfaced here contains changes to src/dissectors/ec_gg.c for a separate GHSA (GHSA-vrjv-f8gv-2h35) and does not itself show the CCMP guard, so teams should verify the patch content rather than assume the commit closes this issue. Until a release carries the guard, either backport the two length checks and the VLA reordering from PR #1330 to your build, or remove the exposure: do not run Ettercap in 802.11 monitor mode with a WPA2/CCMP key loaded via -W unless actively required (trade-off: loss of WiFi payload decryption, which is the tool's core feature in that mode), and where decryption is required, confine the instance to a dedicated container or VM with dropped capabilities and no access to production credentials or networks (trade-off: root inside the sandbox is still root in the sandbox, so the blast radius is reduced but not eliminated), and restrict the monitored radio environment to authorized traffic you control (trade-off: no coverage of nearby untrusted 802.11 frames). Monitor the Ettercap repository for the merged fix and the corresponding advisory update before restoring full monitor-mode decryption.
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
The flaw is a CWE-191 unsigned integer underflow that escalates into a CWE-787 out-of-bounds write. In ccmp_decrypt() (src/ec_encryption_ccmp.c:190-203) the frame length parameter is a size_t and the function immediately executes 'len -= WPA_CCMP_TRAILER' (8 bytes) with no minimum-length check; for a frame whose length is below 8 the subtraction wraps to roughly 0xFFFFFFFFFFFFFFFB and the subsequent decryption loop, which should process a handful of AES blocks, instead runs on the order of 2^60 iterations. Each pass walks the 'enc' pointer - derived from decbuf, a variable-length array declared in the caller's stack frame at src/ec_encryption_ccmp.c:63 - further up the stack and writes a 16-byte AES block, producing an unbounded stack overwrite. The advisory also documents related defects on the same code path in wpa_ccmp_decrypt() (lines 55-122): the size_t data_len computation underflows for short frames and is folded into BZERO[14..15], memcpy(mic, data + len, 8) and memcpy(decbuf, data + sizeof(struct wpa_header), len) read 8 bytes past the frame, and memset(data + len - 8, 0, 8) writes before the buffer; additionally the len > UINT16_MAX guard is placed after the decbuf VLA declaration, so the sanity check cannot protect the array sizing. Reaching this code at all requires wpa_decrypt() (src/ec_encryption.c:637) to dispatch to the CCMP branch, which happens only when Ethernet decoding is running against an 802.11 monitor-mode capture with an installed CCMP security association.
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:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
WiFi-adjacent (AV:A); the single short frame triggers the overflow but requires the operator to be running Ettercap in monitor mode with a WPA key loaded (AC:H, no 3.1 attack-requirement metric); root-process code execution gives C:H/I:H/A:H, S:U.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
Ettercap through 0.8.4.1 contains an integer underflow in ccmp_decrypt() in src/ec_encryption_ccmp.c that subtracts the 8-byte CCMP trailer without checking minimum length. Attackers on a network whose WPA key is loaded can send a short crafted CCMP frame to overflow a stack buffer in the Ettercap process, which normally runs as root.
Technical POC Analysis
CWE-191 (integer underflow, wrapping to CWE-787 out-of-bounds write).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Ettercap, a widely used network analysis tool, contains a high-severity stack buffer overflow (CVE-2026-125404) that could allow an attacker within WiFi range to corrupt the memory of the Ettercap process, typically running with root privileges, when it is actively sniffing 802.11 traffic in a specific decryption configuration. The vulnerability is not currently being exploited in the wild and requires a non-default setup, but the potential for full system compromise means security management should prioritize patching during the upcoming maintenance window rather than emergency response.
No vendor-released patch identified at time of analysis. Interim mitigations include avoiding non-default decryption configurations (do not use -W with four-way handshake captured) unless absolutely necessary, isolating Ettercap instances on segmented networks with strict access controls, running Ettercap with least privilege where possible, and monitoring for unusual crashes or behavior.
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.
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
EUVD-2026-120567
GHSA-5p5x-8wq5-mrjm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB