Bug 1381859 (CVE-2016-7942) - CVE-2016-7942 libX11: Insufficient validation of server responses in XGetImage()
Summary: CVE-2016-7942 libX11: Insufficient validation of server responses in XGetImage()
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2016-7942
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1381863
Blocks: 1381939
TreeView+ depends on / blocked
 
Reported: 2016-10-05 08:36 UTC by Andrej Nemec
Modified: 2023-03-24 13:43 UTC (History)
4 users (show)

Fixed In Version: libX11 1.6.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 02:59:24 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2016-10-05 08:36:49 UTC
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

Comment 1 Andrej Nemec 2016-10-05 08:40:24 UTC
Created libX11 tracking bugs for this issue:

Affects: fedora-all [bug 1381863]


Note You need to log in before you can comment on or make changes to this bug.