CVE-2016-9942
Heap-based buffer overflow in ultra.c in LibVNCClient in LibVNCServer before 0.9.11 allows remote servers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted FramebufferUpdate message with the Ultra type tile, such that the LZO payload decompressed length exceeds what is specified by the tile dimensions.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has 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 18.04 | italc | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | italc | Fixed | 1:2.0.2+dfsg1-4ubuntu0.1 | UBUNTU-CVE-2016-9942 |
| Ubuntu 16.04 | libvncserver | Fixed | 0.9.10+dfsg-3ubuntu0.16.04.1 | UBUNTU-CVE-2016-9942 |
| Ubuntu 14.04 | italc | Fix pending | ||
| Ubuntu 14.04 | libvncserver | Fixed | 0.9.9+dfsg-1ubuntu1.2 | UBUNTU-CVE-2016-9942 |
| Debian 14 | libvncserver | Fixed | 0.9.11+dfsg-1 | DEBIAN-CVE-2016-9942 |
| Debian 13 | libvncserver | Fixed | 0.9.11+dfsg-1 | DEBIAN-CVE-2016-9942 |
| Debian 13 | veyon | Fixed | 4.1.4+repack1-1 | DEBIAN-CVE-2016-9942 |
| Debian 12 | libvncserver | Fixed | 0.9.11+dfsg-1 | DEBIAN-CVE-2016-9942 |
| Debian 12 | veyon | Fixed | 4.1.4+repack1-1 | DEBIAN-CVE-2016-9942 |
| Red Hat Enterprise Linux 7 | libvncserver | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libvncserver-devel | Will not fix Will not fix | ||
| 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 | ||
| Alpine Linux 3.24 | libvncserver | Fixed | 0.9.11-r0 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.23 | libvncserver | Fixed | 0.9.11-r0 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.22 | libvncserver | Fixed | 0.9.11-r0 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.21 | libvncserver | Fixed | 0.9.11-r0 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.20 | libvncserver | Fixed | 0.9.11-r0 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.19 | libvncserver | Fixed | 0.9.11-r0 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.18 | libvncserver | Fixed | 0.9.11-r0 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.17 | libvncserver | Fixed | 0.9.11-r0 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.16 | libvncserver | Fixed | 0.9.11-r0 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.15 | libvncserver | Fixed | 0.9.11-r0 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.14 | libvncserver | Fixed | 0.9.11-r0 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.13 | libvncserver | Fixed | 0.9.11-r0 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.12 | libvncserver | Fixed | 0.9.11-r0 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.11 | libvncserver | Fixed | 0.9.11-r0 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.10 | libvncserver | Fixed | 0.9.11-r0 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.9 | libvncserver | Fixed | 0.9.11-r0 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.8 | libvncserver | Fixed | 0.9.11-r0 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.7 | libvncserver | Fixed | 0.9.11-r0 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.6 | libvncserver | Fixed | 0.9.11-r0 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.5 | libvncserver | Fixed | 0.9.10-r2 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.4 | libvncserver | Fixed | 0.9.10-r2 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.3 | libvncserver | Fixed | 0.9.10-r2 | ALPINE-CVE-2016-9942 |
| Alpine Linux 3.2 | libvncserver | Fixed | 0.9.10-r2 | ALPINE-CVE-2016-9942 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.debian.org/security/2017/dsa-3753 (vendor-advisory)
- https://security.gentoo.org/glsa/201702-24 (vendor-advisory)
- https://usn.ubuntu.com/4587-1/ (vendor-advisory)
References
- http://www.securityfocus.com/bid/95170
- https://github.com/LibVNC/libvncserver/pull/137
- http://www.debian.org/security/2017/dsa-3753
- https://security.gentoo.org/glsa/201702-24
- https://github.com/LibVNC/libvncserver/releases/tag/LibVNCServer-0.9.11
- https://lists.debian.org/debian-lts-announce/2019/10/msg00042.html
- 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.