# CVE-2026-42859: Neat VNC: Buffer overflow due to oversized RSA public keys

- Severity: High 8.1 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2026-05-11T17:36:08.143Z
- Modified: 2026-10-26T18:10:00.173Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

Neat VNC is a VNC server library. Prior to 0.9.6, a pre-authentication stack buffer overflow exists in neatvnc in the RSA-AES security type handler. An unauthenticated remote attacker who can reach the VNC listening socket can send a crafted security type 5 (RSA-AES) or security type 129 (RSA-AES-256) handshake with an oversized client RSA public key, causing rsa_aes_send_challenge in src/auth/rsa-aes.c to overflow a 1024-byte on-stack buffer when encrypting the server challenge. This results in at least a denial of service via server crash. This vulnerability is fixed in 0.9.6.

(As written by CVE List.)

## Affected

- any1 neatvnc: < 0.9.6

## References

- <https://github.com/any1/neatvnc/security/advisories/GHSA-567c-gpv8-qh9h>
- <https://github.com/any1/neatvnc/commit/1f6cd6b75cc167fed3a19a9d1552a1f662f6b337>

## Sources

- CVE List: [CVE-2026-42859](https://www.cve.org/CVERecord?id=CVE-2026-42859), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-42859](https://nvd.nist.gov/vuln/detail/CVE-2026-42859), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42859 · Whole record: https://cve.day/CVE-2026-42859.json · Rebuilt by cve.day 2026-11-25T22:59:21.229Z
