REDHAT-BUG-2588666: Integer Overflow

Published Dec 2, 2026
·
Updated

A flaw was found in gtk-vnc. An integer overflow when allocating memory for a server-sent cursor causes the client to allocate an undersized buffer, into which server-provided cursor data of up to tens of kilobytes is then written, overflowing the heap buffer. The xcursor and richcursor encodings are affected since release 0.2.0, and the alphacursor encoding since 1.2.0. Because cursor encodings are negotiated automatically from a hardcoded list of supported encodings, a malicious VNC server can trigger this flaw in any client connection, at minimum causing a denial of service of the client.

Affected Software

1 affected component
gtk-vnc gtk-vnc>=0.2.0, >=1.2.0

Event History

Dec 2, 2026
Data Sourced
via Red Hat·01:05 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Any gtk-vnc client that connects to a malicious VNC server is exposed. The server can trigger the affected cursor encodings during a client connection because they are negotiated automatically from a hardcoded supported-encoding list.

2

Does avoiding specific cursor settings prevent exploitation?

The affected xcursor and richcursor encodings have been affected since release 0.2.0, and alphacursor since 1.2.0. The data does not identify a client configuration option to disable these automatically negotiated encodings.

3

What does an attacker need to exploit this flaw?

An attacker needs to operate or control a VNC server that the gtk-vnc client connects to. They can send crafted cursor data that causes an undersized allocation followed by a heap buffer overflow; denial of service of the client is the stated minimum impact.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203