CVE-2026-125400Ettercap use-after-free
CVSS score
8.7
High
CVSS 4.0 from vulncheck.com
Exploit probability (EPSS)
0.30%
0.30% chance of exploitation in the next 30 days, higher than 23.3% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: disclosure@vulncheck.com
How to fix it, step by step
Check whether you're affected
Find every system running Ettercap and compare its version with the affected versions.
Update to a fixed version
- Update Ettercap to 0.8.5.1 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Adjacent
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- None
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. 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
Affected products
| Affected products | Versions |
|---|---|
| Ettercap Ettercap | < 0.8.5.1 |
Weakness
- CWE-416 use-after-free
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-125400 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-125400?
CVE-2026-125400 has a CVSS 4.0 base score of 8.7 (high).
Which versions are affected?
Ettercap Ettercap (< 0.8.5.1)
Is there a patch for CVE-2026-125400?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/Ettercap/ettercap/blob/v0.8.4.1/src/ec_filter.c#L593-L625
- github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98
- github.com/Ettercap/ettercap/pull/1330
- github.com/Ettercap/ettercap/security/advisories/GHSA-f3j5-rhhr-85j5
- www.vulncheck.com/advisories/ettercap-through-0.8.4.1-use-after-free-via-pcre2-filter-substitution
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.