{"id":"CVE-2026-125400","aliases":["GHSA-f3j5-rhhr-85j5"],"url":"https://o3.security/vulnerability/CVE-2026-125400","summary":"Ettercap through 0.8.4.1 Use-After-Free via PCRE2 Filter Substitution","details":"Ettercap through 0.8.4.1 contains a use-after-free vulnerability in func_pcre() in src/ec_filter.c that reads the PCRE2 ovector after freeing match data. Network-adjacent attackers can send packets matching a loaded pcre_regex() substitution filter to corrupt memory and potentially execute code as root.","published":"2026-11-09T23:28:02.839Z","modified":"2026-11-11T02:47:43.756133382Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":{"url":"https://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98","label":"Ettercap/ettercap@1d8badb"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125400.json"},{"type":"ADVISORY","url":"https://github.com/Ettercap/ettercap/security/advisories/GHSA-f3j5-rhhr-85j5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125400"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/ettercap-through-0.8.4.1-use-after-free-via-pcre2-filter-substitution"},{"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_filter.c#L593-L625"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-11-11T02:47:43.756133382Z"}}