Use-after-free in Ettercap PCRE2 filter substitution
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-416 and the CVSS impact.
Summary
Ettercap through 0.8.4.1 contains a use-after-free flaw in func_pcre() in src/ec_filter.c, which reads the PCRE2 ovector after freeing match data (CWE-416). A network-adjacent attacker can send packets that match a loaded pcre_regex() substitution filter to corrupt memory and potentially execute code as root.
Written with Claude Haiku 5.5 from the sources below · 2026-11-10
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for Ettercap.
Written with Claude Haiku 5.5 from the sources below · 2026-11-10
Timeline
- 2026-11-09 Threatist record created from CVE-2026-125400
- 2026-11-10 Alias added: GHSA-hf6q-wchc-457m
- 2026-11-10 CISA SSVC decision points changed
- 2026-11-10 Priority changed: MEDIUM → LOW
References
More Ettercap vulnerabilities
- TI-2010-03651 Buffer overflow in ettercap CVSS 3.1HIGH 8.8
- TI-2005-01703 Format string vulnerability in the curses_msg function in the Ncurses interface… CVSS 2.0HIGH 7.5
- TI-2002-00265 Buffer overflow in various decoders in Ettercap 0.6.3.1 and earlier, when running on… CVSS 2.0HIGH 7.5
- TI-2026-87471 Stack buffer underwrite in Ettercap telnet dissector via backspace handling CVSS 4.0HIGH 8.7
- TI-2026-87469 Stack buffer overflow in Ettercap WPA CCMP decryption CVSS 4.0HIGH 7.7
- TI-2026-87466 Heap buffer overflow in Ettercap Gadu-Gadu dissector CVSS 4.0HIGH 7.2
Sources
- CVE-2026-125400 · CVE Program
- CVE-2026-125400 · NVD
- FIRST EPSS
- GHSA-hf6q-wchc-457m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences