CVE-2026-125402
Received Received - Intake

Heap Out-of-Bounds Read in Ettercap SSL Interception

Vulnerability report for CVE-2026-125402, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-10

Last updated on: 2026-11-10

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-10
Last Modified
2026-11-10
Generated
2026-11-10
AI Q&A
2026-11-10
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
Ettercap ettercap From 0 (inc) to 0.8.4.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-125402 is a heap out-of-bounds read flaw in Ettercap versions 0.8.4.1 and earlier. It occurs in the TLS Server Name Indication (SNI) extension parsing function sslw_get_clienthello_sni() during SSL Man-in-the-Middle attacks. The function reads a 16-bit length value from the SNI extension without validating it against the actual extension length, allowing attackers to control how many bytes are read beyond the buffer. This can leak up to 64 KB of heap memory or crash Ettercap.

The vulnerability requires SSL MITM to be active and the build to have HAVE_OPENSSL_1_1_1. The issue arises because the attacker-controlled length value is not checked against the true extension length before copying.

Detection Guidance

To detect this vulnerability, monitor Ettercap logs for crashes or unusual memory access errors during SSL/TLS interception. Check for heap memory leaks or crashes when processing TLS ClientHello messages with crafted SNI extensions. Use network traffic analysis tools like Wireshark to inspect TLS handshakes for malformed SNI fields.

Impact Analysis

Network-adjacent attackers can exploit this to leak sensitive heap memory or crash Ettercap during SSL interception. This may expose confidential data processed by Ettercap or disrupt its operation. The impact depends on Ettercap's usage in your environment, such as SSL interception for monitoring or testing.

Compliance Impact

This vulnerability could lead to unauthorized disclosure of sensitive data during SSL/TLS interception, potentially violating GDPR's data protection requirements and HIPAA's confidentiality rules if exploited in healthcare environments.

Mitigation Strategies

Immediately upgrade Ettercap to a patched version (later than 0.8.4.1). Disable SSL/TLS interception if not required. Apply input validation patches for SNI length fields in TLS parsing. Monitor network traffic for suspicious TLS ClientHello messages with abnormal SNI lengths.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-125402. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...