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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Ettercap | ettercap | ≤ 0.8.4.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | ettercap | No fix yet | — |
| Debian 12 | ettercap | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ettercap | No fix yet | — |
| Ubuntu 26.04 LTS | ettercap | No fix yet | — |
| Ubuntu 24.04 LTS | ettercap | No fix yet | — |
| Ubuntu 22.04 LTS | ettercap | No fix yet | — |
| Ubuntu 20.04 LTS | ettercap | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | ettercap | No fix yet | — |
| Ubuntu 16.04 LTS | ettercap | No fix yet | — |
References
- GitHub Security Advisory (GHSA-v48w-7cvh-c7f4) vendor-advisory
- https://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98 patch
- https://github.com/Ettercap/ettercap/pull/1330 issue-tracking patch
- https://github.com/Ettercap/ettercap/blob/v0.8.4.1/src/ec_sslwrap.c#L589-L604 technical-description
- VulnCheck Advisory: Ettercap through 0.8.4.1 Heap Out-of-Bounds Read via TLS SNI Parsing third-party-advisory