Description
Ettercap through 0.8.4.1 contains an out-of-bounds read and size_t underflow vulnerability in sslw_remove_sts() in src/ec_sslwrap.c, caused by a stale length and an unchecked memmem() result when stripping Strict-Transport-Security headers. A malicious HTTPS server whose response passes through Ettercap's SSL interception can trigger out-of-bounds reads and memory corruption in the Ettercap process, which normally runs as root.
Published: 2026-11-09
Score: 7.2 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Patch Immediately
AI Analysis

Impact

Ettercap through version 0.8.4.1 contains an out‑of‑bounds read and size_t underflow flaw in the function that strips Strict‑Transport‑Security headers. The bug arises from a stale length value and an unchecked result of a memmem() call, allowing malicious data to corrupt memory. Because Ettercap typically runs with privileged rights, a successful exploitation could lead to arbitrary code execution on the host system.

Affected Systems

The vulnerability affects Ettercap from the Ettercap project, specifically all releases up through 0.8.4.1. Users deploying any of these versions on systems where Ettercap operates as root are at risk.

Risk and Exploitability

The CVSS score of 7.2 indicates a high severity, and the EPSS score is not available, so the current public exploitation probability is unknown. The flaw is not listed in CISA’s KEV catalog. An attacker would need to control an HTTPS server whose traffic is captured by an Ettercap instance performing SSL interception. The vulnerability can be driven by a network‑based attack where the server sends crafted responses that trigger the out‑of‑bounds read, potentially leading to memory corruption and privilege escalation because Ettercap runs as root.

Generated by OpenCVE AI on November 10, 2026 at 00:36 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Ettercap release that contains the patch for sslw_remove_sts
  • If immediate upgrade is not possible, disable SSL interception in Ettercap settings to prevent the flawed header stripping from occurring
  • Verify that input validation is enforced when parsing SSL headers to mitigate the underlying size_t underflow issue (CWE‑125)

Generated by OpenCVE AI on November 10, 2026 at 00:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 09 Nov 2026 23:45:00 +0000

Type Values Removed Values Added
Description Ettercap through 0.8.4.1 contains an out-of-bounds read and size_t underflow vulnerability in sslw_remove_sts() in src/ec_sslwrap.c, caused by a stale length and an unchecked memmem() result when stripping Strict-Transport-Security headers. A malicious HTTPS server whose response passes through Ettercap's SSL interception can trigger out-of-bounds reads and memory corruption in the Ettercap process, which normally runs as root.
Title Ettercap through 0.8.4.1 Out-of-Bounds Read via sslw_remove_sts
First Time appeared Ettercap-project
Ettercap-project ettercap
Weaknesses CWE-125
CPEs cpe:2.3:a:ettercap-project:ettercap:*:*:*:*:*:*:*:*
Vendors & Products Ettercap-project
Ettercap-project ettercap
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

Ettercap-project Ettercap
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-09T23:28:04.934Z

Reserved: 2026-11-09T22:03:16.233Z

Link: CVE-2026-125403

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-10T00:17:14.860

Modified: 2026-11-10T00:17:14.860

Link: CVE-2026-125403

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-10T01:30:17Z

Weaknesses