CVE-2026-125400
High 8.7No known exploitationFix availableEttercap before 0.8.5.1 Use-After-Free via PCRE2 Filter Substitution
Record last updated
CVSS score
8.7
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
0.2%
Higher than 16% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
None
Not in the KEV catalog
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.
Weakness: CWE-416
Patching and mitigation
- Patch status
- Fix available (source: CVE record (VulnCheck))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Ettercap | ettercap | all versions before 0.8.5.1 | 0.8.5.1 | CVE Program |
Timeline
Disclosure
CVE record published by VulnCheck
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (VulnCheck)
Vendor guidance and references
- https://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98 (opens in a new tab)patch
- https://github.com/Ettercap/ettercap/pull/1330 (opens in a new tab)issue-tracking, patch
- GitHub Security Advisory (GHSA-f3j5-rhhr-85j5) (opens in a new tab)vendor-advisory
- https://github.com/Ettercap/ettercap/blob/v0.8.4.1/src/ec_filter.c (opens in a new tab)technical-description
- VulnCheck Advisory: Ettercap through 0.8.4.1 Use-After-Free via PCRE2 Filter Substitution (opens in a new tab)third-party-advisory