Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1317826 - (CVE-2016-3182) CVE-2016-3182 openjpeg: Heap corruption in opj_free function
CVE-2016-3182 openjpeg: Heap corruption in opj_free function
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20160314,repor...
: Security
: CVE-2016-3181 (view as bug list)
Depends On: 1317830 1317831 1317832
Blocks: 1317829
  Show dependency treegraph
 
Reported: 2016-03-15 06:17 EDT by Adam Mariš
Modified: 2016-09-20 00:56 EDT (History)
11 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-09-20 00:56:26 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Adam Mariš 2016-03-15 06:17:38 EDT
Double free or heap corruption vulnerability was found in opj_free function triggered by specially crafted JPEG2000 image file was found in openjpeg 2016.03.14.

CVE request (contains reproducer):

http://seclists.org/oss-sec/2016/q1/631
Comment 1 Adam Mariš 2016-03-15 06:20:00 EDT
Created mingw-openjpeg2 tracking bugs for this issue:

Affects: fedora-all [bug 1317831]
Comment 2 Adam Mariš 2016-03-15 06:20:05 EDT
Created openjpeg2 tracking bugs for this issue:

Affects: fedora-all [bug 1317830]
Affects: epel-all [bug 1317832]
Comment 3 Andrej Nemec 2016-03-17 04:23:14 EDT
CVE assignment:

http://seclists.org/oss-sec/2016/q1/667
Comment 5 Fedora Update System 2016-07-14 10:51:36 EDT
openjpeg2-2.1.1-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
Comment 6 Fedora Update System 2016-07-16 17:20:41 EDT
openjpeg2-2.1.1-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Comment 7 Fedora Update System 2016-07-18 14:26:46 EDT
mingw-openjpeg2-2.1.1-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
Comment 8 Fedora Update System 2016-07-18 16:53:33 EDT
mingw-openjpeg2-2.1.1-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Comment 9 Doran Moppert 2016-09-13 04:18:05 EDT
Upstream ticket:

https://github.com/uclouvain/openjpeg/issues/725
Comment 10 Doran Moppert 2016-09-13 04:18:30 EDT
openjpeg-1 falls to the same reproducer, though in a different location.  The function color_sycc_to_rgb (not "esycc") seems to be involved - notable because the same function exists in openjpeg2 and did not get the same checks in this update.

Chromium looks to be safe here; it has altered the sycc conversion fairly aggressively.
Comment 11 Doran Moppert 2016-09-14 00:04:54 EDT
This flaw only applies to the executables shipped with openjpeg:  applications linked with openjpeg-libs or openjpeg-devel are not affected.
Comment 12 Doran Moppert 2016-09-19 23:23:21 EDT
*** Bug 1317822 has been marked as a duplicate of this bug. ***
Comment 13 Doran Moppert 2016-09-20 00:29:37 EDT
(In reply to Doran Moppert from comment #10)
> openjpeg-1 falls to the same reproducer, though in a different location. 

This was unrelated - see bug 1036495.  Openjpeg-1.x is not affected by this issue.

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