Bug 1487376 (CVE-2016-10506)

Summary: CVE-2016-10506 openjpeg: Division by zero in functions opj_pi_next_cprl, opj_pi_next_pcrl, and opj_pi_next_rpcl in pi.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: erik-fedora, extras-orphan, 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: 2019-06-08 03:23:33 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: 1487378, 1487379, 1487380, 1487381, 1487382    
Bug Blocks:    

Description Pedro Sampaio 2017-08-31 18:16:19 UTC
Heap-based buffer overflow vulnerability in the opj_mqc_byteout function in mqc.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (application crash) via a crafted bmp file.

Upstream bug:

https://github.com/uclouvain/openjpeg/issues/731
https://github.com/uclouvain/openjpeg/issues/732
https://github.com/uclouvain/openjpeg/issues/777
https://github.com/uclouvain/openjpeg/issues/778
https://github.com/uclouvain/openjpeg/issues/779
https://github.com/uclouvain/openjpeg/issues/780

Upstream patch:

https://github.com/uclouvain/openjpeg/commit/d27ccf01c68a31ad62b33d2dc1ba2bb1eeaafe7b

References:

https://bugs.gentoo.org/show_bug.cgi?id=629372

Comment 1 Pedro Sampaio 2017-08-31 18:19:54 UTC
Created mingw-openjpeg tracking bugs for this issue:

Affects: fedora-all [bug 1487379]


Created mingw-openjpeg2 tracking bugs for this issue:

Affects: fedora-all [bug 1487380]


Created openjpeg tracking bugs for this issue:

Affects: fedora-all [bug 1487378]


Created openjpeg2 tracking bugs for this issue:

Affects: epel-all [bug 1487381]
Affects: fedora-all [bug 1487382]