Use-After-Free Vulnerability in Ettercap by Italian Cybersecurity Vendor
CVE-2026-125400
8.7HIGH
What is CVE-2026-125400?
Ettercap versions up to 0.8.4.1 are susceptible to a use-after-free vulnerability located in the func_pcre() function of src/ec_filter.c. This vulnerability arises when match data is freed but accessed thereafter through the PCRE2 ovector, which could lead to memory corruption. Attackers positioned on the same network can exploit this flaw by sending specially crafted packets that interact with a loaded pcre_regex() substitution filter. Successful exploitation can result in the execution of arbitrary code with root privileges.
Affected Version(s)
ettercap 0 <= 0.8.4.1
References
CVSS V4
Score:
8.7
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Adjacent Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Adiel Sol, Arad Inbar, Erez Cohen, Nir Somech, Ben Grinberg, Daniel Lubel, Shir Sadon (DREAM Security Research Team)
Emilio Escobar
