Bug 1381859 (CVE-2016-7942)

Summary: CVE-2016-7942 libX11: Insufficient validation of server responses in XGetImage()
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: ajax, kbost, sandmann, slawomir
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: libX11 1.6.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 02:59:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1381863    
Bug Blocks: 1381939    

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:


External References:


CVE assignment:


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

Affects: fedora-all [bug 1381863]