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()
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: impact=low,public=20160925,reported=2...
Keywords: Security
Depends On: 1381863
Blocks: 1381939
TreeView+ depends on / blocked
 
Reported: 2016-10-05 08:36 UTC by Andrej Nemec
Modified: 2019-06-08 21:29 UTC (History)
4 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2019-06-08 02:59:24 UTC


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.