CVE-2026-125400: Ettercap through 0.8.4.1 Use-After-Free via PCRE2 Filter Substitution

Published Nov 9, 2026
·
Updated

Ettercap through 0.8.4.1 contains a use-after-free vulnerability in funcpcre() in src/ecfilter.c that reads the PCRE2 ovector after freeing match data. Network-adjacent attackers can send packets matching a loaded pcreregex() substitution filter to corrupt memory and potentially execute code as root.

Affected Software

1 affected component
Ettercap Ettercap<=0.8.4.1

Event History

Nov 9, 2026
CVE Published
via MITRE·11:28 PM
Data Sourced
via MITRE·11:28 PM
DescriptionSeverityWeakness
Nov 10, 2026
Data Sourced
via NVD·12:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What configuration is required for exploitation?

A PCRE2 substitution filter using pcre_regex() must be loaded. The vulnerable code path is reached by packets that match that filter.

2

Who can exploit this issue?

A network-adjacent attacker can trigger the flaw without privileges or user interaction by sending matching packets. Successful exploitation may corrupt memory and could lead to code execution as root.

3

How can I determine whether an instance is affected?

Instances running Ettercap through 0.8.4.1 are affected if they have a loaded pcre_regex() substitution filter. Review active filter configurations for PCRE2 substitution rules and compare the installed version to the affected range.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203