VYPR
Unrated severityNVD Advisory· Published Jun 30, 2020· Updated Aug 5, 2024

CVE-2017-18922

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

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

13

News mentions

0

No linked articles in our index yet.