Bug 1483696 (CVE-2017-12863)

Summary: CVE-2017-12863 opencv: Integer overflow in PxMDecoder::readData function in imgcodecs/src/grfmt_pxm.cpp
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: databases-maint, hhorak, jmlich83, jridky, karlthered, kwizart, nomis80, sergio
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-25 05:05:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1483700    
Bug Blocks:    

Description Pedro Sampaio 2017-08-21 18:39:23 UTC
In opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function
PxMDecoder::readData has a integer overflow when calculate src_pitch.
If the image is from remote, may lead to remote code execution or
denial of service. This affects Opencv 3.3 and earlier.

Upstream bug:


Comment 1 Pedro Sampaio 2017-08-21 18:45:47 UTC
Created opencv tracking bugs for this issue:

Affects: fedora-all [bug 1483700]