{"id":"CVE-2026-125403","summary":"Ettercap before 0.8.5.1 Out-of-Bounds Read via sslw_remove_sts","details":"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.","aliases":["GHSA-hq2w-pg4m-6w63"],"modified":"2026-11-21T20:45:43.664199092Z","published":"2026-11-09T23:28:04.934Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125403.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125403.json"},{"type":"ADVISORY","url":"https://github.com/Ettercap/ettercap/security/advisories/GHSA-hq2w-pg4m-6w63"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125403"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/ettercap-through-0.8.4.1-out-of-bounds-read-via-sslw-remove-sts"},{"type":"FIX","url":"https://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98"},{"type":"FIX","url":"https://github.com/Ettercap/ettercap/pull/1330"},{"type":"PACKAGE","url":"https://github.com/Ettercap/ettercap"},{"type":"ARTICLE","url":"https://github.com/Ettercap/ettercap/blob/v0.8.4.1/src/ec_sslwrap.c#L1294-L1322"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ettercap/ettercap","events":[{"introduced":"0"},{"fixed":"832524f3c4c215f1007fe9f190dbf052ee965b55"},{"fixed":"1d8badb713579419a29a494bb463a1af59707e98"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"0.8.5.1"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"1d8badb713579419a29a494bb463a1af59707e98"}]}]}}],"versions":["v0.8.4.1","v0.8.4","v0.8.3.1","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.6","v0.7.5.3","v0.7.5.2","v0.7.5.1","v0.7.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125403.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}