OpenCV - Out-of-Bounds Read/Write Errors and Buffer Overflows
Summary
DLA-1117-1: opencv - security update. Affects opencv versions < 2.3.1-11+deb7u2. Fixed in 2.3.1-11+deb7u2. How to fix ↓
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.
No signup required · Results in about 60 seconds
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, object detection, and more. OpenCV version 3.3 and earlier are affected by multiple vulnerabilities, including out-of-bounds read/write errors, buffer overflows, and double free issues.
Vulnerability Detail
The vulnerabilities in OpenCV can be exploited by an attacker to read or write data outside the bounds of allocated memory, leading to potential information disclosure or arbitrary code execution. These vulnerabilities may be triggered by processing specially crafted image or video files. The impact of these vulnerabilities can vary depending on the context in which OpenCV is used, but they have the potential to compromise the integrity and confidentiality of the system.
How To Fix
Minimum fixed version
2.3.1-11+deb7u2
This is the first release that contains the fix.
sudo apt-get install --only-upgrade opencv
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Conclusion
OpenCV versions up to 3.3 are affected by multiple vulnerabilities, including out-of-bounds read/write errors, buffer overflows, and double free issues. It is crucial to upgrade to a fixed version of OpenCV to mitigate the risk of exploitation. For further assistance and support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for opencv →
FAQ
OpenCV is an open-source computer vision and machine learning software library that provides various functions and algorithms for image and video processing.
OpenCV versions up to and including 3.3 are affected by these vulnerabilities.
These vulnerabilities can be exploited by processing specially crafted image or video files.
These vulnerabilities can lead to information disclosure or arbitrary code execution, potentially compromising the integrity and confidentiality of the system.
To fix these vulnerabilities, upgrade to a fixed version of OpenCV, such as version 2.3.1-11+deb7u2 for Debian 7 Wheezy.
Related vulnerabilities
Recent vulnerabilities recorded for opencv.