Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain network-adjacent position near running Ettercap
-
ExploitCraft SOCKS5 auth packet with oversized length bytes
-
ExecutionDissector copies past heap buffer bound
-
ImpactHeap memory disclosed in captured-credential output
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Ettercap (through 0.8.5.1) must be actively running and sniffing traffic on the local segment with its SOCKS dissector processing an observed SOCKS5 authentication packet; the attacker then supplies username/password length bytes that exceed the real field data to force the over-read. No authentication and no user interaction are required (PR:N/UI:N). Limiting factors: the attacker must be network-adjacent (AV:A) - i.e., able to place SOCKS5 auth traffic where the target Ettercap instance observes it - and a vulnerable Ettercap capture session must be live; the disclosed heap data is surfaced in the operator's credential output/logs rather than returned directly to the attacker, which constrains practical exfiltration. |
| Impact | The input CVSS 4.0 vector (AV:A/AC:L/AT:N/PR:N/UI:N/VC:H) yields 7.1 (High): no authentication, no user interaction and low complexity, but an Adjacent (AV:A) vector rather than network-wide reach. The vuln.today decision label is 'this_week' (not act_now/emergency). No EPSS score, no CISA KEV listing, and no public exploit reference are provided, so by the available signals this is 'no public exploit identified at time of analysis' - only the vulnerable source and the fix are public. Two factors temper the headline severity. First, exploitation requires an Ettercap instance to be actively running and sniffing on the attacker's local segment; Ettercap is an offensive/monitoring tool, not a passively exposed server, so the attack surface is narrow and situational. Second, the description says the leaked heap bytes are 'printed and logged as captured credentials' on the operator's console - the disclosed memory surfaces in the Ettercap operator's output rather than being returned to the attacker over the network, which limits direct attacker exfiltration and arguably makes the input's VC:H (confidentiality High) optimistic; a Low confidentiality impact is more defensible. Net: a genuine, patch-worthy High-CVSS information-disclosure bug, but real-world priority is moderate and situational rather than an emergency. Missing data to note explicitly: no EPSS, no KEV, and no numbered fixed release are supplied. |
| Exploit ScenarioDerived | An attacker positioned on the same local network segment as a running Ettercap instance crafts a SOCKS5 authentication packet whose username/password length bytes are larger than the data actually present. When Ettercap's dissector_socks() parses the observed packet, it trusts those attacker-controlled length bytes and copies up to 255 bytes past the heap buffer, exposing adjacent heap memory in the credential output/logs. No public exploit is identified, though the vulnerable code and the fixing patch are both public; the Adjacent vector and low complexity (AV:A/AC:L) make crafting such a packet straightforward for anyone already on the segment. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 14, 2026
Heap out-of-bounds read in Ettercap's SOCKS5 dissector through version 0.8.5.1 can expose adjacent heap memory in the operator's captured credential display or logs when Ettercap observes a crafted SOCKS5 authentication packet with unchecked username and password length bytes. No authentication or user interaction is required, but the attacker must be network-adjacent and able to place traffic where a live Ettercap capture session is processing it; the leaked data is surfaced to the Ettercap operator rather than returned to the attacker, which limits practical exfiltration. No public exploit was identified at time of analysis, and an upstream fix is available as GitHub PR #1340; the input CVSS 4.0 score is 7.1 (High), while the authoritative assessment rates confidentiality impact as Low because of the constrained exfiltration path.
RemediationAI
Apply the upstream fix in GitHub PR #1340 to src/dissectors/ec_socks.c and update to a release containing that change; the provided data does not list an exact fixed release version, so the patched release is not independently confirmed (upstream fix available via PR/commit). Patch reference: https://github.com/Ettercap/ettercap/pull/1340. Vendor advisory: https://www.vulncheck.com/advisories/ettercap-through-0.8.5.1-heap-out-of-bounds-read-via-socks5-dissector. No workaround is documented in the supplied references; because exploitation requires a live Ettercap capture session observing attacker-supplied SOCKS5 authentication traffic, reducing vulnerable Ettercap capture exposure on untrusted adjacent segments is the only prerequisite-based exposure reduction available, but it is not a vendor-documented substitute for the patch.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Ettercap is a network sniffing and man-in-the-middle tool whose SOCKS dissector in src/dissectors/ec_socks.c parses observed SOCKS5 authentication traffic. The SOCKS5 username/password authentication layout is ver | user_len | user | pass_len | pass, and both length bytes are attacker-controlled. The vulnerable code reads the username length, allocates and copies that many bytes, advances the pointer by that length, then reads the password length and copies again without verifying that the announced fields actually fall inside the captured packet. This is a CWE-125 out-of-bounds read: an attacker can supply length values that exceed the real field data and cause Ettercap to read up to 255 bytes past the heap buffer, with the over-read data printed and logged as captured credentials. The upstream PR #1340 diff adds end-bound checks, computes user_len and pass_len only when their length bytes are inside the packet, and only allocates/copies when ptr + user_len + pass_len + 3 <= end. The CPE cpe:2.3:a:ettercap:ettercap:*:*:*:*:*:*:*:* matches Ettercap across the wildcard version range, with the advisory narrowing affected releases to through 0.8.5.1.
Know when Ettercap gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Adjacent, unauthenticated, low-complexity over-read; bounded 255-byte heap leak surfaced only in operator output, so C:L, with no integrity or availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-129431 is a high-severity heap out-of-bounds read in Ettercap's SOCKS5 dissector (through version 0.8.5.1) that can expose adjacent memory in captured credential displays or logs when processing crafted authentication packets. Only security operations personnel running live Ettercap captures on network-adjacent segments are affected; the leaked data surfaces to the operator, not the attacker, constraining exfiltration. Leadership should care because this impacts the confidentiality of investigative data and underscores the need to update packet-analysis tooling used in sensitive network monitoring.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Heap-based buffer overflow in the dissector_postgresql function in dissectors/ec_postgresql.c in Ettercap before 0.8.1 a
The strescape function in ec_strings.c in Ettercap 0.8.2 allows remote attackers to cause a denial of service (heap-base
The compile_tree function in ef_compiler.c in the Etterfilter utility in Ettercap 0.8.2 and earlier allows remote attack
Stack buffer underwrite in the Ettercap telnet dissector, affecting Ettercap through 0.8.4.1, lets an unauthenticated at
Stack-based buffer overflow in the scan_load_hosts function in ec_scan.c in Ettercap 0.7.5.1 and earlier might allow loc
Integer underflow in Ettercap 0.8.1 allows remote attackers to cause a denial of service (out-of-bounds write) and possi
The dissector_postgresql function in dissectors/ec_postgresql.c in Ettercap before 0.8.1 allows remote attackers to caus
The radius_get_attribute function in dissectors/ec_radius.c in Ettercap 0.8.1 performs an incorrect cast, which allows r
Heap-based buffer overflow in the nbns_spoof function in plug-ins/nbns_spoof/nbns_spoof.c in Ettercap 0.8.1 allows remot
Ettercap 0.8.1 does not validate certain return values, which allows remote attackers to cause a denial of service (cras
Heap out-of-bounds read in Ettercap through 0.8.4.1 (Parse_NTLM_Auth() in src/dissectors/ec_http.c) allows a peer whose
Heap out-of-bounds read in Ettercap through 0.8.5.1 lets network-adjacent attackers leak up to 100 bytes of process memo
EUVD-2026-125909
GHSA-jm32-pvjr-4mch
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB