CVE-2026-142107

Description

A flaw was found in gtk-vnc. A malicious Virtual Network Computing (VNC) server can exploit an integer overflow vulnerability when processing server-sent cursor data during a client connection. This issue causes an undersized memory buffer to be allocated, leading to a heap-based buffer overflow that can result in a Denial of Service (DoS) or potential memory corruption on the client system.

Statement

This flaw is rated as Moderate impact for Red Hat because triggering it requires an active client connection to an untrusted or compromised remote server. While a rogue VNC endpoint can send corrupted cursor metadata to cause heap memory corruption, the primary outcome is a client-side denial of service. Risk is minimized in environments where VNC clients connect only to trusted hosts.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.

Other

Technical Impact: Unexpected State

Subsequent write operations can produce undefined or unexpected results.

Acknowledgements

Red Hat would like to thank Oscar Uribe for reporting this issue.

Frequently Asked Questions

Want to get errata notifications? Sign up here.