HIGH 7.5
PYSEC-2026-702
Out-of-bounds Read in OpenCV
Details
In OpenCV 3.3.1 (corresponding with OpenCV-Python 3.3.1.11), a heap-based buffer over-read exists in the function cv::HdrDecoder::checkSignature in modules/imgcodecs/src/grfmt_hdr.cpp.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI / opencv-contrib-python
Introduced in:
0 Fixed in: 3.4.1.15 Fix
pip install --upgrade 'opencv-contrib-python>=3.4.1.15' References
- https://nvd.nist.gov/vuln/detail/CVE-2017-18009 [ADVISORY]
- https://github.com/opencv/opencv/issues/10479 [WEB]
- https://github.com/opencv/opencv/pull/10480/commits/4ca89db22dea962690f31c1781bce5937ee91837 [WEB]
- https://github.com/opencv/opencv-python [PACKAGE]
- http://www.securityfocus.com/bid/106945 [WEB]
- https://pypi.org/project/opencv-contrib-python [PACKAGE]
- https://github.com/advisories/GHSA-83rh-hx5x-q9p5 [ADVISORY]