Read the docs

Use-after-free in Ettercap PCRE2 filter substitution

Priority LOW 39CWE-416Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00247 16th percentileScored 2026-11-16
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
Ettercapettercapup to 0.8.4.1—No fix listedCNA
  • ettercap VendorEttercap Affected up to 0.8.4.1 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for Ettercap.

Written with Claude Haiku 5.5 from the sources below · 2026-11-10

Timeline

  1. 2026-11-09 Threatist record created from CVE-2026-125400
  2. 2026-11-10 Alias added: GHSA-hf6q-wchc-457m
  3. 2026-11-10 CISA SSVC decision points changed
  4. 2026-11-10 Priority changed: MEDIUM → LOW

References

  • 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
See all 11 →

Sources