Skip to main content

Ettercap CVE-2026-125404

| EUVDEUVD-2026-120567 HIGH
Integer Underflow (CWE-191)
2026-11-10 disclosure@vulncheck.com GHSA-5p5x-8wq5-mrjm
7.7
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Position within WiFi range of Ettercap sniffer
  2. Delivery
    Send short crafted CCMP frame
  3. Exploit
    Underflow length in ccmp_decrypt()
  4. Execution
    Overflow stack buffer in root process
  5. Impact
    Execute 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.

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

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

Alert me

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

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

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

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

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.

3.1 AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:A/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Adjacent
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
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 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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
niche pentest/MITM network tool, not production infrastructure software
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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
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
Scheduled
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact
Medium
Technical Impact
Total

Priority Score

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

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

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