First published: Tue Aug 15 2017(Updated: )
In opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function PxMDecoder::readData has an 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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
OpenCV | <=3.3.0 | |
Debian GNU/Linux | =8.0 | |
Debian GNU/Linux | =9.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2017-12863 is classified as a high-severity vulnerability due to its potential for remote code execution or denial of service.
To fix CVE-2017-12863, upgrade to OpenCV version 3.4.0 or later, which addresses the integer overflow issue.
CVE-2017-12863 affects OpenCV 3.3 and earlier versions, as well as certain Debian Linux versions 8.0 and 9.0.
Exploitation of CVE-2017-12863 can lead to remote code execution or cause denial of service if a vulnerable OpenCV library processes a malicious image.
CVE-2017-12863 is a remote vulnerability because it can be triggered by processing images from remote sources.