CVE-2026-42859CWE-120

Neat VNC: Buffer overflow due to oversized RSA public keys

High · published May 11, 2026

CVSS v4.0
8.1
EPSS
1%
Percentile
54.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.1 · HIGH
Vector
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
EPSS
0.00760 · 54.8th percentile
Weakness
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Published
2026-05-11T17:36Z
EPSS history
Timeline
  • 11 MAY 17:36Z
    Neat VNC: Buffer overflow due to oversized RSA public keys
    cvelistv5