Vulnerability DatabaseCVE-2026-142107

CVE-2026-142107: 
Rocky Linux vulnerability analysis and mitigation

Overview

CVE-2026-142107 is an integer overflow vulnerability in gtk-vnc, a GTK-based VNC client library, that leads to a heap-based buffer overflow when processing server-sent cursor data. A malicious VNC server can trigger this flaw during any client connection by sending crafted cursor metadata, causing an undersized buffer to be allocated and subsequently overflowed. The xcursor and richcursor encodings are affected since gtk-vnc release 0.2.0, and the alphacursor encoding since version 1.2.0. It was disclosed on December 2, 2026, and carries a CVSS v3.1 base score of 6.5 (Medium) (Red Hat CVE, GitHub Advisory).

Technical details

The root cause is an integer overflow (CWE-787: Out-of-bounds Write) in gtk-vnc's cursor handling code. When a VNC server sends cursor data using xcursor, richcursor, or alphacursor encodings, the client performs an arithmetic calculation to determine the required buffer size; an integer overflow causes this calculation to produce an undersized result, and up to tens of kilobytes of server-provided cursor data are then written into the undersized heap buffer. Because cursor encodings are negotiated automatically from a hardcoded list of supported encodings, no special client configuration is required — any client connection to a malicious server can trigger the flaw. The issue is tracked upstream at the GNOME GitLab issue tracker (Red Hat Bugzilla, Red Hat CVE).

Impact

Successful exploitation results in a heap-based buffer overflow on the connecting client system, with the primary impact being a Denial of Service (DoS) via crash or unexpected termination of the VNC client. In more severe scenarios, the memory corruption could potentially allow execution of unauthorized code or commands on the client, though this is considered a secondary outcome. There is no confidentiality or integrity impact assessed in the current CVSS scoring; the vulnerability is client-side only and does not directly affect the VNC server or other networked systems (Red Hat CVE, GitHub Advisory).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the disclosure date. The EPSS score is 0.0, indicating a very low probability of exploitation in the near term, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires user interaction — specifically, a user must connect their gtk-vnc client to a malicious or compromised VNC server — but no authentication or special privileges are required on the attacker's side, as cursor encoding negotiation is automatic (Red Hat CVE, GitHub Advisory).

Exploitation steps

  1. Set up a malicious VNC server: The attacker deploys a rogue VNC server (e.g., a modified open-source VNC server implementation) configured to send crafted cursor data using xcursor, richcursor, or alphacursor encodings with dimensions or parameters designed to trigger an integer overflow in the client's buffer size calculation.
  2. Lure the victim to connect: The attacker entices a user running a gtk-vnc-based client (e.g., Vinagre, GNOME Boxes, or virt-viewer) to connect to the malicious server, for example via a phishing link, a compromised VNC connection file, or a man-in-the-middle attack on an existing VNC session.
  3. Trigger cursor encoding negotiation: Upon connection, the gtk-vnc client automatically negotiates supported cursor encodings with the server. The malicious server selects an affected encoding (xcursor, richcursor, or alphacursor).
  4. Send malicious cursor data: The server sends cursor data with parameters crafted to cause an integer overflow in the client's memory allocation routine, resulting in an undersized heap buffer being allocated.
  5. Achieve heap buffer overflow: The client writes the full server-provided cursor data (potentially tens of kilobytes) into the undersized buffer, overflowing the heap and causing at minimum a client crash (DoS), or potentially enabling memory corruption for further exploitation (Red Hat Bugzilla, Red Hat CVE).

Indicators of compromise

  • Process: Unexpected crash or segmentation fault of gtk-vnc-based VNC client applications (e.g., virt-viewer, GNOME Boxes, Vinagre) immediately or shortly after connecting to a VNC server.
  • Logs: System crash reports or core dumps generated by the VNC client process; application logs showing abnormal termination during cursor data processing after VNC session establishment.
  • Network: VNC client connections (TCP port 5900 or similar) to unfamiliar or unexpected VNC server IP addresses, particularly if followed immediately by client process termination.

Mitigation and workarounds

Red Hat has stated that no mitigation meeting their criteria for ease of use, deployment, and stability is currently available for this vulnerability. The recommended approach is to restrict gtk-vnc client connections exclusively to trusted, known VNC servers, as risk is minimized in environments where clients do not connect to untrusted or unknown hosts. Users should monitor for upstream patches from the GNOME gtk-vnc project and apply vendor-provided updates as soon as they become available (Red Hat CVE).

Community reactions

Red Hat has classified this flaw as Moderate impact, noting that exploitation requires an active client connection to an untrusted or compromised remote server and that the primary outcome is client-side denial of service. The vulnerability was reported to Red Hat by security researcher Oscar Uribe. No significant broader community or media reactions have been identified beyond the initial advisory and bug report (Red Hat CVE, Red Hat Bugzilla).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

RHEL / CentOS

Affected

RHEL 8

gtk-vnc.src

Affected

RHEL 9

gtk-vnc.src

Affected

RHEL 10

gtk-vnc.src

Affected

Source: This report was generated using AI

Related Rocky Linux vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-142107MEDIUM6.5
  • Rocky Linux logoRocky Linux
  • gvnc-devel
NoYesDec 02, 2026
CVE-2026-142090MEDIUM6
  • Rocky Linux logoRocky Linux
  • netatalk
NoYesDec 02, 2026
CVE-2026-142088MEDIUM6
  • Rocky Linux logoRocky Linux
  • netatalk
NoYesDec 02, 2026
CVE-2026-142105MEDIUM5.3
  • Python logoPython
  • python3-jwcrypto
NoYesDec 02, 2026
CVE-2026-142089LOW2.3
  • Rocky Linux logoRocky Linux
  • netatalk
NoYesDec 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management