CVE-2016-7942 json
The XGetImage function in X.org libX11 before 1.6.4 might allow remote X servers to gain privileges via vectors involving image type and ge…
published 2016-12-13 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-8791
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.5%
- EPSS 4.5% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
The XGetImage function in X.org libX11 before 1.6.4 might allow remote X servers to gain privileges via vectors involving image type and geometry, which triggers out-of-bounds read operations.
Patch / fix
- libx11 Debian 14, Debian 13, Debian 12 2:1.6.4-1
debian advisories DEBIAN-CVE-2016-7942
- libx11 Ubuntu 14.04 LTS 2:1.6.2-1ubuntu2.1
- libx11 Ubuntu 16.04 LTS 2:1.6.3-1ubuntu2.1
ubuntu advisories UBUNTU-CVE-2016-7942
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- xorg-x11-libX11 SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 7.4-5.11.65.1
- libX11 SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +6 more 1.6.2-11.1
- libXi SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +2 more 1.7.4-14.1
- libXv SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +2 more 1.0.10-7.1
- libX11 SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +2 more 1.6.2-8.1
- libXtst SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +2 more 1.2.2-7.1
- libXvMC SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +2 more 1.0.8-7.1
- libXfixes SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +2 more 5.0.1-7.1
suse advisories SUSE-SU-2016:3054-1SUSE-SU-2016:3001-1SUSE-SU-2016:2828-1SUSE-SU-2016:2505-1
- libx11 Alpine 3.2 1.6.3-r1
- libx11 Alpine 3.3 1.6.3-r3
alpine advisories ALPINE-CVE-2016-7942
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-7942 updated cvss 3.1
libX11: Insufficient validation of server responses in XGetImage()
-
Red Hat Enterprise Linux 5 libX11 Red Hat Enterprise Linux 6 libX11, libX11-common Red Hat Enterprise Linux 7 libX11, libX11-commonaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.46% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
References
- cgit.freedesktop.org /xorg/lib/libX11/commit/?id=8ea762f94f4c942d898fdeb590a1630c83235c17
-
usn.ubuntu.com
/3758-2/
vendor-advisory
-
security.gentoo.org
/glsa/201704-03
vendor-advisory
-
usn.ubuntu.com
/3758-1/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/GMCVDXMFPXR7QGMKDG22WPPJCXH2X3L7/
vendor-advisory
-
securitytracker.com
/id/1036945
vdb-entry
-
securityfocus.com
/bid/93363
vdb-entry
-
lists.x.org
/archives/xorg-announce/2016-October/002720.html
mailing-list
-
openwall.com
/lists/oss-security/2016/10/04/4
mailing-list
-
openwall.com
/lists/oss-security/2016/10/04/2
mailing-list
Sources
- CVE List CVE-2016-7942
- NVD CVE-2016-7942
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.