Read the docs

Ettercap Heap Out-of-Bounds Read in SOCKS5 Dissector

Priority LOW 31CWE-125Published · Updated

Key facts

Attack vector
Adjacent network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-125 and the CVSS impact.

Summary

Ettercap through 0.8.5.1 contains a heap out-of-bounds read in dissector_socks() that trusts unchecked SOCKS5 username and password lengths (CWE-125). A network-adjacent attacker can send a crafted SOCKS5 authentication packet observed by Ettercap, causing it to read up to 255 bytes past the heap buffer. The disclosed memory is printed and logged as captured credentials.

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

Description from the CNA

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.

Why it matters now

EPSS 0.00234 14th percentileScored 2026-11-16
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
Ettercapettercapup to 0.8.5.1—No fix listedCNA
  • ettercap VendorEttercap Affected up to 0.8.5.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-14

Timeline

  1. 2026-11-14 Threatist record created from CVE-2026-129431
  2. 2026-11-14 Alias added: GHSA-jm32-pvjr-4mch

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-87465 Use-after-free in Ettercap PCRE2 filter substitution CVSS 4.0HIGH 8.7
  • TI-2026-87469 Stack buffer overflow in Ettercap WPA CCMP decryption CVSS 4.0HIGH 7.7
See all 11 →

Sources