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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| any1 | neatvnc | < 0.9.6 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | neatvnc | 0.9.1+dfsg-1.1 | — |
| Debian 13 | neatvnc | No fix yet | — |
| Debian 12 | neatvnc | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | neatvnc | No fix yet | — |
| Ubuntu 26.04 LTS | neatvnc | No fix yet | — |
| Ubuntu 25.10 | neatvnc | No fix yet | — |
| Ubuntu 24.04 LTS | neatvnc | No fix yet | — |
| Ubuntu 22.04 LTS | neatvnc | No fix yet | — |