HIGH8.8
PYSEC-2026-707
Double Free in OpenCV
Quick fix
PYSEC-2026-707 — opencv-contrib-python: upgrade to the fixed version with the command below.
pip install --upgrade 'opencv-contrib-python>=3.3.1.11'Details
OpenCV 3.0.0 has a double free issue that allows attackers to execute arbitrary code. This issue was fixed in OpenCV version 3.3.1 (corresponding to OpenCV-Python and and OpenCV-Contrib-Python 3.3.1.11).
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/opencv-contrib-python
Introduced in:
0Fixed in: 3.3.1.11Fix
pip install --upgrade 'opencv-contrib-python>=3.3.1.11'References
- https://nvd.nist.gov/vuln/detail/CVE-2016-1516[ADVISORY]
- https://github.com/opencv/opencv/issues/5956[WEB]
- https://github.com/opencv/opencv/pull/9376[WEB]
- https://arxiv.org/pdf/1701.04739.pdf[WEB]
- https://github.com/opencv/opencv-python[PACKAGE]
- https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html[WEB]
- https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html[WEB]
- https://pypi.org/project/opencv-contrib-python[PACKAGE]
- https://github.com/advisories/GHSA-cvhw-2593-5j2q[ADVISORY]