Ettercap before 0.8.5.1 Use-After-Free via PCRE2 Filter Substitution

State
Published
Severity
8.7 High
Published
Nov 9, 2026
Updated
Nov 20, 2026
Reserved
Nov 9, 2026

Read the record on cve.org

Description

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.

ProductVersions
ettercap Ettercapbefore 0.8.5.1 Affected

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.