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.
https://github.com/Ettercap/ettercap/security/advisories/GHSA-f3j5-rhhr-85j5
https://github.com/Ettercap/ettercap/pull/1330
https://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98
https://github.com/Ettercap/ettercap/blob/v0.8.4.1/src/ec_filter.c#L593-L625
Published: 2026-11-10
Updated: 2026-11-10
Base Score: 8.3
Vector: CVSS2#AV:A/AC:L/Au:N/C:C/I:C/A:C
Severity: High
Base Score: 8.8
Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity: High
Base Score: 8.7
Vector: CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Severity: High
EPSS: 0.00247