Technical impact
Ettercap versions prior to 0.8.5.1 contain a use‑after‑free flaw in the func_pcre() routine of src/ec_filter.c. After freeing match data, the routine still reads the freed PCRE2 ovector. A network‑adjacent attacker can send a packet that matches a loaded pcre_regex() substitution filter, causing memory corruption and potentially enabling execution of code with root privileges.
Affected Systems
The Ettercap network monitoring tool, all releases before 0.8.5.1, is vulnerable. Users running 0.8.4.1, 0.8.4.2, or any earlier version should verify their exact version and plan an upgrade.
Risk and Exploitability
The CVSS base score of 8.7 classifies this as a high‑severity vulnerability. The EPSS score of < 1% indicates a very low probability of exploitation at the time of analysis. The vulnerability is not listed in the CISA KEV catalog. Attackers adjacent on the network can send crafted packets that trigger the use‑after‑free, and if memory corruption is achieved, arbitrary code execution as root becomes possible.