Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain network-adjacent position in active SSL-MITM path
-
DeliverySend crafted TLS ClientHello with oversized SNI length field
-
ExploitTrigger unchecked strndup over-read in sslw_get_clienthello_sni()
-
ExecutionLeak up to 64 KB heap to attacker-controlled upstream server
-
ImpactOr crash Ettercap on unmapped page read
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three concrete preconditions stated in the advisory: (1) Ettercap must be actively running SSL interception (SSL MITM mode) so sslw_clienthello_cb() is invoked; (2) the binary must be compiled with HAVE_OPENSSL_1_1_1, since the flaw lives in the OpenSSL-1.1.1 client_hello_cb path that fires before OpenSSL validates extension contents; and (3) the attacker must be network-adjacent, sitting in the intercepted traffic path, to deliver a TLS ClientHello with an SNI extension whose 16-bit val_len exceeds the extension's true length. Limiting factors: this is an operator-side condition set (the target is itself performing a MITM attack), it is not remotely reachable across routed networks (AV:A), and the amount of heap actually disclosed is bounded by the first NUL byte encountered, so leakage is variable and may abort as a crash rather than a clean read. |
| Impact | Signals point to a real but conditionally-scoped issue rather than a mass-exploitation emergency. The CVSS 4.0 vector (AV:A/AC:L/AT:N/PR:N/UI:N) marks it network-adjacent and unauthenticated with low complexity, and the impact metrics (VC:H, VA:H) capture both heap disclosure and crash. The vuln.today priority is 'this_week' - elevated but not act_now/emergency. It is NOT in CISA KEV and no EPSS score was provided, so there is no evidence of active or widespread exploitation. The dominant limiting factor is that the flaw only triggers while Ettercap is actively performing SSL interception AND the build has HAVE_OPENSSL_1_1_1 - i.e., the 'victim' is an operator who is themselves running a MITM attack, which sharply narrows the real-world target population. One cross-source caveat: the commit diff supplied in the intelligence (1d8badb) modifies src/dissectors/ec_gg.c under a different advisory ID (GHSA-vrjv-f8gv-2h35), not the src/ec_sslwrap.c SNI code described here (GHSA-v48w-7cvh-c7f4) - the actual SNI fix is only a proposed snippet in PR #1330, so no released fix exists to verify against. |
| Exploit ScenarioDerived | While a security operator runs Ettercap in SSL MITM mode, an attacker positioned in the intercepted traffic path sends a crafted TLS ClientHello whose SNI extension declares a 16-bit length (e.g. val_len=0xFFFF) far larger than the real extension. Ettercap's sslw_get_clienthello_sni() passes this unchecked length to strndup(), reading up to 64 KB of adjacent heap past the buffer; that leaked memory becomes the hostname forwarded to the attacker-chosen upstream server, or the read runs off an unmapped page and crashes Ettercap. No public exploit is identified, but the maintainers confirmed the out-of-bounds read with AddressSanitizer-instrumented builds. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 10, 2026
Heap out-of-bounds read in Ettercap through 0.8.4.1 can leak adjacent heap memory to an attacker-controlled TLS endpoint or crash the process when SSL interception is active. The flaw is in sslw_get_clienthello_sni(): a crafted ClientHello carries a 16-bit SNI length that is passed to strndup() without being bounded by the actual extension length, and the copied bytes become the upstream hostname. Builds compiled with HAVE_OPENSSL_1_1_1 and running SSL MITM are affected; no public exploit identified at time of analysis.
RemediationAI
No vendor-released patched version was identified in the supplied data; the GHSA says the fix is proposed in PR #1330 (branch security/dream-2026-hardening) and shows a validation change requiring val_len <= len - 5 before strndup(). Until that fix is released and packaged, avoid running Ettercap SSL interception (SSL MITM) where untrusted adjacent hosts can deliver ClientHello traffic; this removes the vulnerable callback path but also disables the SSL interception capability. Builds that do not need OpenSSL 1.1.1-specific TLS handling should consider omitting HAVE_OPENSSL_1_1_1, which removes the affected code path at the cost of that TLS handling. Track the GHSA advisory and PR #1330 for the upstream fix and any released version; applying the proposed validation from the PR, if building from source, addresses the missing length check.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The issue is CWE-125, an out-of-bounds read in Ettercap's SSL wrapper. In src/ec_sslwrap.c, sslw_get_clienthello_sni() calls SSL_client_hello_get0_ext() for the server_name extension from the OpenSSL 1.1.1 client_hello_cb path; that callback fires before OpenSSL parses or validates extension contents, so the raw extension buffer is attacker-controlled. The code reads sni[2] as the name type and combines sni[3] and sni[4] into a 16-bit val_len, then calls strndup(sni + 5, val_len). It never compares val_len with len - 5, so a short ClientHello extension can make strndup walk up to 65,535 bytes past the extension, stopping at the first NUL byte or causing an out-of-bounds read that crashes. The resulting ae->hostname is passed to SSL_set_tlsext_host_name() for the upstream connection, so leaked heap contents can be sent to the attacker-chosen server. The advisory also describes an adjacent memory leak when sslw_clienthello_cb() runs twice and overwrites the first hostname allocation, but states that the reported double-free could not be confirmed. The affected path requires HAVE_OPENSSL_1_1_1 and active SSL interception.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-adjacent attacker in the SSL-MITM path sends a crafted ClientHello with no privileges or interaction (AV:A/AC:L/PR:N/UI:N); up-to-64KB heap disclosure gives C:H, the off-page read crash gives A:H, no integrity impact (I:N).
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
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.
Technical POC Analysis
CWE-125 (out-of-bounds read), heap.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-125402 is a high-severity heap out-of-bounds read in Ettercap, a network security tool used for SSL interception. When Ettercap is actively intercepting TLS traffic, a crafted ClientHello from an attacker-controlled endpoint can leak adjacent heap memory or crash the process. This impacts confidentiality and availability of the interception service, potentially exposing sensitive data from memory or disrupting security monitoring workflows.
Restrict SSL interception to trusted endpoints, implement input validation on TLS ClientHello for SNI length, deploy memory-safe runtime protections, and monitor for anomalous crashes or memory leaks.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-120565
GHSA-7xp2-vr9x-v8pj
NVD
CVE.org
EPSS
VulDB
Exploit-DB