VulnWatch by ve1ve2
high 8.7 EPSS 0.30%

CVE-2026-125400: Ettercap before 0.8.5.1 contains a use-after-free vulnerability in func_pcre() in src/ec_filter.c that reads the PCRE2 ovector after freeing match data. Networ…

Source:
NVD CVE API 2.0
Published:
Fetched:
Updated:

https://nvd.nist.gov/vuln/detail/CVE-2026-125400 ↗

CWE-416

Ettercap before 0.8.5.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. References: https://github.com/Ettercap/ettercap/blob/v0.8.4.1/src/ec_filter.c#L593-L625 https://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98 https://github.com/Ettercap/ettercap/pull/1330 https://github.com/Ettercap/ettercap/security/advisories/GHSA-f3j5-rhhr-85j5 https://www.vulncheck.com/advisories/ettercap-through-0.8.4.1-use-after-free-via-pcre2-filter-substitution

Linked vulnerabilities (2)

CVE-2026-125400 high 8.7 EPSS 0.30% (p23) NVDCVE.orgGHSA
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Ettercap before 0.8.5.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.

CWE: CWE-416Aliases: GHSA-f3j5-rhhr-85j5NVD: Awaiting Analysis