
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-125404 is a stack buffer overflow vulnerability in Ettercap through version 0.8.4.1, caused by an integer underflow in the ccmp_decrypt() function in src/ec_encryption_ccmp.c. The function subtracts the 8-byte CCMP trailer from an unsigned size_t length without first verifying the frame is at least 8 bytes long, causing the length to wrap to a near-SIZE_MAX value and triggering an unbounded stack write. The vulnerability was discovered by the DREAM Security Research Team (Adiel Sol, Arad Inbar, Erez Cohen, Nir Somech, Ben Grinberg, Daniel Lubel, and Shir Sadon) and reported against v0.8.4.1; the fix was merged on November 6, 2026, and published on November 10, 2026. It carries a CVSS v3.1 base score of 7.5 (High) and a CVSS v4.0 base score of 7.7 (High) (GitHub Advisory, Github Advisory).
The root cause is an integer underflow (CWE-191) in ccmp_decrypt() at src/ec_encryption_ccmp.c line 195, where len -= WPA_CCMP_TRAILER (subtracting 8) is performed on a size_t variable without a prior minimum-length check. For a frame with len < 8 (e.g., len = 3), the subtraction wraps to 0xFFFFFFFFFFFFFFFB, causing the subsequent decryption loop to iterate approximately 2^60 times, writing AES blocks progressively up the stack past the decbuf variable-length array (VLA) in the caller's frame (GitHub Advisory). The outer function wpa_ccmp_decrypt() also contains related defects: data_len = len - sizeof(struct wpa_header) underflows for short frames, the len > UINT16_MAX guard appears after the VLA decbuf[len] is declared, and memcpy/memset calls operate out-of-bounds on short frames (GitHub Advisory, Vulnerable Code). Exploitation requires Ettercap to be running in 802.11 monitor mode with a valid WPA2/CCMP security association loaded (via -W/wifi key configuration and an observed 4-way handshake), so that wpa_decrypt() dispatches to the CCMP path. The resulting write is classified as CWE-787 (Out-of-bounds Write) (Github Advisory).
Successful exploitation results in stack corruption in the Ettercap process, which typically runs as root, enabling an attacker to achieve arbitrary code execution with root privileges on the host running Ettercap. The confidentiality, integrity, and availability impacts are all rated High, as a root-level compromise grants full control over the affected system, including access to all captured network traffic, credentials, and the ability to pivot to other systems on the monitored network (GitHub Advisory, Github Advisory).
No public proof-of-concept exploit code is known to exist, and there is no evidence of in-the-wild exploitation at this time (Github Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and NVD's SSVC assessment classifies exploitation as "none" and the attack as non-automatable. The EPSS score is approximately 0.129% (3rd percentile), indicating a low near-term exploitation probability. Exploitation requires the attacker to be on the same adjacent network segment and to possess knowledge of the loaded WPA key, raising the practical bar for exploitation (Github Advisory).
wpa_decrypt() dispatching to ccmp_decrypt()).len = 3), which is shorter than the 8-byte WPA_CCMP_TRAILER constant.scapy, airpwn, or a custom raw socket program).ccmp_decrypt() computes len -= WPA_CCMP_TRAILER (e.g., 3 - 8), wrapping len to 0xFFFFFFFFFFFFFFFB due to unsigned integer underflow.decbuf VLA, corrupting return addresses and other stack data./bin/sh, bash, nc, curl) running as root./var/log/syslog, dmesg) showing segfault or stack corruption messages from the Ettercap process; AddressSanitizer output (if instrumented) reporting dynamic stack buffer overflow in ccmp_decrypt or wpa_ccmp_decrypt.Upgrade Ettercap to version 0.8.5.1, which includes the fix merged via pull request #1330 (commit 1d8badb) that adds minimum-length checks in both ccmp_decrypt() and wpa_ccmp_decrypt() before any arithmetic, and moves the UINT16_MAX guard above the VLA declaration (PR #1330, Fix Commit). As a workaround, avoid running Ettercap in 802.11 monitor mode with WPA keys loaded on untrusted networks, and restrict physical/network access to the monitoring host. Where possible, run Ettercap with reduced privileges (though this may limit functionality) and consider enabling stack protection mechanisms (e.g., -fstack-protector-strong, ASLR) on the host (GitHub Advisory).
The Ettercap maintainer (eaescob) responded rapidly to the DREAM Security Research Team's report, merging the fix on November 6, 2026, and releasing version 0.8.5.1 on November 10, 2026, the same day the CVE was published. A member of the Ettercap project (koeppea) praised the fix as "massive" and commended both the development team and the research team. The NixOS/nixpkgs community promptly opened and closed tracking issues for all seven vulnerabilities in the DREAM report, with the nixpkgs maintainer (pSub) quickly updating the package to 0.8.5.1 (PR #1330).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."