Vulnerabilities / CVE-2018-20749

critical

CVE-2018-20749

libvncserver: Heap out-of-bounds write in rfbserver.c in rfbProcessFileTransferReadBuffer() allows for potential code execution (Incomplete fix for CVE-2018-15127)

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 Hat7.5CVSS:3.0/AV:N/AC:H/PR:L/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), Ubuntu (medium).

Description

LibVNC before 0.9.12 contains a heap out-of-bounds write vulnerability in libvncserver/rfbserver.c. The fix for CVE-2018-15127 was incomplete.

Affected packages and fixed versions

SourcePackageFixed in
debian 11libvncserver0.9.11+dfsg-1.3
debian 12libvncserver0.9.11+dfsg-1.3
debian 13libvncserver0.9.11+dfsg-1.3
debian 14libvncserver0.9.11+dfsg-1.3
debian 8italc, libvncserver1:2.0.2+dfsg1-2+deb8u1 and 1 more
echolibvncserver0.9.11+dfsg-1.3
Red Hatlibvncserver, libvncserver-develno fix listed
ubuntu 14.04libvncserver0.9.9+dfsg-1ubuntu1.4
ubuntu 16.04italc, libvncserver1:2.0.2+dfsg1-4ubuntu0.1 and 1 more
ubuntu 16.04-ESMitalc, libvncserver1:2.0.2+dfsg1-4ubuntu0.1 and 1 more
ubuntu 18.04italc, libvncserver1:3.0.3+dfsg1-3ubuntu0.1 and 1 more
ubuntu 18.04-ESMitalc, libvncserver1:3.0.3+dfsg1-3ubuntu0.1 and 1 more
Show all 19 entries from 13 sources
SourcePackageFixed in
debian 11libvncserver0.9.11+dfsg-1.3
debian 12libvncserver0.9.11+dfsg-1.3
debian 13libvncserver0.9.11+dfsg-1.3
debian 14libvncserver0.9.11+dfsg-1.3
debian 8italc1:2.0.2+dfsg1-2+deb8u1
debian 8libvncserver0.9.9+dfsg2-6.1+deb8u5
echolibvncserver0.9.11+dfsg-1.3
Red Hatlibvncserverno fix listed
Red Hatlibvncserver-develno fix listed
ubuntu 14.04libvncserver0.9.9+dfsg-1ubuntu1.4
ubuntu 16.04italc1:2.0.2+dfsg1-4ubuntu0.1
ubuntu 16.04libvncserver0.9.10+dfsg-3ubuntu0.16.04.3
ubuntu 16.04-ESMitalc1:2.0.2+dfsg1-4ubuntu0.1
ubuntu 16.04-ESMlibvncserver0.9.10+dfsg-3ubuntu0.16.04.3
ubuntu 18.04italc1:3.0.3+dfsg1-3ubuntu0.1
ubuntu 18.04libvncserver0.9.11+dfsg-1ubuntu1.1
ubuntu 18.04-ESMitalc1:3.0.3+dfsg1-3ubuntu0.1
ubuntu 18.04-ESMlibvncserver0.9.11+dfsg-1ubuntu1.1
ubuntu 18.10libvncserver0.9.11+dfsg-1.1ubuntu0.1

References

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