CVE-2018-20022
LibVNC before 2f5b2ad1c6c99b1ac6482c95844a84d66bb52838 contains multiple weaknesses CWE-665: Improper Initialization vulnerability in VNC client code that allows attacker to read stack memory and can be abuse for information disclosure. Combined with another vulnerability, it can be used to leak stack memory layout and in bypassing ASLR
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | tightvnc | Fix pending | UBUNTU-CVE-2018-20022 | |
| Ubuntu 26.04 | libvncserver | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | ssvnc | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | tightvnc | Under investigation | UBUNTU-CVE-2018-20022 | |
| Ubuntu 26.04 | x11vnc | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | libvncserver | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | ssvnc | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | tightvnc | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2018-20022 | |
| Ubuntu 25.10 | x11vnc | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | libvncserver | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | ssvnc | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | tightvnc | Under investigation | UBUNTU-CVE-2018-20022 | |
| Ubuntu 24.04 | x11vnc | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | libvncserver | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | ssvnc | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | tightvnc | Under investigation | UBUNTU-CVE-2018-20022 | |
| Ubuntu 22.04 | x11vnc | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | libvncserver | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | ssvnc | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | tightvnc | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2018-20022 | |
| Ubuntu 18.04 | italc | Fixed | 1:3.0.3+dfsg1-3ubuntu0.1 | UBUNTU-CVE-2018-20022 |
| Ubuntu 18.04 | libvncserver | Fixed | 0.9.11+dfsg-1ubuntu1.1 | UBUNTU-CVE-2018-20022 |
| Ubuntu 18.04 | ssvnc | Fix pending | 1.0.29-3ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2018-20022 |
| Ubuntu 18.04 | tightvnc | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2018-20022 | |
| Ubuntu 16.04 | italc | Fixed | 1:2.0.2+dfsg1-4ubuntu0.1 | UBUNTU-CVE-2018-20022 |
| Ubuntu 16.04 | libvncserver | Fixed | 0.9.10+dfsg-3ubuntu0.16.04.3 | UBUNTU-CVE-2018-20022 |
| Ubuntu 16.04 | ssvnc | Fixed | 1.0.29-2+deb8u1build0.16.04.1 | UBUNTU-CVE-2018-20022 |
| Ubuntu 16.04 | tightvnc | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2018-20022 | |
| Ubuntu 16.04 | x11vnc | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | italc | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 14.04 | libvncserver | Fixed | 0.9.9+dfsg-1ubuntu1.4 | UBUNTU-CVE-2018-20022 |
| Ubuntu 14.04 | ssvnc | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 14.04 | tightvnc | Fix pending | 1.3.9-6.5+deb8u1build0.14.04.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2018-20022 |
| Ubuntu 14.04 | x11vnc | Will not fix Ubuntu decided not to fix this in this release | ||
| Debian 14 | libvncserver | Fixed | 0.9.11+dfsg-1.2 | DEBIAN-CVE-2018-20022 |
| Debian 14 | ssvnc | Fixed | 1.0.29-5 | DEBIAN-CVE-2018-20022 |
| Debian 14 | tightvnc | Fixed | 1:1.3.9-9.1 | DEBIAN-CVE-2018-20022 |
| Debian 13 | libvncserver | Fixed | 0.9.11+dfsg-1.2 | DEBIAN-CVE-2018-20022 |
| Debian 13 | ssvnc | Fixed | 1.0.29-5 | DEBIAN-CVE-2018-20022 |
| Debian 13 | tightvnc | Fixed | 1:1.3.9-9.1 | DEBIAN-CVE-2018-20022 |
| Debian 13 | veyon | Fixed | 4.1.4+repack1-1 | DEBIAN-CVE-2018-20022 |
| Debian 12 | libvncserver | Fixed | 0.9.11+dfsg-1.2 | DEBIAN-CVE-2018-20022 |
| Debian 12 | ssvnc | Fixed | 1.0.29-5 | DEBIAN-CVE-2018-20022 |
| Debian 12 | tightvnc | Fixed | 1:1.3.9-9.1 | DEBIAN-CVE-2018-20022 |
| Debian 12 | veyon | Fixed | 4.1.4+repack1-1 | DEBIAN-CVE-2018-20022 |
| Red Hat Enterprise Linux 8 | libvncserver | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvncserver-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libvncserver | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libvncserver-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libvncserver | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | libvncserver-devel | Will not fix Will not fix |
What the vendor says
As published in the CVE record by Kaspersky, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- LibVNC: affected: commit 2f5b2ad1c6c99b1ac6482c95844a84d66bb52838
Vendor advisories:
- https://www.debian.org/security/2019/dsa-4383 (vendor-advisory)
- https://usn.ubuntu.com/3877-1/ (vendor-advisory)
- https://security.gentoo.org/glsa/201908-05 (vendor-advisory)
- https://security.gentoo.org/glsa/202006-06 (vendor-advisory)
- https://usn.ubuntu.com/4547-1/ (vendor-advisory)
- https://usn.ubuntu.com/4547-2/ (vendor-advisory)
References
- https://www.debian.org/security/2019/dsa-4383
- https://lists.debian.org/debian-lts-announce/2018/12/msg00017.html
- https://ics-cert.kaspersky.com/advisories/klcert-advisories/2018/12/19/klcert-18-032-libvnc-multiple-memory-leaks/
- https://usn.ubuntu.com/3877-1/
- https://security.gentoo.org/glsa/201908-05
- https://lists.debian.org/debian-lts-announce/2019/10/msg00042.html
- https://lists.debian.org/debian-lts-announce/2019/11/msg00033.html
- https://lists.debian.org/debian-lts-announce/2019/12/msg00028.html
- https://security.gentoo.org/glsa/202006-06
- https://usn.ubuntu.com/4547-1/
- https://usn.ubuntu.com/4547-2/
- https://usn.ubuntu.com/4587-1/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.