CVE-2026-125400
8.8 HIGHpublic exploit availablePublished 2026-11-10 · Updated 2026-11-10
AI risk analysis
- Summary
- Ettercap through 0.8.4.1 contains a use-after-free vulnerability in its PCRE2 regex substitution engine (func_pcre() in src/ec_filter.c), where match data is freed before the ovector is accessed, enabling memory corruption. Network-adjacent attackers can trigger this by sending packets that match a loaded pcre_regex() filter, potentially leading to arbitrary code execution with root privileges.
- Exploitability
- Exploitation requires network adjacency and delivery of specially crafted packets that match an active PCRE2 substitution filter; no authentication or user interaction is needed.
- Blast radius
- Successful exploitation could allow full system compromise (confidentiality, integrity, and availability) as the attacker runs code with root privileges on the Ettercap host.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to Ettercap version 0.8.5 or later, which contains the fix for CVE-2026-125400.
use-after-freerceettercappcrenetwork-adjacent
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
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.
CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-416
Public exploit & PoC references
All 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
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-100218
- CRITICALCVE-2026-100800
- CRITICALCVE-2026-100804
- CRITICALCVE-2026-100818
- HIGHCVE-2026-103843
- HIGHCVE-2026-106291
- HIGHCVE-2026-106349
- HIGHCVE-2026-108460
Related by shared AI tags and CWE weakness class. Browse the full archive.