gtk-vnc 0.4.2 and older doesn't check boundaries correctly when updating framebuffer which may result into memory corruption when rendering. Malicious server can crash VNC client or potentially execute code under privileges of user running VNC client.
Upstream patch:
https://git.gnome.org/browse/gtk-vnc/commit/?id=f3fc5e57a78d4be9872f1394f697b9929873a737