CVE-2016-7942
published 2016-12-13CVE-2016-7942: 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…
PriorityP349critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
4.29%
89.9th percentile
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.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libx11 | < libx11 2:1.6.4-1 (bookworm) | libx11 2:1.6.4-1 (bookworm) |
| fedoraproject | fedora | — | — |
| x.org | libx11 | <= 1.6.3 | — |
| x.org | libx11 | >= 0 < 2:1.6.4-1 | 2:1.6.4-1 |
| x.org | libx11 | >= 0 < 2:1.6.4-1 | 2:1.6.4-1 |
| x.org | libx11 | >= 0 < 2:1.6.4-1 | 2:1.6.4-1 |
| x.org | libx11 | >= 0 < 2:1.6.4-1 | 2:1.6.4-1 |
| x.org | libx11 | >= 0 < 2:1.6.2-1ubuntu2.1 | 2:1.6.2-1ubuntu2.1 |
| x.org | libx11 | >= 0 < 2:1.6.3-1ubuntu2.1 | 2:1.6.3-1ubuntu2.1 |
| x.org | libx11 | >= 0 < 2:1.6.4-3ubuntu0.1 | 2:1.6.4-3ubuntu0.1 |
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8LOW
vendor_redhat9.8CRITICAL
vendor_ubuntu9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
libx11 vulnerabilities
vendor_ubuntu·2018-08-30·CVSS 9.8
CVE-2016-7942 [CRITICAL] libx11 vulnerabilities
Title: libx11 vulnerabilities
Summary: Several security issues were fixed in libx11.
Tobias Stoeckmann discovered that libx11 incorrectly handled certain images.
An attacker could possibly use this issue to access sensitive information
(CVE-2016-7942)
Tobias Stoeckmann discovered that libx11 incorrectly handled certain inputs.
An attacker could possibly use this issue to access sensitive information.
(CVE-2016-7943)
It was discovered that libx11 incorrectly handled certain inputs.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2018-14598, CVE-2018-14599, CVE-2018-14600)
Instructions: After a standard system update you need to reboot your computer to make
all the necessary changes.
Ubuntu
libx11 vulnerabilities
vendor_ubuntu·2018-08-30·CVSS 9.8
CVE-2016-7942 [CRITICAL] libx11 vulnerabilities
Title: libx11 vulnerabilities
Summary: Several security issues were fixed in libx11.
USN-3758-1 fixed several vulnerabilities in libx11. This update provides
the corresponding update for Ubuntu 12.04 ESM.
Original advisory details:
Tobias Stoeckmann discovered that libx11 incorrectly handled certain images.
An attacker could possibly use this issue to access sensitive information
(CVE-2016-7942)
Tobias Stoeckmann discovered that libx11 incorrectly handled certain inputs.
An attacker could possibly use this issue to access sensitive information.
(CVE-2016-7943)
It was discovered that libx11 incorrectly handled certain inputs.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2018-14598, CVE-2018-14599, CVE-2018-14600)
Instructions: After a standard system u
Red Hat
libX11: Insufficient validation of server responses in XGetImage()
vendor_redhat·2016-09-25·CVSS 9.8
CVE-2016-7942 [CRITICAL] libX11: Insufficient validation of server responses in XGetImage()
libX11: Insufficient validation of server responses in XGetImage()
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.
Package: libX11 (Red Hat Enterprise Linux 5) - Will not fix
Package: libX11 (Red Hat Enterprise Linux 6) - Will not fix
Package: libX11 (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2016-7942: libx11 - The XGetImage function in X.org libX11 before 1.6.4 might allow remote X servers...
vendor_debian·2016·CVSS 9.8
CVE-2016-7942 [CRITICAL] CVE-2016-7942: libx11 - The XGetImage function in X.org libX11 before 1.6.4 might allow remote X servers...
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.
Scope: local
bookworm: resolved (fixed in 2:1.6.4-1)
bullseye: resolved (fixed in 2:1.6.4-1)
forky: resolved (fixed in 2:1.6.4-1)
sid: resolved (fixed in 2:1.6.4-1)
trixie: resolved (fixed in 2:1.6.4-1)
GHSA
GHSA-22xc-96jv-r6q2: The XGetImage function in X
ghsa_unreviewed·2022-05-14
CVE-2016-7942 [CRITICAL] GHSA-22xc-96jv-r6q2: The XGetImage function in X
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.
OSV
libx11 vulnerabilities
osv·2018-08-30·CVSS 9.8
CVE-2016-7942 [CRITICAL] libx11 vulnerabilities
libx11 vulnerabilities
Tobias Stoeckmann discovered that libx11 incorrectly handled certain images.
An attacker could possibly use this issue to access sensitive information
(CVE-2016-7942)
Tobias Stoeckmann discovered that libx11 incorrectly handled certain inputs.
An attacker could possibly use this issue to access sensitive information.
(CVE-2016-7943)
It was discovered that libx11 incorrectly handled certain inputs.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2018-14598, CVE-2018-14599, CVE-2018-14600)
OSV
CVE-2016-7942: The XGetImage function in X
osv·2016-12-13·CVSS 9.8
CVE-2016-7942 [CRITICAL] CVE-2016-7942: The XGetImage function in X
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-7942 libX11: Insufficient validation of server responses in XGetImage()
bugzilla·2016-10-05·CVSS 9.8
CVE-2016-7942 [CRITICAL] CVE-2016-7942 libX11: Insufficient validation of server responses in XGetImage()
CVE-2016-7942 libX11: Insufficient validation of server responses in XGetImage()
It was found that when receiving a response from the server protocol data is not validated sufficiently. A check is needed if enough bytes were received for specified image type and geometry. Otherwise GetPixel and other functions could trigger an out of boundary read.
Upstream patch:
https://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=8ea762f94f4c942d898fdeb590a1630c83235c17
External References:
https://lists.x.org/archives/xorg-announce/2016-October/002720.html
CVE assignment:
http://seclists.org/oss-sec/2016/q4/17
Discussion:
Created libX11 tracking bugs for this issue:
Affects: fedora-all [bug 1381863]
Bugzilla
CVE-2016-7942 CVE-2016-7943 libX11: various flaws [fedora-all]
bugzilla·2016-10-05·CVSS 9.8
CVE-2016-7942 [CRITICAL] CVE-2016-7942 CVE-2016-7943 libX11: various flaws [fedora-all]
CVE-2016-7942 CVE-2016-7943 libX11: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora. While o
http://www.openwall.com/lists/oss-security/2016/10/04/2http://www.openwall.com/lists/oss-security/2016/10/04/4http://www.securityfocus.com/bid/93363http://www.securitytracker.com/id/1036945https://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=8ea762f94f4c942d898fdeb590a1630c83235c17https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GMCVDXMFPXR7QGMKDG22WPPJCXH2X3L7/https://lists.x.org/archives/xorg-announce/2016-October/002720.htmlhttps://security.gentoo.org/glsa/201704-03https://usn.ubuntu.com/3758-1/https://usn.ubuntu.com/3758-2/http://www.openwall.com/lists/oss-security/2016/10/04/2http://www.openwall.com/lists/oss-security/2016/10/04/4http://www.securityfocus.com/bid/93363http://www.securitytracker.com/id/1036945https://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=8ea762f94f4c942d898fdeb590a1630c83235c17https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GMCVDXMFPXR7QGMKDG22WPPJCXH2X3L7/https://lists.x.org/archives/xorg-announce/2016-October/002720.htmlhttps://security.gentoo.org/glsa/201704-03https://usn.ubuntu.com/3758-1/https://usn.ubuntu.com/3758-2/
2016-12-13
Published