# CVE-2021-42785: Buffer Overflow in tvnviewer.exe via Crafted Packet in TightVNC Viewer 2.8.59

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-11-23 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2021-42785
- Record: https://cvemate.com/vulnerability/CVE-2021-42785 · JSON: https://cvemate.com/vulnerability/CVE-2021-42785/json

## Description

```text
Buffer Overflow vulnerability in tvnviewer.exe of TightVNC Viewer allows a remote attacker to execute arbitrary instructions via a crafted FramebufferUpdate packet from a VNC server.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.342%, percentile 84.181%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu tightvnc (Ubuntu): All versions (No fix recorded)
- glavsoft llc tightvnc viewer: 2.8.59
- tightvnc tightvnc: ≤ 2.8.59

## References

- <https://www.tightvnc.com/whatsnew.php>
- <https://ubuntu.com/security/CVE-2021-42785>
- <https://www.cve.org/CVERecord?id=CVE-2021-42785>

---

Data as of 2026-12-05T08:28:50.878Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
