CVE-2018-5268Published Jan 8, 2018 · Jan 8Updated Oct 24
Out-of-bounds Write in OpenCV.
Medium5.5Fix 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 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.
From the CVE record · mitre
OpenCV 3.3.1 has a heap-based buffer overflow in its JPEG 2000 decoder. A crafted image file can trigger the overflow when parsed; the input does not specify whether authentication or user interaction is required.
Check installations of OpenCV 3.3.1 and the PyPI packages opencv-python or opencv-contrib-python below 3.4.1.15.