Opencv vulnerabilities
36 known vulnerabilities affecting opencv/opencv.
Total CVEs
36
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL1HIGH26MEDIUM9
Vulnerabilities
Page 1 of 2
CVE-2025-53644MEDIUMCVSS 6.6≥ 4.10.0, < 4.12.0v>= 4.10.0, < 4.12.02025-07-17
CVE-2025-53644 [MEDIUM] CWE-457 CVE-2025-53644: OpenCV is an Open Source Computer Vision Library. Versions 4.10.0 and 4.11.0 have an uninitialized p
OpenCV is an Open Source Computer Vision Library. Versions 4.10.0 and 4.11.0 have an uninitialized pointer variable on stack that may lead to arbitrary heap buffer write when reading crafted JPEG images. Version 4.12.0 fixes the vulnerability.
cvelistv5nvdosv
CVE-2023-2618HIGHCVSS 7.5≥ 4.5.2, < 4.8.02023-05-10
CVE-2023-2618 [HIGH] CWE-401 CVE-2023-2618: A vulnerability, which was classified as problematic, has been found in OpenCV wechat_qrcode Module
A vulnerability, which was classified as problematic, has been found in OpenCV wechat_qrcode Module up to 4.7.0. Affected by this issue is the function DecodedBitStreamParser::decodeHanziSegment of the file qrcode/decoder/decoded_bit_stream_parser.cpp. The manipulation leads to memory leak. The attack may be launched remotely. The name of the patch is 2b
nvdosv
CVE-2023-2617HIGHCVSS 7.5≥ 4.5.2, ≤ 4.7.02023-05-10
CVE-2023-2617 [HIGH] CWE-476 CVE-2023-2617: A vulnerability classified as problematic was found in OpenCV wechat_qrcode Module up to 4.7.0. Affe
A vulnerability classified as problematic was found in OpenCV wechat_qrcode Module up to 4.7.0. Affected by this vulnerability is the function DecodedBitStreamParser::decodeByteSegment of the file qrcode/decoder/decoded_bit_stream_parser.cpp. The manipulation leads to null pointer dereference. The attack can be launched remotely. The exploit has been di
nvdosv
CVE-2019-10061CRITICAL≥ 0, < 6.1.02021-10-12
CVE-2019-10061 [CRITICAL] CWE-78 OS Command Injection in node-opencv
OS Command Injection in node-opencv
utils/find-opencv.js in node-opencv (aka OpenCV bindings for Node.js) prior to 6.1.0 is vulnerable to Command Injection. It does not validate user input allowing attackers to execute arbitrary commands.
ghsaosv
CVE-2019-5064HIGHCVSS 8.8≥ 4.0.0, < 4.2.0vOpenCV 4.1.02020-01-03
CVE-2019-5064 [HIGH] CWE-120 CVE-2019-5064: An exploitable heap buffer overflow vulnerability exists in the data structure persistence functiona
An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV, before version 4.2.0. A specially crafted JSON file can cause a buffer overflow, resulting in multiple heap corruptions and potentially code execution. An attacker can provide a specially crafted file to trigger this vulnerability.
cvelistv5nvdosv
CVE-2019-5063HIGHCVSS 8.8v4.1.0vOpenCV 4.1.02020-01-03
CVE-2019-5063 [HIGH] CWE-120 CVE-2019-5063: An exploitable heap buffer overflow vulnerability exists in the data structure persistence functiona
An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV 4.1.0. A specially crafted XML file can cause a buffer overflow, resulting in multiple heap corruptions and potential code execution. An attacker can provide a specially crafted file to trigger this vulnerability.
cvelistv5nvdosv
CVE-2019-19624MEDIUMCVSS 6.5fixed in 4.1.12019-12-06
CVE-2019-19624 [MEDIUM] CWE-125 CVE-2019-19624: An out-of-bounds read was discovered in OpenCV before 4.1.1. Specifically, variable coarsest_scale i
An out-of-bounds read was discovered in OpenCV before 4.1.1. Specifically, variable coarsest_scale is assumed to be greater than or equal to finest_scale within the calc()/ocl_calc() functions in dis_flow.cpp. However, this is not true when dealing with small images, leading to an out-of-bounds read of the heap-allocated arrays Ux and Uy.
nvdosv
CVE-2019-16249MEDIUMCVSS 5.3v4.1.12019-09-11
CVE-2019-16249 [MEDIUM] CWE-125 CVE-2019-16249: OpenCV 4.1.1 has an out-of-bounds read in hal_baseline::v_load in core/hal/intrin_sse.hpp when calle
OpenCV 4.1.1 has an out-of-bounds read in hal_baseline::v_load in core/hal/intrin_sse.hpp when called from computeSSDMeanNorm in modules/video/src/dis_flow.cpp.
nvdosv
CVE-2019-15939MEDIUMCVSS 5.9≤ 4.1.02019-09-05
CVE-2019-15939 [MEDIUM] CWE-369 CVE-2019-15939: An issue was discovered in OpenCV 4.1.0. There is a divide-by-zero error in cv::HOGDescriptor::getDe
An issue was discovered in OpenCV 4.1.0. There is a divide-by-zero error in cv::HOGDescriptor::getDescriptorSize in modules/objdetect/src/hog.cpp.
nvdosv
CVE-2019-14491HIGHCVSS 8.2fixed in 3.4.7≥ 4.0.0, < 4.1.12019-08-01
CVE-2019-14491 [HIGH] CWE-125 CVE-2019-14491: An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1. There is an out of bounds read
An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1. There is an out of bounds read in the function cv::predictOrdered in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.
nvdosv
CVE-2019-14493HIGHCVSS 7.5fixed in 4.1.12019-08-01
CVE-2019-14493 [HIGH] CWE-476 CVE-2019-14493: An issue was discovered in OpenCV before 4.1.1. There is a NULL pointer dereference in the function
An issue was discovered in OpenCV before 4.1.1. There is a NULL pointer dereference in the function cv::XMLParser::parse at modules/core/src/persistence.cpp.
nvdosv
CVE-2019-14492HIGHCVSS 7.5fixed in 3.4.7≥ 4.0.0, < 4.1.12019-08-01
CVE-2019-14492 [HIGH] CWE-125 CVE-2019-14492: An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1. There is an out of bounds read/
An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1. There is an out of bounds read/write in the function HaarEvaluator::OptFeature::calc in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.
nvdosv
CVE-2018-7712HIGHCVSS 7.5v3.4.12018-03-05
CVE-2018-7712 [HIGH] CWE-617 CVE-2018-7712: The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in OpenCV 3.4.1 allows rem
The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in OpenCV 3.4.1 allows remote attackers to cause a denial of service (assertion failure) because (size.height <= (1<<20)) may be false. Note: “OpenCV CV_Assert is not an assertion (C-like assert()), it is regular C++ exception which can raised in case of invalid or non-supported p
nvd
CVE-2018-7713HIGHCVSS 7.5v3.4.12018-03-05
CVE-2018-7713 [HIGH] CWE-617 CVE-2018-7713: The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in OpenCV 3.4.1 allows rem
The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in OpenCV 3.4.1 allows remote attackers to cause a denial of service (assertion failure) because (size.width <= (1<<20)) may be false. Note: “OpenCV CV_Assert is not an assertion (C-like assert()), it is regular C++ exception which can raised in case of invalid or non-supported pa
nvd
CVE-2018-7714HIGHCVSS 7.5v3.4.12018-03-05
CVE-2018-7714 [HIGH] CWE-617 CVE-2018-7714: The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in OpenCV 3.4.1 allows rem
The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in OpenCV 3.4.1 allows remote attackers to cause a denial of service (assertion failure) because (pixels <= (1<<30)) may be false. Note: “OpenCV CV_Assert is not an assertion (C-like assert()), it is regular C++ exception which can raised in case of invalid or non-supported parame
nvd
CVE-2018-5269MEDIUMCVSS 5.5v3.3.12018-01-08
CVE-2018-5269 [MEDIUM] CWE-617 CVE-2018-5269: In OpenCV 3.3.1, an assertion failure happens in cv::RBaseStream::setPos in modules/imgcodecs/src/bi
In OpenCV 3.3.1, an assertion failure happens in cv::RBaseStream::setPos in modules/imgcodecs/src/bitstrm.cpp because of an incorrect integer cast.
nvdosv
CVE-2018-5268MEDIUMCVSS 5.5v3.3.12018-01-08
CVE-2018-5268 [MEDIUM] CWE-787 CVE-2018-5268: In OpenCV 3.3.1, a heap-based buffer overflow happens in cv::Jpeg2KDecoder::readComponent8u in modul
In OpenCV 3.3.1, a heap-based buffer overflow happens in cv::Jpeg2KDecoder::readComponent8u in modules/imgcodecs/src/grfmt_jpeg2000.cpp when parsing a crafted image file.
nvdosv
CVE-2017-1000450HIGHCVSS 8.8≤ 3.3.02018-01-02
CVE-2017-1000450 [HIGH] CWE-190 CVE-2017-1000450: In opencv/modules/imgcodecs/src/utils.cpp, functions FillUniColor and FillUniGray do not check the i
In opencv/modules/imgcodecs/src/utils.cpp, functions FillUniColor and FillUniGray do not check the input length, which can lead to integer overflow. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv 3.3 and earlier.
nvdosv
CVE-2017-18009HIGHCVSS 7.5v3.3.12018-01-01
CVE-2017-18009 [HIGH] CWE-125 CVE-2017-18009: In OpenCV 3.3.1, a heap-based buffer over-read exists in the function cv::HdrDecoder::checkSignature
In OpenCV 3.3.1, a heap-based buffer over-read exists in the function cv::HdrDecoder::checkSignature in modules/imgcodecs/src/grfmt_hdr.cpp.
nvdosv
CVE-2017-17760MEDIUMCVSS 6.5v3.3.12017-12-29
CVE-2017-17760 [MEDIUM] CWE-119 CVE-2017-17760: OpenCV 3.3.1 has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, becaus
OpenCV 3.3.1 has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used.
nvdosv
1 / 2Next →