OpenCV - Buffer and Integer Overflow Vulnerabilities

opencv Updated 02 Oct 2025

Summary

08/01/2018
N/A
Yes i
Unrated
Not published

DLA-1235-1: opencv - security update. Affects opencv versions < 2.3.1-11+deb7u3. Fixed in 2.3.1-11+deb7u3. How to fix ↓

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

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

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 library that provides a wide range of functions for image and video processing. It is widely used in various applications, including robotics, surveillance, and augmented reality. However, versions 3.3 and earlier of OpenCV have been found to have vulnerabilities related to reading data, which can lead to buffer overflows or integer overflows.

Vulnerability Detail

The vulnerabilities in OpenCV arise from issues in the data reading functionality. These issues can be exploited by an attacker to overflow buffers or manipulate integer values, potentially leading to arbitrary code execution or denial of service attacks. These vulnerabilities can be particularly dangerous in scenarios where OpenCV is used to process untrusted data, such as in web applications or image/video file parsing.

How To Fix

Minimum fixed version

2.3.1-11+deb7u3

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

Upgrading to a fixed version of OpenCV is crucial to mitigate the risks associated with these vulnerabilities. Regularly updating your software and staying informed about security advisories is essential to ensure the security of your applications. If you need further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for opencv →

Share this vulnerability

FAQ

OpenCV is an open-source computer vision library that provides functions for image and video processing.

Versions 3.3 and earlier of OpenCV are affected.

These vulnerabilities can allow an attacker to execute arbitrary code or launch denial of service attacks.

No, the recommended solution is to upgrade to a fixed version of OpenCV.

You can update your OpenCV packages by following the instructions provided by Debian LTS security advisories.

Related vulnerabilities

Recent vulnerabilities recorded for opencv.

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

2.3.1-11+deb7u3

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 →

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