Bug 1402711 (CVE-2016-9573) - CVE-2016-9573 openjpeg: heap out-of-bounds read due to insufficient check in imagetopnm()
Summary: CVE-2016-9573 openjpeg: heap out-of-bounds read due to insufficient check in ...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2016-9573
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1402718 1402719 1402720 1402721 1402722 1419772 1419774 1435069
Blocks: 1374338
TreeView+ depends on / blocked
 
Reported: 2016-12-08 08:53 UTC by Martin Prpič
Modified: 2019-09-29 14:02 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds read vulnerability was found in OpenJPEG, in the j2k_to_image tool. Converting a specially crafted JPEG2000 file to another format could cause the application to crash or, potentially, disclose some data from the heap.
Clone Of:
Environment:
Last Closed: 2019-06-08 03:03:43 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0838 normal SHIPPED_LIVE Moderate: openjpeg security update 2017-03-23 07:45:54 UTC

Description Martin Prpič 2016-12-08 08:53:45 UTC
A heap buffer overflow flaw was found in the way openjpeg decompressed certain input images. Due to an insufficient check in the imagetopnm() function, an application using openjpeg to process image data could crash when processing a crafted image.

Upstream bug:

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

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 08:53:53 UTC
Acknowledgments:

Name: Liu Bingchang (IIE)

Comment 3 Martin Prpič 2016-12-08 09:16:41 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 9 errata-xmlrpc 2017-03-23 03:46:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:0838 https://rhn.redhat.com/errata/RHSA-2017-0838.html

Comment 10 Doran Moppert 2017-03-23 04:09:49 UTC
Created openjpeg2 tracking bugs for this issue:

Affects: epel-7 [bug 1435069]


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