PyPA Advisory Database
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | opencv-contrib-python | All versions before 3.4.1.15 (fixed in 3.4.1.15) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-18009
- https://github.com/opencv/opencv/issues/10479
- https://github.com/opencv/opencv/pull/10480/commits/4ca89db22dea962690f31c1781bce5937ee91837
- https://github.com/opencv/opencv-python
- http://www.securityfocus.com/bid/106945
- https://pypi.org/project/opencv-contrib-python
- https://github.com/advisories/GHSA-83rh-hx5x-q9p5