CVE-2016-1517: Improper Input Validation in OpenCV

opencv-python Updated 02 Oct 2025

Summary

12/10/2021
Yes i
Moderate
5.5

CVE-2016-1517: Improper Input Validation in OpenCV. Affects opencv-python versions < 3.3.1.11. Fixed in 3.3.1.11. How to fix ↓

Also tracked for

The same CVE-2016-1517 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

OpenCV is an open-source computer vision and machine learning software library. It provides a wide range of functions and algorithms for image and video processing, feature detection, object recognition, and more. OpenCV is widely used in various applications, including robotics, augmented reality, and surveillance systems. However, a vulnerability has been discovered in OpenCV version 3.0.0 that allows remote attackers to cause a denial of service (segfault) through vectors involving corrupt chunks. This issue was addressed in OpenCV version 3.3.1.11.

Vulnerability Detail

The vulnerability in OpenCV version 3.0.0 arises from improper input validation. Remote attackers can exploit this vulnerability by providing corrupt chunks, leading to a denial of service (segfault). The impact of this vulnerability can disrupt the availability of the affected system, potentially affecting critical operations that rely on OpenCV. The Common Vulnerability Scoring System (CVSS) score for this vulnerability is 5.5, indicating a moderate severity level.

How To Fix

Minimum fixed version

3.3.1.11

This is the first release that contains the fix.

pip install --upgrade "opencv-python==3.3.1.11"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround available for this vulnerability. It is strongly advised to upgrade to the fixed version of OpenCV to ensure the security and stability of the system.

Conclusion

In conclusion, OpenCV version 3.0.0 is vulnerable to improper input validation, which can result in a denial of service. Users are advised to upgrade to OpenCV version 3.3.1.11 or later to mitigate this vulnerability. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for opencv-python →

Share this vulnerability

FAQ

OpenCV is an open-source computer vision and machine learning software library used for image and video processing, object recognition, and more.

The vulnerability allows remote attackers to cause a denial of service (segfault), potentially disrupting the availability of the affected system.

To fix this vulnerability, it is recommended to upgrade to OpenCV version 3.3.1.11 or later.

No, there is no specific workaround available. Upgrading to the fixed version is the recommended solution.

The CVSS score for this vulnerability is 5.5, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for opencv-python.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

3.3.1.11

This is the first release that contains the fix.

pip install --upgrade "opencv-python==3.3.1.11"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback