CVE-2026-125402

Ettercap before 0.8.5.1 Heap Out-of-Bounds Read via TLS SNI Parsing

Published Nov 9, 2026 CVSS 4.0 · 7.2 High EPSS < 1% KEV · Not listed
Description
Ettercap before 0.8.5.1 contains a heap out-of-bounds read vulnerability in sslw_get_clienthello_sni() in src/ec_sslwrap.c that trusts the unchecked 16-bit SNI length field. Network-adjacent attackers can send crafted TLS ClientHello messages during SSL interception to leak up to 64 KB of heap memory upstream or crash Ettercap.

Analysis

AI-generated

Technical impact

Ettercap before 0.8.5.1 contains a heap out‑of‑bounds read vulnerability in sslw_get_clienthello_sni() that trusts an unchecked 16‑bit TLS Server Name Indication (SNI) length field. The flaw allows an attacker to craft a TLS ClientHello message that causes Ettercap to read beyond the bounds of its buffer. This can expose up to 64 KB of arbitrary heap data upstream or trigger a crash, resulting in information disclosure or denial of service. The weakness is classified as CWE‑125, reflecting an improper bound check on an array.

Affected Systems

Ettercap, an open‑source network monitoring and packet‑sniffing tool, is affected. The flaw exists in all releases up to and including 0.8.4.1. No operating‑system or platform dependency is mentioned, meaning any deployment that runs a vulnerable version of Ettercap and performs TLS interception is potentially impacted.

Risk and Exploitability

The CVSS score of 7.2 indicates a high severity level. The EPSS score of <1% suggests a low probability of exploitation at any given time, but the vulnerability is still exploitable by a network‑adjacent attacker who can send crafted TLS ClientHello messages to the Ettercap instance. No authentication or privilege escalation is required, so an attacker on the same network segment could trigger the read or crash. The vulnerability is not listed in the CISA KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • When a vendor release that addresses the SNI length validation bug becomes available, upgrade Ettercap to that version as quickly as possible.
  • If an update cannot be applied immediately, disable TLS interception features or limit Ettercap's exposure to trusted hosts only.
  • Deploy network monitoring or intrusion detection signatures to detect anomalous TLS ClientHello packets that might be used to exploit this flaw.

Generated by OpenCVE AI on November 22, 2026 at 20:17 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 a heap out-of-bounds read vulnerability in sslw_get_clienthello_sni() in src/ec_sslwrap.c that trusts the unchecked 16-bit SNI length field. Network-adjacent attackers can send crafted TLS ClientHello messages during SSL interception to leak up to 64 KB of heap memory upstream or crash Ettercap. Ettercap before 0.8.5.1 contains a heap out-of-bounds read vulnerability in sslw_get_clienthello_sni() in src/ec_sslwrap.c that trusts the unchecked 16-bit SNI length field. Network-adjacent attackers can send crafted TLS ClientHello messages during SSL interception to leak up to 64 KB of heap memory upstream or crash Ettercap.
Title Ettercap through 0.8.4.1 Heap Out-of-Bounds Read via TLS SNI Parsing Ettercap before 0.8.5.1 Heap Out-of-Bounds Read via TLS SNI Parsing
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 a heap out-of-bounds read vulnerability in sslw_get_clienthello_sni() in src/ec_sslwrap.c that trusts the unchecked 16-bit SNI length field. Network-adjacent attackers can send crafted TLS ClientHello messages during SSL interception to leak up to 64 KB of heap memory upstream or crash Ettercap.
Title Ettercap through 0.8.4.1 Heap Out-of-Bounds Read via TLS SNI Parsing
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:H/I:N/A:H'}

cvssV4_0

{'score': 7.2, 'vector': 'CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/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