CVE-2026-129431

Ettercap through 0.8.5.1 Heap Out-of-Bounds Read via SOCKS5 Dissector

Published Nov 14, 2026 CVSS 4.0 · 7.1 High EPSS n/a KEV · Not listed
Description
Ettercap through 0.8.5.1 contains a heap out-of-bounds read vulnerability in dissector_socks() in src/dissectors/ec_socks.c that allows network-adjacent attackers to read heap memory via unchecked SOCKS5 username/password lengths. Attackers can send a crafted SOCKS5 authentication packet observed by Ettercap to read up to 255 bytes past the heap buffer, disclosing memory printed and logged as captured credentials.

Analysis

AI-generated

Technical impact

Ettercap version 0.8.5.1 includes a heap out‑of‑bounds read in the SOCKS5 dissector, triggered by unchecked username/password length fields. A network‑adjacent attacker can send a specially crafted SOCKS5 authentication packet that Ettercap processes while capturing traffic. The vulnerable code reads up to 255 bytes beyond the intended heap buffer, allowing the attacker to disclose memory contents that Ettercap may print or log as credential data, effectively leaking usernames and passwords used on the network.

Affected Systems

This flaw affects all Ettercap implementations built with versions up to and including 0.8.5.1. The product is the Ettercap packet manipulation and sniffing tool used for man‑in‑the‑middle and intrusion detection tasks. Any deployment of this software, regardless of operating system, should verify its installed version and plan to upgrade.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity with significant impact on confidentiality. Although an EPSS score is not reported, the attack demands a network‑adjacent attacker who can inject a crafted packet into the traffic that Ettercap observes. The vulnerability can be exploited without elevated privileges, meaning any host running Ettercap is potentially exposed. The flaw is not listed in the CISA KEV catalog, but the realistic scenario makes the risk non‑negligible.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Ettercap to any release newer than 0.8.5.1, which contains a fix that adds bounds checking to the SOCKS5 dissector.
  • If an upgrade cannot be performed immediately, reconfigure Ettercap to disable the SOCKS5 dissector or to drop packets that contain invalid authentication fields, thereby preventing the out‑of‑bounds read from occurring.
  • Isolate the sniffing host so that it only processes trusted or authenticated traffic; reduce the attack surface by limiting network proximity and ensuring that malicious packets cannot reach the Ettercap process.

Generated by OpenCVE AI on November 14, 2026 at 20:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Ettercap through 0.8.5.1 contains a heap out-of-bounds read vulnerability in dissector_socks() in src/dissectors/ec_socks.c that allows network-adjacent attackers to read heap memory via unchecked SOCKS5 username/password lengths. Attackers can send a crafted SOCKS5 authentication packet observed by Ettercap to read up to 255 bytes past the heap buffer, disclosing memory printed and logged as captured credentials.
Title Ettercap through 0.8.5.1 Heap Out-of-Bounds Read via SOCKS5 Dissector
First Time appeared Ettercap-project
Ettercap-project ettercap
Weaknesses CWE-125
CPEs cpe:2.3:a:ettercap-project:ettercap:*:*:*:*:*:*:*:*
Vendors & Products Ettercap-project
Ettercap-project ettercap
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 14, 2026, 12:32 PM
Reserved
Nov 14, 2026, 12:15 PM
Status
Received
Published
Nov 14, 2026, 1:17 PM
Modified
Nov 14, 2026, 1:17 PM