CVE-2026-125400 | BDVDB-2026-402644 Detail
Ettercapettercap
Description#
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.
Impact#
Per CVSS v3.1: confidentiality impact high, integrity impact high, availability impact high. Attack vector: adjacent.
Weaknesses#
- CWE-416 Use After Free
References#
- https://github.com/Ettercap/ettercap/security/advisories/GHSA-f3j5-rhhr-85j5
- https://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98
- https://github.com/Ettercap/ettercap/pull/1330
- https://github.com/Ettercap/ettercap/blob/v0.8.4.1/src/ec_filter.c#L593-L625
- https://www.vulncheck.com/advisories/ettercap-through-0.8.4.1-use-after-free-via-pcre2-filter-substitution
Exploit#
No public exploit known
History#
- Version 1Record published in the CVE List.
- Version 2Most recent update recorded in the CVE List.