CVE-2018-7226
libvncserver: integer overflow in vcSetXCutTextProc in VNConsole.c
Severity
LowRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · February 18, 2018
Updated · November 22, 2025
Description
An issue was discovered in vcSetXCutTextProc() in VNConsole.c in LinuxVNC and VNCommand from the LibVNC/vncterm distribution through 0.9.10. Missing sanitization of the client-specified message length may cause integer overflow or possibly have unspecified other impact via a specially crafted VNC packet.
Statement
This issue did not affect the versions of libvncserver as shipped with Red Hat Enterprise Linux 6 and 7.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 5.4CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
CWE-190 · Integer Overflow or Wraparound