# CVE-2026-125403: Ettercap before 0.8.5.1 Out-of-Bounds Read via sslw_remove_sts

- Severity: High 7.2 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-11-09T23:28:04.934Z
- Modified: 2026-11-20T13:18:35.933Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- Ettercap ettercap: before 0.8.5.1

## Every score

- VulnCheck: CVSS:4.0 7.2 High `CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/Ettercap/ettercap/security/advisories/GHSA-hq2w-pg4m-6w63> (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#L1294-L1322> (technical-description)
- <https://www.vulncheck.com/advisories/ettercap-through-0.8.4.1-out-of-bounds-read-via-sslw-remove-sts> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-125403](https://www.cve.org/CVERecord?id=CVE-2026-125403), CVE Terms of Use, modified 2026-11-20
- NVD: [CVE-2026-125403](https://nvd.nist.gov/vuln/detail/CVE-2026-125403), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-125403 · Whole record: https://cve.day/CVE-2026-125403.json · Rebuilt by cve.day 2026-11-25T22:59:49.702Z
