CVE-2026-125403

Ettercap before 0.8.5.1 Out-of-Bounds Read via sslw_remove_sts

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

Analysis

AI-generated

Technical impact

Ettercap before version 0.8.5.1 contains an out‑of‑bounds read and size_t underflow flaw in the sslw_remove_sts() function, caused by a stale length value and an unchecked memmem() result when stripping Strict‑Transport‑Security headers. A malicious HTTPS server whose response flows through Ettercap’s SSL interception can trigger out‑of‑bounds reads and memory corruption in the Ettercap process, which normally runs as root. The resulting memory corruption could enable an attacker to execute arbitrary code on the host system.

Affected Systems

The vulnerability affects the Ettercap project’s Ettercap software, specifically all releases through 0.8.4.1 (including 0.8.4.1). Systems that run these versions as root are at risk when performing SSL interception of HTTPS traffic.

Risk and Exploitability

The CVSS score of 7.2 indicates high severity, and the EPSS score of 0.286% reflects a very low but non‑zero exploitation probability. The flaw is not listed in CISA’s KEV catalog. An attacker would typically control a HTTPS server whose traffic is captured by an Ettercap instance performing SSL interception. By sending crafted responses that trigger the out‑of‑bounds read, the attacker can corrupt memory and potentially take full control of the privileged Ettercap process.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Ettercap to version 0.8.5.1 or later, which contains the patch for sslw_remove_sts()
  • If an upgrade is not feasible, disable SSL interception or Strict‑Transport‑Security header stripping in Ettercap’s configuration to prevent the vulnerability from being exercised
  • Review and enforce strict input validation for SSL header parsing to mitigate size_t underflow issues related to CWE‑125

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 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. Ettercap before 0.8.5.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 Ettercap before 0.8.5.1 Out-of-Bounds Read via sslw_remove_sts
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses

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