#1153591 ettercap: CVE-2026-125400 CVE-2026-125401 CVE-2026-125402 CVE-2026-125403 CVE-2026-125404 CVE-2026-125405 CVE-2026-125406

Package:
src:ettercap
Source:
src:ettercap
Submitter:
Salvatore Bonaccorso
Date:
2026-11-10 08:43:02 UTC
Severity:
normal
Tags:
#1153591#5
Date:
2026-11-10 08:40:42 UTC
From:
To:
Hi,

The following vulnerabilities were published for ettercap.

CVE-2026-125400[0]:
| 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.


CVE-2026-125401[1]:
| Ettercap through 0.8.4.1 contains a heap buffer overflow
| vulnerability in gg_get_version() in src/dissectors/ec_gg.c that
| writes up to 44 bytes into a 30-byte allocation. Remote attackers
| can send Gadu-Gadu traffic on TCP port 8074 with a crafted version
| field through a monitored network to corrupt heap memory in the
| Ettercap process, which normally runs as root.


CVE-2026-125402[2]:
| Ettercap through 0.8.4.1 contains a heap out-of-bounds read
| vulnerability in sslw_get_clienthello_sni() in src/ec_sslwrap.c that
| trusts the unchecked 16-bit SNI length field. Network-adjacent
| attackers can send crafted TLS ClientHello messages during SSL
| interception to leak up to 64 KB of heap memory upstream or crash
| Ettercap.


CVE-2026-125403[3]:
| Ettercap through 0.8.4.1 contains an out-of-bounds read and size_t
| underflow vulnerability in sslw_remove_sts() in src/ec_sslwrap.c,
| caused by a stale length and an unchecked memmem() result when
| stripping Strict-Transport-Security headers. A malicious HTTPS
| server whose response passes through Ettercap's SSL interception can
| trigger out-of-bounds reads and memory corruption in the Ettercap
| process, which normally runs as root.


CVE-2026-125404[4]:
| Ettercap through 0.8.4.1 contains an integer underflow in
| ccmp_decrypt() in src/ec_encryption_ccmp.c that subtracts the 8-byte
| CCMP trailer without checking minimum length. Attackers on a network
| whose WPA key is loaded can send a short crafted CCMP frame to
| overflow a stack buffer in the Ettercap process, which normally runs
| as root.


CVE-2026-125405[5]:
| Ettercap through 0.8.4.1 contains an out-of-bounds read
| vulnerability in Parse_NTLM_Auth() in src/dissectors/ec_http.c due
| to unvalidated NTLM message offsets. Attackers can send a crafted
| HTTP Authorization header observed by Ettercap to read beyond the
| buffer, disclosing memory or crashing the process.


CVE-2026-125406[6]:
| Ettercap through 0.8.4.1 contains a stack buffer underwrite
| vulnerability in the telnet dissector in src/dissectors/ec_telnet.c
| that decrements the output pointer on backspace without a lower
| bound check. Attackers can send a telnet stream with more backspaces
| than preceding characters to write below the stack buffer,
| corrupting the stack of the Ettercap process that normally runs as
| root.


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-125400
https://www.cve.org/CVERecord?id=CVE-2026-125400
[1] https://security-tracker.debian.org/tracker/CVE-2026-125401
https://www.cve.org/CVERecord?id=CVE-2026-125401
[2] https://security-tracker.debian.org/tracker/CVE-2026-125402
https://www.cve.org/CVERecord?id=CVE-2026-125402
[3] https://security-tracker.debian.org/tracker/CVE-2026-125403
https://www.cve.org/CVERecord?id=CVE-2026-125403
[4] https://security-tracker.debian.org/tracker/CVE-2026-125404
https://www.cve.org/CVERecord?id=CVE-2026-125404
[5] https://security-tracker.debian.org/tracker/CVE-2026-125405
https://www.cve.org/CVERecord?id=CVE-2026-125405
[6] https://security-tracker.debian.org/tracker/CVE-2026-125406
https://www.cve.org/CVERecord?id=CVE-2026-125406
[7] https://github.com/Ettercap/ettercap/commit/a8c1a5085791b38c234be0e4129302fdc36964e0

Regards,
Salvatore