CVE-2026-125404

Ettercap before 0.8.5.1 Stack Buffer Overflow via WPA CCMP Decryption

Published Nov 9, 2026 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
Description
Ettercap before 0.8.5.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.

Analysis

AI-generated

Technical impact

Ettercap before 0.8.5.1 exhibits an integer underflow in the ccmp_decrypt function in src/ec_encryption_ccmp.c. This flaw subtracts the 8-byte CCMP trailer from a packet length without first validating that the packet is long enough, allowing an attacker to send a short WPA CCMP frame that overflows a stack buffer in the Ettercap process. Because the process typically runs with root privileges, successful exploitation can lead to arbitrary code execution on the host.

Affected Systems

The vulnerable product is the Ettercap utility from the Ettercap Project. Any installation that uses a release prior to 0.8.5.1 is affected.

Risk and Exploitability

The CVSS score of 7.7 indicates a high severity vulnerability. Although the EPSS score is less than 1% and the vulnerability is not listed in the CISA KEV catalog, the lack of these metrics does not reduce the risk. Attackers must be on the target WPA network and possess the correct key loaded into Ettercap to transmit a malformed CCMP frame. Since the process runs with elevated privileges, the stack overflow can result in full system compromise. The attack vector is network‑based and requires controlled access to the WPA‑protected link.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Ettercap to a version newer than 0.8.5.1 that includes the fix for the integer underflow.
  • Apply the security patch associated with commit 1d8badb7 to the affected releases, which introduces a length check before subtracting the CCMP trailer.
  • Run Ettercap with reduced privileges or in a sandboxed environment, and block unsolicited CCMP traffic from unknown stations at the network interface or firewall to limit the ability of attackers to craft frames.

Generated by OpenCVE AI on November 22, 2026 at 20:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description 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. Ettercap before 0.8.5.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.
Title Ettercap through 0.8.4.1 Stack Buffer Overflow via WPA CCMP Decryption Ettercap before 0.8.5.1 Stack Buffer Overflow via WPA CCMP Decryption
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ettercap
Ettercap ettercap
Vendors & Products Ettercap
Ettercap ettercap
Type Values Removed Values Added
Description 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.
Title Ettercap through 0.8.4.1 Stack Buffer Overflow via WPA CCMP Decryption
First Time appeared Ettercap-project
Ettercap-project ettercap
Weaknesses CWE-191
CPEs cpe:2.3:a:ettercap-project:ettercap:*:*:*:*:*:*:*:*
Vendors & Products Ettercap-project
Ettercap-project ettercap
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.7, 'vector': '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'}

Weaknesses
  • CWE-191

    Integer Underflow (Wrap or Wraparound)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 20, 2026, 12:29 PM
Reserved
Nov 9, 2026, 10:03 PM
Status
Awaiting Analysis
Published
Nov 10, 2026, 12:17 AM
Modified
Nov 20, 2026, 1:18 PM