cbcvebase.
CVE-2018-20020
published 2018-12-19

CVE-2018-20020: LibVNC before commit 7b1ef0ffc4815cab9a96c7278394152bdc89dc4d contains heap out-of-bound write vulnerability inside structure in VNC client code that can…

PriorityP259critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
8.55%
94.4th percentile
LibVNC before commit 7b1ef0ffc4815cab9a96c7278394152bdc89dc4d contains heap out-of-bound write vulnerability inside structure in VNC client code that can result remote code execution

Affected

14 ranges
VendorProductVersion rangeFixed in
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
debiandebian_linux
debiandebian_linux
debianlibvncserver< libvncserver 0.9.11+dfsg-1.2 (bookworm)libvncserver 0.9.11+dfsg-1.2 (bookworm)
debianssvnc< libvncserver 0.9.11+dfsg-1.2 (bookworm)libvncserver 0.9.11+dfsg-1.2 (bookworm)
debianveyon< libvncserver 0.9.11+dfsg-1.2 (bookworm)libvncserver 0.9.11+dfsg-1.2 (bookworm)
libvnc_projectlibvncserver< 0.9.120.9.12
libvncserver_projectlibvncserver>= 0 < 0.9.11+dfsg-1.20.9.11+dfsg-1.2
libvncserver_projectlibvncserver>= 0 < 0.9.11+dfsg-1.20.9.11+dfsg-1.2
libvncserver_projectlibvncserver>= 0 < 0.9.11+dfsg-1.20.9.11+dfsg-1.2
libvncserver_projectlibvncserver>= 0 < 0.9.11+dfsg-1.20.9.11+dfsg-1.2

Detection & IOCsextracted from sources · hover to see the quote

hash7b1ef0ffc4815cab9a96c7278394152bdc89dc4d
urlhttps://github.com/LibVNC/libvncserver/commit/7b1ef0ffc4815cab9a96c7278394152bdc89dc4d
  • The vulnerability is a heap out-of-bound write in the VNC client code (LibVNCClient). Monitor VNC client processes (e.g. ssvnc, libvncserver-based clients) for anomalous heap corruption or crashes when connecting to untrusted VNC servers.
  • The vulnerability is triggered by a remote (server-side) attacker sending malformed packet lengths to a connecting VNC client. Inspect VNC traffic (default port 5900) for malformed or oversized structure fields sent from server to client.
  • Check installed libvncserver / libvncclient package versions; any version prior to the fix commit 7b1ef0ffc4815cab9a96c7278394152bdc89dc4d is vulnerable. On Debian/Ubuntu, the fixed package version is 0.9.11+dfsg-1.2.
  • ·Red Hat Enterprise Linux 6, 7, and 8 are marked 'Will not fix' for this CVE; patching via official RHEL channels is not available.

CVSS provenance

nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu9.8CRITICAL
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.