HighGHSA-c7gp-2pch-qh2vCVE-2017-12604PYSEC-2026-2815PYSEC-2026-706
Out-of-bounds Write in OpenCV
Published 12 Oct 2021 · Updated 10 Sept 2026
Is your project on an affected opencv-python?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
opencv-pythonPyPI
- Affected
- <3.3.1.11
- Fixed in
- 3.3.1.11
Update to the fixed version for your release line, for example:
pip install 'opencv-python>=3.3.1.11'- Affected
- <3.3.1.11
- Fixed in
- 3.3.1.11
Update to the fixed version for your release line, for example:
pip install 'opencv-contrib-python>=3.3.1.11'Details
OpenCV (Open Source Computer Vision Library) through 3.3 (corresponding to OpenCV-Python and OpenCV-Contrib-Python 3.3.0.9) has an out-of-bounds write error in the FillUniColor function in utils.cpp when reading an image file by using cv::imread.
Is GHSA-c7gp-2pch-qh2v in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected opencv-python, and gives you the command that fixes it.
More advisories for opencv-python
- HighGHSA-qr4w-53vh-m672opencv-python bundled libwebp binaries in wheels that are vulnerable to CVE-2023-4863 · 30 Aug 2024
- LowPYSEC-2023-183No summary published · 29 Sept 2023
- MediumCVE-2018-5268Out-of-bounds Write in OpenCV. · 12 Oct 2021
- HighCVE-2019-5064Out-of-bounds Write in OpenCV · 12 Oct 2021
- HighCVE-2019-5063Out-of-bounds Write in OpenCV · 12 Oct 2021
- MediumCVE-2019-19624Out-of-bounds Read in OpenCV · 12 Oct 2021
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2017-12604
- Linkgithub.com/opencv/opencv/issues/9309
- Linkgithub.com/opencv/opencv/pull/9376
- Packagegithub.com/opencv/opencv-python
- Linkgithub.com/xiaoqx/pocs/blob/master/opencv.md
- Linklists.debian.org/debian-lts-announce/2018/07/msg00030.html
- Linklists.debian.org/debian-lts-announce/2021/10/msg00028.html
- Linksecurity.gentoo.org/glsa/201712-02
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.