CVE-2017-18922
Description
It was discovered that websockets.c in LibVNCServer prior to 0.9.12 did not properly decode certain WebSocket frames. A malicious attacker could exploit this by sending specially crafted WebSocket frames to a server, causing a heap-based buffer overflow.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
LibVNCServer before 0.9.12 contains a heap-based buffer overflow in websockets.c due to improper WebSocket frame decoding, allowing remote attackers to overwrite function pointers.
Vulnerability
CVE-2017-18922 is a heap-based buffer overflow vulnerability in the WebSocket decoding functionality (websockets.c) of LibVNCServer prior to version 0.9.12 [2][3][4]. The bug occurs because the code does not properly decode certain WebSocket frames, leading to a buffer overflow on the heap [1][2]. Any server using the vulnerable library with WebSocket support enabled is affected [1].
Exploitation
An attacker can exploit this vulnerability by sending specially crafted WebSocket frames to a server running a vulnerable version of LibVNCServer [1][2]. No authentication is required, and the attacker only needs network access to the server's WebSocket endpoint [2]. The exploit is triggered purely through network communication, without requiring user interaction [2].
Impact
Successful exploitation allows a remote attacker to overwrite a function pointer in the server's memory [2]. This can lead to arbitrary code execution with the privileges of the LibVNCServer process, potentially resulting in full compromise of the affected system [1][2]. The vulnerability has a high severity and could also be used to cause a denial of service [1].
Mitigation
The issue was fixed upstream in commit aac95a9dcf4bbba87b76c72706c3221a842ca433 and released in LibVNCServer version 0.9.12 [2][3][4]. Distributions including Ubuntu (USN-4407-1) [1], Red Hat Enterprise Linux 7 (RHSA-2020:3281), and Red Hat Enterprise Linux 8 (RHSA-2020:3385) have released updates [2]. Users should upgrade to the patched version or apply the appropriate vendor update; affected versions that remain unpatched should be considered vulnerable [1][2].
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
26- LibVNCServer/LibVNCServerdescription
- osv-coords25 versionspkg:rpm/almalinux/libvncserver-develpkg:rpm/opensuse/LibVNCServer&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/LibVNCServer&distro=openSUSE%20Leap%2015.2pkg:rpm/suse/LibVNCServer&distro=HPE%20Helion%20OpenStack%208pkg:rpm/suse/LibVNCServer&distro=SUSE%20Enterprise%20Storage%205pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP1pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP2pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSSpkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCLpkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSSpkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSSpkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2015%20SP1pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2015%20SP2pkg:rpm/suse/LibVNCServer&distro=SUSE%20OpenStack%20Cloud%207pkg:rpm/suse/LibVNCServer&distro=SUSE%20OpenStack%20Cloud%208pkg:rpm/suse/LibVNCServer&distro=SUSE%20OpenStack%20Cloud%209pkg:rpm/suse/LibVNCServer&distro=SUSE%20OpenStack%20Cloud%20Crowbar%208pkg:rpm/suse/LibVNCServer&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209
< 0.9.11-15.el8_2.1+ 24 more
- (no CPE)range: < 0.9.11-15.el8_2.1
- (no CPE)range: < 0.9.10-lp151.7.6.1
- (no CPE)range: < 0.9.10-lp152.9.4.1
- (no CPE)range: < 0.9.9-17.31.1
- (no CPE)range: < 0.9.9-17.31.1
- (no CPE)range: < 0.9.10-4.19.1
- (no CPE)range: < 0.9.10-4.19.1
- (no CPE)range: < 0.9.9-17.31.1
- (no CPE)range: < 0.9.9-17.31.1
- (no CPE)range: < 0.9.9-17.31.1
- (no CPE)range: < 0.9.9-17.31.1
- (no CPE)range: < 0.9.9-17.31.1
- (no CPE)range: < 0.9.9-17.31.1
- (no CPE)range: < 0.9.9-17.31.1
- (no CPE)range: < 0.9.9-17.31.1
- (no CPE)range: < 0.9.9-17.31.1
- (no CPE)range: < 0.9.9-17.31.1
- (no CPE)range: < 0.9.9-17.31.1
- (no CPE)range: < 0.9.10-4.19.1
- (no CPE)range: < 0.9.10-4.19.1
- (no CPE)range: < 0.9.9-17.31.1
- (no CPE)range: < 0.9.9-17.31.1
- (no CPE)range: < 0.9.9-17.31.1
- (no CPE)range: < 0.9.9-17.31.1
- (no CPE)range: < 0.9.9-17.31.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
13- lists.opensuse.org/opensuse-security-announce/2020-07/msg00020.htmlmitrevendor-advisoryx_refsource_SUSE
- lists.opensuse.org/opensuse-security-announce/2020-07/msg00028.htmlmitrevendor-advisoryx_refsource_SUSE
- lists.opensuse.org/opensuse-security-announce/2020-07/msg00033.htmlmitrevendor-advisoryx_refsource_SUSE
- lists.opensuse.org/opensuse-security-announce/2020-07/msg00055.htmlmitrevendor-advisoryx_refsource_SUSE
- lists.opensuse.org/opensuse-security-announce/2020-07/msg00066.htmlmitrevendor-advisoryx_refsource_SUSE
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4F6FUH4EFK4NAP6GT4TQRTBKWIRCZLIY/mitrevendor-advisoryx_refsource_FEDORA
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NVP7TJVYJDXDFRHVQ3ENEN3H354QPXEZ/mitrevendor-advisoryx_refsource_FEDORA
- usn.ubuntu.com/4407-1/mitrevendor-advisoryx_refsource_UBUNTU
- www.openwall.com/lists/oss-security/2020/06/30/3mitremailing-listx_refsource_MLIST
- bugzilla.redhat.com/show_bug.cgimitrex_refsource_MISC
- cert-portal.siemens.com/productcert/pdf/ssa-390195.pdfmitrex_refsource_CONFIRM
- github.com/LibVNC/libvncserver/commit/aac95a9dcf4bbba87b76c72706c3221a842ca433mitrex_refsource_MISC
- www.openwall.com/lists/oss-security/2020/06/30/2mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.