ETTERCAP · CVE-2026-125400 · Package
NO FIX YET · SEE WHAT TO DO
Ettercap through 0.8.4.1 reads freed PCRE2 match data in its filter code (func_pcre in src/ec_filter.c) when a loaded pcre_regex() substitution filter matches packets. A network-adjacent attacker can send matching packets to corrupt memory and potentially execute code as root.
first public Nov 6, 2026 · 2 sources
Could this affect your app?
Free first check from your website. Connect your repo for the full answer.
Anyone running Ettercap 0.8.4.1 or earlier (built with PCRE2) with a loaded pcre_regex() substitution filter and not in unoffensive mode. An attacker on the same network segment who sends a packet matching the pattern can corrupt heap memory in a process that usually runs as root. Skip it if you do not use filters, only use pcre_regex() without replacement, use unoffensive mode, or have a pcre1 build.
Not affected if no-ettercap-installed, no-filters, no-pcre-regex-filter, not-on-attacker-network, pcre1-build, unoffensive-mode
Who cares ettercap, linux, network-security, pcre2, root
ettercap --version; 0.8.4.1 and earlier are affected, and no release has the fix yet.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.
This page as .md · .json · 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
Check it with your coding agent
It reads this page and tells you if your code is affected.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.