CVE-2026-125400
Ettercap through 0.8.4.1 contains a use-after-free vulnerability in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/Ettercap/ettercap/blob/v0.8.4.1/src/ec_filter.c#L593-L625
- github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98
- github.com/Ettercap/ettercap/pull/1330
- github.com/Ettercap/ettercap/security/advisories/GHSA-f3j5-rhhr-85j5
- www.vulncheck.com/advisories/ettercap-through-0.8.4.1-use-after-free-via-pcre2-filter-subs
- nvd.nist.gov/vuln/detail/CVE-2026-125400
- cve.org/CVERecord?id=CVE-2026-125400
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.