---
title: "CVE-2026-125400: Ettercap - Use After Free"
description: "Ettercap <= 0.8.4.1 contains a use-after-free vulnerability caused by reading PCRE2 ovector after freeing match data in func_pcre() in src/ec_filter.c, letting network-adjacent attackers execute code as root, exploit requires crafted packets matching substitution filter."
url: https://panop.io/threat-heartbeat/CVE-2026-125400/
---

# CVE-2026-125400 Ettercap - Use After Free

Ettercap <= 0.8.4.1 contains a use-after-free vulnerability caused by reading PCRE2 ovector after freeing match data in func\_pcre() in src/ec\_filter.c, letting network-adjacent attackers execute code as root, exploit requires crafted packets matching substitution filter.

CVSS base score 8.8 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

EPSS

0.25% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-125400)

## Details

Type

Use After Free

Impact

Remote Code Execution, Privilege Escalation

CVSS vector

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Published

10 November 2026

Updated

11 November 2026

Weakness

[CWE-416](https://cwe.mitre.org/data/definitions/416.html)

## Vendor fix

Update to the latest version beyond 0.8.4.1.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-125400](https://nvd.nist.gov/vuln/detail/CVE-2026-125400)
- [https://www.vulncheck.com/advisories/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)
- [https://github.com/Ettercap/ettercap/blob/v0.8.4.1/src/ec\_filter.c#L593-L625](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/commit/1d8badb713579419a29a494bb463a1af59707e98)
- [https://github.com/Ettercap/ettercap/pull/1330](https://github.com/Ettercap/ettercap/pull/1330)
- [https://github.com/Ettercap/ettercap/security/advisories/GHSA-f3j5-rhhr-85j5](https://github.com/Ettercap/ettercap/security/advisories/GHSA-f3j5-rhhr-85j5)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
