CVE-2026-125400
published high CVSS 4.0 · 8.7Ettercap before 0.8.5.1 Use-After-Free via PCRE2 Filter Substitution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ettercap | — | ettercap0 to < 0.8.5.1 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Ettercap | ettercap | 0 to < 0.8.5.1 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-416 Use After Free
References
5- 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
- GitHub Security Advisory (GHSA-f3j5-rhhr-85j5) https://github.com/Ettercap/ettercap/security/advisories/GHSA-f3j5-rhhr-85j5
- VulnCheck Advisory: Ettercap through 0.8.4.1 Use-After-Free via PCRE2 Filter Substitution https://www.vulncheck.com/advisories/ettercap-through-0.8.4.1-use-after-free-via-pcre2-filter-substitution
Provider assertions
2VulnCheck · cna
Ettercap before 0.8.5.1 Use-After-Free via PCRE2 Filter Substitution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fd705e4e96a91e42fcee3bd1e35315f66ff08562a038970b4435c39b32d757e4
- Ingested
- 20 Nov 2026, 12:35:13 UTC
- Source record
- Official CVE record