Vulnerabilities / CVE-2019-20788

critical

CVE-2019-20788

libvncserver: integer overflow and heap-based buffer overflow in libvncclient/cursor.c in HandleCursorShape function

Published Modified CWE 190, 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

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium).

Description

libvncclient/cursor.c in LibVNCServer through 0.9.12 has a HandleCursorShape integer overflow and heap-based buffer overflow via a large height or width value. NOTE: this may overlap CVE-2019-15690.

Affected packages and fixed versions

SourcePackageFixed in
debian 10libvncserver0.9.11+dfsg-1.3+deb10u3
debian 11libvncserver0.9.12+dfsg-9
debian 12libvncserver0.9.12+dfsg-9
debian 13libvncserver0.9.12+dfsg-9
debian 14libvncserver0.9.12+dfsg-9
debian 8libvncserver0.9.9+dfsg2-6.1+deb8u7
debian 9libvncserver0.9.11+dfsg-1.3~deb9u4
echolibvncserver0.9.12+dfsg-9
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
Show all 13 entries from 13 sources
SourcePackageFixed in
debian 10libvncserver0.9.11+dfsg-1.3+deb10u3
debian 11libvncserver0.9.12+dfsg-9
debian 12libvncserver0.9.12+dfsg-9
debian 13libvncserver0.9.12+dfsg-9
debian 14libvncserver0.9.12+dfsg-9
debian 8libvncserver0.9.9+dfsg2-6.1+deb8u7
debian 9libvncserver0.9.11+dfsg-1.3~deb9u4
echolibvncserver0.9.12+dfsg-9
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

References

All 9 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.