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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Unreported
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.76% (percentile 52, 2026-11-26)
- **CWE:** CWE-120
- **Published:** 2026-05-11T17:36:08.143Z
- **Modified:** 2026-10-26T18:10:00.173Z

## Who should check

- Anyone running any1 neatvnc \< 0.9.6

## 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.

## Affected and fixed versions

- any1 neatvnc: \< 0.9.6 (cvelist)

## Mitigation

- Upgrade neatvnc to 0.9.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-42859. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-42859.md
Affected: any1 neatvnc < 0.9.6
Fixed in: any1 neatvnc 0.9.6

Steps:
1. Search this machine and project for any1 neatvnc: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-42859 being exploited?

There is no confirmed exploitation: CVE-2026-42859 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-42859?

High: CVSS 8.1 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-42859?

any1 neatvnc \< 0.9.6.

### Is there a fix for CVE-2026-42859?

Yes. Fixed in any1 neatvnc 0.9.6. Upgrade neatvnc to 0.9.6 or later.

### How do I check if I'm affected by CVE-2026-42859?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-42859>

HTML: <https://flawdb.com/CVE-2026-42859> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-42859>
