Ettercap before 0.8.5.1 Out-of-Bounds Read via sslw_remove_sts
- State
- Published
- Severity
- 7.2 High
- Published
- Nov 9, 2026
- Updated
- Nov 20, 2026
- Reserved
- Nov 9, 2026
Description
Ettercap before 0.8.5.1 contains an out-of-bounds read and size_t underflow vulnerability in sslw_remove_sts() in src/ec_sslwrap.c, caused by a stale length and an unchecked memmem() result when stripping Strict-Transport-Security headers. A malicious HTTPS server whose response passes through Ettercap's SSL interception can trigger out-of-bounds reads and memory corruption in the Ettercap process, which normally runs as root.
| Product | Versions |
|---|---|
| ettercap Ettercap | before 0.8.5.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.2 High | VulnCheck | |
| 3.1 | 8.1 High | VulnCheck |
Weaknesses
- CWE-125 Out-of-bounds Read
References
- GitHub Security Advisory (GHSA-hq2w-pg4m-6w63)Vendor Advisory
- https://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98Patch
- https://github.com/Ettercap/ettercap/pull/1330Issue TrackerPatch
- https://github.com/Ettercap/ettercap/blob/v0.8.4.1/src/ec_sslwrap.c#L1294-L1322Technical Details
- VulnCheck Advisory: Ettercap through 0.8.4.1 Out-of-Bounds Read via sslw_remove_stsThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.