p PatchFirst

CVE-2026-125400

CVE-2026-125400 · Ettercap before 0.8.5.1 Use-After-Free via PCRE2 Filter Substitution

CVSS 8.7 · High · EPSS 0.4% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ettercap"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • ettercap

    Versions
    • ≥ 0, < 0.8.5.1: Affected (custom)

    Update to 0.8.5.1

  • ettercap Debian 12

    Versions
    • 1:0.8.3.1-11
    • 1:0.8.3.1-12
    • 1:0.8.3.1-13
    • 1:0.8.3.1-14
    • 1:0.8.3.1-15
    • 1:0.8.3.1-16
    All versions (13)
    • 1:0.8.4-1
    • 1:0.8.4-2
    • 1:0.8.4-3
    • 1:0.8.4-4
    • 1:0.8.4-5
    • 1:0.8.4.1-1
    • 1:0.8.4.1-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ettercap Debian 13

    Versions
    • 1:0.8.3.1-14
    • 1:0.8.3.1-15
    • 1:0.8.3.1-16
    • 1:0.8.4-1
    • 1:0.8.4-2
    • 1:0.8.4-3
    All versions (10)
    • 1:0.8.4-4
    • 1:0.8.4-5
    • 1:0.8.4.1-1
    • 1:0.8.4.1-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ettercap Ubuntu 16.04 LTS

    Versions
    • 1:0.8.2-2
    • 1:0.8.2-2build1
    • 1:0.8.2-2ubuntu1.16.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ettercap Ubuntu 18.04 LTS

    Versions
    • 1:0.8.2-10build1
    • 1:0.8.2-10build2
    • 1:0.8.2-10build3
    • 1:0.8.2-10build4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ettercap Ubuntu 20.04 LTS

    Versions
    • 1:0.8.2-10build6
    • 1:0.8.3-1ubuntu1
    • 1:0.8.3-2~build1
    • 1:0.8.3-2
    • 1:0.8.3-3
    • 1:0.8.3-5
    All versions (8)
    • 1:0.8.3-6
    • 1:0.8.3-7
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ettercap Ubuntu 22.04 LTS

    Versions
    • 1:0.8.3.1-3
    • 1:0.8.3.1-4
    • 1:0.8.3.1-4build1
    • 1:0.8.3.1-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ettercap Ubuntu 24.04 LTS

    Versions
    • 1:0.8.3.1-12
    • 1:0.8.3.1-13
    • 1:0.8.3.1-13build2
    • 1:0.8.3.1-13build3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ettercap Ubuntu 26.10

    Versions
    • 1:0.8.4.1-2
    • 1:0.8.4.1-2build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ettercap Ubuntu 26.04 LTS

    Versions
    • 1:0.8.3.1-15
    • 1:0.8.3.1-15build1
    • 1:0.8.3.1-16
    • 1:0.8.4-2
    • 1:0.8.4-4
    • 1:0.8.4-5
    All versions (8)
    • 1:0.8.4.1-1
    • 1:0.8.4.1-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →