CVE-2017-12863Published Aug 15, 2017 · Aug 15Updated Oct 24
Integer Overflow or Wraparound in OpenCV
High8.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| opencv-python PyPI |
|
|
| opencv-contrib-python PyPI |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| opencv-python PyPI |
|
|
| opencv-contrib-python PyPI |
|
|
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.
From the CVE record · mitre
An integer overflow in OpenCV’s PxMDecoder::readData affects OpenCV 3.3 and earlier. Processing an image supplied remotely may lead to code execution or denial of service; the input does not specify authentication or user-interaction requirements.
Teams running OpenCV 3.3 or earlier, or PyPI opencv-python or opencv-contrib-python versions before 3.3.1.11, should check their installations.