Bug 1532552 (CVE-2018-5268)

Summary: CVE-2018-5268 opencv: Heap-based buffer overflow in cv::Jpeg2KDecoder::readComponent8u
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: andrew, databases-maint, hhorak, jmlich83, jridky, karlthered, kwizart, rakesh.pandit, sergio, viktor.vix.jancik
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:36: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: 1531611    
Bug Blocks:    

Description Andrej Nemec 2018-01-09 10:13:02 UTC
In OpenCV 3.3.1, a heap-based buffer overflow happens in cv::Jpeg2KDecoder::readComponent8u in modules/imgcodecs/src/grfmt_jpeg2000.cpp when parsing a crafted image file. This could cause the application to crash.

Upstream issue:

https://github.com/opencv/opencv/issues/10541

Comment 1 Andrej Nemec 2018-01-09 10:14:20 UTC
Created opencv tracking bugs for this issue:

Affects: fedora-all [bug 1531611]