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.
Metrics
CVSS 3.1 4.3/10
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Ettercap | ettercap | < 0.8.5.2 |
References
- https://github.com/Ettercap/ettercap/blob/v0.8.5.1/src/dissectors/ec_vnc.c#L160-L192
- https://github.com/Ettercap/ettercap/commit/63d1a8498472cb37f76e12ac49e8c09531933e7b
- https://github.com/Ettercap/ettercap/security/advisories/GHSA-vphc-c3r7-3mh7
- https://www.vulncheck.com/advisories/ettercap-through-0.8.5.1-heap-out-of-bounds-read-via-vnc-dissector
- https://github.com/Ettercap/ettercap/security/advisories/GHSA-vphc-c3r7-3mh7
Timeline
- Published
- Nov 18, 2026
- Last modified
- Nov 21, 2026
- NVD status
- Awaiting Analysis