CVEfocus › CVE database › CVE-2026-42859

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

CVSS 8.1 HighEPSS 0.8% (higher than 52% of CVEs)Published 2026-05-11Updated 2026-05-11Assigner: GitHub_M

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.

CWE-120

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

1Fixed
3Fix pending
3Under investigation
1Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10neatvncFix pendingUBUNTU-CVE-2026-42859
Ubuntu 26.04neatvncUnder investigationUBUNTU-CVE-2026-42859
Ubuntu 25.10neatvncWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-42859
Ubuntu 24.04neatvncUnder investigationUBUNTU-CVE-2026-42859
Ubuntu 22.04neatvncUnder investigationUBUNTU-CVE-2026-42859
Debian 14neatvncFixed0.9.1+dfsg-1.1DEBIAN-CVE-2026-42859
Debian 13neatvncFix pendingDEBIAN-CVE-2026-42859
Debian 12neatvncFix pendingDEBIAN-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.

References

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.