Vulnerabilities / CVE-2017-18922

critical

CVE-2017-18922

libvncserver: websocket decoding buffer overflow

Published Modified CWE 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), AlmaLinux (high), Oracle (high), Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
alma 8libvncserver-devel0.9.11-15.el8_2.1
debian 10libvncserverno fix listed
debian 11libvncserver0.9.12+dfsg-3
debian 12libvncserver0.9.12+dfsg-3
debian 13libvncserver0.9.12+dfsg-3
debian 14libvncserver0.9.12+dfsg-3
debian 9libvncserverno fix listed
echolibvncserver0.9.12+dfsg-3
Oracle Linux 7libvncserver, libvncserver-devel0.9.9-14.el7_8.1
Oracle Linux 8libvncserver, libvncserver-devel0.9.11-15.el8_2.1
ubuntu 16.04libvncserver0.9.10+dfsg-3ubuntu0.16.04.4
ubuntu 16.04-ESMlibvncserver0.9.10+dfsg-3ubuntu0.16.04.4
Show all 19 entries from 17 sources
SourcePackageFixed in
alma 8libvncserver-devel0.9.11-15.el8_2.1
debian 10libvncserverno fix listed
debian 11libvncserver0.9.12+dfsg-3
debian 12libvncserver0.9.12+dfsg-3
debian 13libvncserver0.9.12+dfsg-3
debian 14libvncserver0.9.12+dfsg-3
debian 9libvncserverno fix listed
echolibvncserver0.9.12+dfsg-3
Oracle Linux 7libvncserver0.9.9-14.el7_8.1
Oracle Linux 7libvncserver-devel0.9.9-14.el7_8.1
Oracle Linux 8libvncserver0.9.11-15.el8_2.1
Oracle Linux 8libvncserver-devel0.9.11-15.el8_2.1
ubuntu 16.04libvncserver0.9.10+dfsg-3ubuntu0.16.04.4
ubuntu 16.04-ESMlibvncserver0.9.10+dfsg-3ubuntu0.16.04.4
ubuntu 18.04libvncserver0.9.11+dfsg-1ubuntu1.2
ubuntu 18.04-ESMlibvncserver0.9.11+dfsg-1ubuntu1.2
ubuntu 19.10libvncserver0.9.11+dfsg-1.3ubuntu0.1
ubuntu 20.04libvncserver0.9.12+dfsg-9ubuntu0.1
ubuntu 20.04-ESMlibvncserver0.9.12+dfsg-9ubuntu0.1

References

All 19 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.