Off-by-one Error Affecting ultravnc/UltraVNC package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.74% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ULTRAVNCULTRAVNC-17746982
  • published1 Jul 2026
  • disclosed1 Jul 2026
  • creditUnknown

Introduced: 1 Jul 2026

CVE-2026-7831  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

There is no fixed version for ultravnc/UltraVNC.

Overview

Affected versions of this package are vulnerable to Off-by-one Error in the ServerInit message handler when processing a server-supplied desktop name length of exactly 2024. An attacker can overwrite adjacent stack data or corrupt the stack canary by supplying a specially crafted desktop name length, potentially leading to process termination or unintended behavior when a user connects to a malicious server. This is only exploitable if the user connects to a malicious VNC server.

References

CVSS Base Scores

version 4.0
version 3.1