VDB
Sign up
MEDIUM5.5

PYSEC-2026-2817

Improper Input Validation in OpenCV

Quick fix

PYSEC-2026-2817 — opencv-python: upgrade to the fixed version with the command below.

pip install --upgrade 'opencv-python>=3.3.1.11'

Details

OpenCV 3.0.0 allows remote attackers to cause a denial of service (segfault) via vectors involving corrupt chunks. This issue was fixed in OpenCV version 3.3.1 (corresponding to OpenCV 3.3.1.11).

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/opencv-python
Introduced in: 0Fixed in: 3.3.1.11
Fixpip install --upgrade 'opencv-python>=3.3.1.11'

References