Ettercap before 0.8.5.2 Heap Out-of-Bounds Read via VNC Dissector
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 17, 2026
- Updated
- Nov 21, 2026
- Reserved
- Nov 17, 2026
Description
Ettercap before 0.8.5.2 contains a heap out-of-bounds read vulnerability in dissector_vnc() in src/dissectors/ec_vnc.c that checks total packet length instead of remaining bytes. A malicious VNC server can send the authentication type and challenge in one short packet to leak up to 3 bytes of adjacent heap memory via the logged challenge.
| Product | Versions |
|---|---|
| ettercap Ettercap | before 0.8.5.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | VulnCheck | |
| 3.1 | 4.3 Medium | VulnCheck |
Weaknesses
- CWE-125 Out-of-bounds Read
References
- GitHub Security Advisory (GHSA-vphc-c3r7-3mh7)Vendor Advisory
- https://github.com/Ettercap/ettercap/commit/63d1a8498472cb37f76e12ac49e8c09531933e7bPatch
- https://github.com/Ettercap/ettercap/blob/v0.8.5.1/src/dissectors/ec_vnc.c#L160-L192Technical Details
- VulnCheck Advisory: Ettercap through 0.8.5.1 Heap Out-of-Bounds Read via VNC DissectorThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.