It was discovered that websockets.c in LibVNCServer prior to 0.9.12 did not properly…
Priority MEDIUM 46CWE-787Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.02259 83rd percentileScored 2026-11-07
Fix Fixed Red Hat: 4 advisories
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 21
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libvncserver_project:libvncserver:*:*:*:*:*:*:*:* | before 0.9.12 | Vulnerable | Libvncserver Project |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:* | 19.10 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* | 20.04 | Vulnerable | Canonical |
| cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* | 15.1 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:* | 15.2 | Vulnerable | openSUSE |
| cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* | 31 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* | 32 | Vulnerable | Fedoraproject |
| cpe:2.3:o:siemens:simatic_itc1500_firmware:*:*:*:*:*:*:*:* | 3.0.0.0 to before 3.2.1.0 | Vulnerable | Siemens |
- cpe:2.3:a:libvncserver_project:libvncserver:*:*:*:*:*:*:*:* Versions before 0.9.12 Vulnerable ·Libvncserver Project
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:* Versions 19.10 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* Versions 20.04 Vulnerable ·Canonical
- cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* Versions 15.1 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:* Versions 15.2 Vulnerable ·openSUSE
- cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* Versions 31 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* Versions 32 Vulnerable ·Fedoraproject
- cpe:2.3:o:siemens:simatic_itc1500_firmware:*:*:*:*:*:*:*:* Versions 3.0.0.0 to before 3.2.1.0 Vulnerable ·Siemens
Show 11 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:h:siemens:simatic_itc1500:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Siemens |
| cpe:2.3:o:siemens:simatic_itc1500_pro_firmware:*:*:*:*:*:*:*:* | 3.0.0.0 to before 3.2.1.0 | Vulnerable | Siemens |
| cpe:2.3:h:siemens:simatic_itc1500_pro:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Siemens |
| cpe:2.3:o:siemens:simatic_itc1900_firmware:*:*:*:*:*:*:*:* | 3.0.0.0 to before 3.2.1.0 | Vulnerable | Siemens |
| cpe:2.3:h:siemens:simatic_itc1900:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Siemens |
| cpe:2.3:o:siemens:simatic_itc1900_pro_firmware:*:*:*:*:*:*:*:* | 3.0.0.0 to before 3.2.1.0 | Vulnerable | Siemens |
| cpe:2.3:h:siemens:simatic_itc1900_pro:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Siemens |
| cpe:2.3:o:siemens:simatic_itc2200_firmware:*:*:*:*:*:*:*:* | 3.0.0.0 to before 3.2.1.0 | Vulnerable | Siemens |
| cpe:2.3:h:siemens:simatic_itc2200:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Siemens |
| cpe:2.3:o:siemens:simatic_itc2200_pro_firmware:*:*:*:*:*:*:*:* | 3.0.0.0 to before 3.2.1.0 | Vulnerable | Siemens |
| cpe:2.3:h:siemens:simatic_itc2200_pro:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Siemens |
- cpe:2.3:h:siemens:simatic_itc1500:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Siemens
- cpe:2.3:o:siemens:simatic_itc1500_pro_firmware:*:*:*:*:*:*:*:* Versions 3.0.0.0 to before 3.2.1.0 Vulnerable ·Siemens
- cpe:2.3:h:siemens:simatic_itc1500_pro:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Siemens
- cpe:2.3:o:siemens:simatic_itc1900_firmware:*:*:*:*:*:*:*:* Versions 3.0.0.0 to before 3.2.1.0 Vulnerable ·Siemens
- cpe:2.3:h:siemens:simatic_itc1900:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Siemens
- cpe:2.3:o:siemens:simatic_itc1900_pro_firmware:*:*:*:*:*:*:*:* Versions 3.0.0.0 to before 3.2.1.0 Vulnerable ·Siemens
- cpe:2.3:h:siemens:simatic_itc1900_pro:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Siemens
- cpe:2.3:o:siemens:simatic_itc2200_firmware:*:*:*:*:*:*:*:* Versions 3.0.0.0 to before 3.2.1.0 Vulnerable ·Siemens
- cpe:2.3:h:siemens:simatic_itc2200:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Siemens
- cpe:2.3:o:siemens:simatic_itc2200_pro_firmware:*:*:*:*:*:*:*:* Versions 3.0.0.0 to before 3.2.1.0 Vulnerable ·Siemens
- cpe:2.3:h:siemens:simatic_itc2200_pro:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Siemens
Remediation
Red Hat 4 advisories
- RHSA-2020:3588 Released 2020-09-01 · Red Hat rating Importantlibvncserver security update
- Red Hat Enterprise Linux AppStream E4S (v. 8.0) libvncserver-0.9.11-9.el8_0.3
- RHSA-2020:3456 Released 2020-08-17 · Red Hat rating Importantlibvncserver security update
- Red Hat CodeReady Linux Builder EUS (v. 8.1) libvncserver-0.9.11-9.el8_1.3, libvncserver-devel-0.9.11-9.el8_1.3
- Red Hat Enterprise Linux AppStream EUS (v. 8.1) libvncserver-0.9.11-9.el8_1.3
- RHSA-2020:3385 Released 2020-08-10 · Red Hat rating Importantlibvncserver security update
- Red Hat CodeReady Linux Builder (v. 8) libvncserver-0.9.11-15.el8_2.1, libvncserver-devel-0.9.11-15.el8_2.1
- Red Hat Enterprise Linux AppStream (v. 8) libvncserver-0.9.11-15.el8_2.1
Show 1 more Red Hat advisories
- RHSA-2020:3281 Released 2020-08-03 · Red Hat rating Importantlibvncserver security update
- Red Hat Enterprise Linux Client (v. 7) libvncserver-0.9.9-14.el7_8.1
- Red Hat Enterprise Linux Client Optional (v. 7) libvncserver-devel-0.9.9-14.el7_8.1
- Red Hat Enterprise Linux Server (v. 7) libvncserver-0.9.9-14.el7_8.1
- Red Hat Enterprise Linux Server Optional (v. 7) libvncserver-devel-0.9.9-14.el7_8.1
- Red Hat Enterprise Linux Workstation (v. 7) libvncserver-0.9.9-14.el7_8.1
- Red Hat Enterprise Linux Workstation Optional (v. 7) libvncserver-devel-0.9.9-14.el7_8.1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2020:3385 |
| Red Hat CodeReady Linux Builder EUS (v. 8.1) | Fixed | RHSA-2020:3456 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2020:3385 |
| Red Hat Enterprise Linux AppStream E4S (v. 8.0) | Fixed | RHSA-2020:3588 |
| Red Hat Enterprise Linux AppStream EUS (v. 8.1) | Fixed | RHSA-2020:3456 |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2020:3281 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2020:3281 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2020:3281 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2020:3281 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2020:3281 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2020:3281 |
Not affected: 1 product
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2017-18922
- 2026-10-03 Alias added: GHSA-hq8f-cpqj-qph2
References
Patch 3
Advisory 10
- https://www.openwall.com/lists/oss-security/2020/06/30/2
- https://bugzilla.redhat.com/show_bug.cgi?id=1852356
- [oss-security] 20200630 Re: libvncserver: old websocket decoding patch
- openSUSE-SU-2020:0960
- FEDORA-2020-37112ac660
- FEDORA-2020-1a4b1c8271
- openSUSE-SU-2020:0978
- openSUSE-SU-2020:0988
- openSUSE-SU-2020:1025
- openSUSE-SU-2020:1056
Sources
- CVE-2017-18922 · CVE Program
- CVE-2017-18922 · NVD
- FIRST EPSS
- GHSA-hq8f-cpqj-qph2 · GitHub Advisory Database · CC BY 4.0
- CVE-2017-18922 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences