CVE-2026-42859Neat VNC: Buffer overflow due to oversized RSA public keys
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | neatvnc | Fix pending | UBUNTU-CVE-2026-42859 | |
| Ubuntu 26.04 | neatvnc | Under investigation | UBUNTU-CVE-2026-42859 | |
| Ubuntu 25.10 | neatvnc | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-42859 | |
| Ubuntu 24.04 | neatvnc | Under investigation | UBUNTU-CVE-2026-42859 | |
| Ubuntu 22.04 | neatvnc | Under investigation | UBUNTU-CVE-2026-42859 | |
| Debian 14 | neatvnc | Fixed | 0.9.1+dfsg-1.1 | DEBIAN-CVE-2026-42859 |
| Debian 13 | neatvnc | Fix pending | DEBIAN-CVE-2026-42859 | |
| Debian 12 | neatvnc | Fix pending | DEBIAN-CVE-2026-42859 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- any1 neatvnc: affected: < 0.9.6
References
- https://github.com/any1/neatvnc/security/advisories/GHSA-567c-gpv8-qh9h
- https://github.com/any1/neatvnc/commit/1f6cd6b75cc167fed3a19a9d1552a1f662f6b337
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.