Vulnerabilities / CVE-2016-7942

critical

CVE-2016-7942

libX11: Insufficient validation of server responses in XGetImage()

Published Modified CWE 264, 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.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat3.1CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (low), Ubuntu (low).

Description

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 packages and fixed versions

SourcePackageFixed in
alpine 3.2libx111.6.3-r1
alpine 3.3libx111.6.3-r3
debian 11libx112:1.6.4-1
debian 12libx112:1.6.4-1
debian 13libx112:1.6.4-1
debian 14libx112:1.6.4-1
debian 7libx112:1.5.0-1+deb7u3
debian 8libx112:1.6.2-3+deb8u1
echolibx112:1.6.4-1
Red HatlibX11, libX11-common, libX11-develno fix listed
seal Red Hat 6libx11, seal-libx111.6.4-4.el6_10+sp999
ubuntu 14.04libx112:1.6.2-1ubuntu2.1
Show all 20 entries from 17 sources
SourcePackageFixed in
alpine 3.2libx111.6.3-r1
alpine 3.3libx111.6.3-r3
debian 11libx112:1.6.4-1
debian 12libx112:1.6.4-1
debian 13libx112:1.6.4-1
debian 14libx112:1.6.4-1
debian 7libx112:1.5.0-1+deb7u3
debian 8libx112:1.6.2-3+deb8u1
echolibx112:1.6.4-1
Red HatlibX11no fix listed
Red HatlibX11-commonno fix listed
Red HatlibX11-develno fix listed
seal Red Hat 6libx111.6.4-4.el6_10+sp999
seal Red Hat 6seal-libx111.6.4-4.el6_10+sp999
ubuntu 14.04libx112:1.6.2-1ubuntu2.1
ubuntu 14.04-ESMlibx112:1.6.2-1ubuntu2.1
ubuntu 16.04libx112:1.6.3-1ubuntu2.1
ubuntu 16.04-ESMlibx112:1.6.3-1ubuntu2.1
ubuntu 18.04libx112:1.6.4-1
ubuntu 18.04-ESMlibx112:1.6.4-1

References

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