Bug 1402714 (CVE-2016-9572)

Summary: CVE-2016-9572 openjpeg: NULL pointer dereference in input decoding
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: erik-fedora, hobbes1069, jaromir.capik, manisandro, nforro, oliver, phracek, rdieter
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-01 03:22:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1402718, 1402719, 1402720, 1402721, 1402722    
Bug Blocks: 1374338    

Description Martin Prpič 2016-12-08 09:04:28 UTC
A NULL pointer dereference flaw was found in the way openjpeg decoded certain input images. Due to a logic error in the code responsible for decoding the input image, an application using openjpeg to process image data could crash when processing a crafted image. 

Upstream bug:

https://github.com/uclouvain/openjpeg/issues/863

Upstream patch:

https://github.com/szukw000/openjpeg/commit/7b28bd2b723df6be09fe7791eba33147c1c47d0d

Note that the above patch fixes two issues: CVE-2016-9573 as well as CVE-2016-9572.

Comment 1 Martin Prpič 2016-12-08 09:04:40 UTC
Acknowledgments:

Name: Liu Bingchang (IIE)

Comment 3 Martin Prpič 2016-12-08 09:16:19 UTC
Created mingw-openjpeg tracking bugs for this issue:

Affects: fedora-all [bug 1402721]


Created mingw-openjpeg2 tracking bugs for this issue:

Affects: fedora-all [bug 1402720]


Created openjpeg tracking bugs for this issue:

Affects: fedora-all [bug 1402719]


Created openjpeg2 tracking bugs for this issue:

Affects: epel-6 [bug 1402722]
Affects: fedora-all [bug 1402718]

Comment 4 Doran Moppert 2017-02-01 03:22:21 UTC
openjpeg-1 is not affected by this issue.