opencv-python
PyPI30 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting opencv-pythonpage 1 of 1
- CVE-2016-1516HIGHCVSS 8.8EG 8.8✓ Fixed in 3.3.1.112017-04-10
vulnerable: 3.1.0 ... 3.3.0.9 (12 versions)
OpenCV 3.0.0 has a double free issue that allows attackers to execute arbitrary code.
- CVE-2016-1517MEDIUMCVSS 5.5EG 5.5✓ Fixed in 3.3.1.112017-04-10
vulnerable: 3.1.0 ... 3.3.0.9 (12 versions)
OpenCV 3.0.0 allows remote attackers to cause a denial of service (segfault) via vectors involving corrupt chunks.
- CVE-2017-1000450HIGHCVSS 8.8✓ Fixed in 3.3.1.112018-01-02
vulnerable: 3.1.0 ... 3.3.0.9 (12 versions)
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 …
- CVE-2017-12597HIGHCVSS 8.8EG 8.8✓ Fixed in 3.3.1.112017-08-07
vulnerable: 3.1.0 ... 3.3.0.9 (12 versions)
OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds write error in the function FillColorRow1 in utils.cpp when reading an image file by using cv::imread.
- CVE-2017-12598HIGHCVSS 8.8EG 8.8✓ Fixed in 3.3.1.112017-08-07
vulnerable: 3.1.0 ... 3.3.0.9 (12 versions)
OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds read error in the cv::RBaseStream::readBlock function in modules/imgcodecs/src/bitstrm.cpp when reading an image file by using cv::imread, as demonstrated by the…
- CVE-2017-12599HIGHCVSS 8.8EG 8.8✓ Fixed in 3.3.1.112017-08-07
vulnerable: 3.1.0 ... 3.3.0.9 (12 versions)
OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds read error in the function icvCvt_BGRA2BGR_8u_C4C3R when reading an image file by using cv::imread.
- CVE-2017-12600HIGHCVSS 7.5EG 7.5✓ Fixed in 3.3.1.112017-08-07
OpenCV (Open Source Computer Vision Library) through 3.3 has a denial of service (CPU consumption) issue, as demonstrated by the 11-opencv-dos-cpu-exhaust test case.
- CVE-2017-12601HIGHCVSS 8.8EG 8.8✓ Fixed in 3.3.1.112017-08-07
vulnerable: 3.1.0 ... 3.3.0.9 (12 versions)
OpenCV (Open Source Computer Vision Library) through 3.3 has a buffer overflow in the cv::BmpDecoder::readData function in modules/imgcodecs/src/grfmt_bmp.cpp when reading an image file by using cv::imread, as demonstrated by the 4-buf-ove…
- CVE-2017-12602HIGHCVSS 7.5EG 7.5✓ Fixed in 3.3.1.112017-08-07
OpenCV (Open Source Computer Vision Library) through 3.3 has a denial of service (memory consumption) issue, as demonstrated by the 10-opencv-dos-memory-exhaust test case.
- CVE-2017-12603HIGHCVSS 8.8EG 8.8✓ Fixed in 3.3.1.112017-08-07
vulnerable: 3.1.0 ... 3.3.0.9 (12 versions)
OpenCV (Open Source Computer Vision Library) through 3.3 has an invalid write in the cv::RLByteStream::getBytes function in modules/imgcodecs/src/bitstrm.cpp when reading an image file by using cv::imread, as demonstrated by the 2-opencv-h…
- CVE-2017-12604HIGHCVSS 8.8EG 8.8✓ Fixed in 3.3.1.112017-08-07
vulnerable: 3.1.0 ... 3.3.0.9 (12 versions)
OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds write error in the FillUniColor function in utils.cpp when reading an image file by using cv::imread.
- CVE-2017-12605HIGHCVSS 8.8EG 8.8✓ Fixed in 3.3.1.112017-08-07
vulnerable: 3.1.0 ... 3.3.0.9 (12 versions)
OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds write error in the FillColorRow8 function in utils.cpp when reading an image file by using cv::imread.
- CVE-2017-12606HIGHCVSS 8.8EG 8.8✓ Fixed in 3.3.1.112017-08-07
vulnerable: 3.1.0 ... 3.3.0.9 (12 versions)
OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds write error in the function FillColorRow4 in utils.cpp when reading an image file by using cv::imread.
- CVE-2017-12862HIGHCVSS 8.8EG 8.8✓ Fixed in 3.3.1.112017-08-15
vulnerable: 3.1.0 ... 3.3.0.9 (12 versions)
In modules/imgcodecs/src/grfmt_pxm.cpp, the length of buffer AutoBuffer _src is small than expected, which will cause copy buffer overflow later. If the image is from remote, may lead to remote code execution or denial of service. This aff…
- CVE-2017-12863HIGHCVSS 8.8EG 8.8✓ Fixed in 3.3.1.112017-08-15
vulnerable: 3.1.0 ... 3.3.0.9 (12 versions)
In opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function PxMDecoder::readData has an integer overflow when calculate src_pitch. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv 3.3 and…
- CVE-2017-12864HIGHCVSS 8.8EG 8.8✓ Fixed in 3.3.1.112017-08-15
vulnerable: 3.1.0 ... 3.3.0.9 (12 versions)
In opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function ReadNumber did not checkout the input length, which lead to integer overflow. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv …
- CVE-2017-14136MEDIUMCVSS 6.5EG 6.5✓ Fixed in 3.3.1.112017-09-04
vulnerable: 3.1.0 ... 3.3.0.9 (12 versions)
OpenCV (Open Source Computer Vision Library) 3.3 has an out-of-bounds write error in the function FillColorRow1 in utils.cpp when reading an image file by using cv::imread. NOTE: this vulnerability exists because of an incomplete fix for C…
- CVE-2017-17760MEDIUMCVSS 6.5EG 6.5✓ Fixed in 3.4.0.122017-12-29
vulnerable: 3.1.0 ... 3.3.1.11 (13 versions)
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.
- CVE-2017-18009HIGHCVSS 7.5✓ Fixed in 3.4.1.152018-01-01
vulnerable: 3.1.0 ... 3.4.0.14 (15 versions)
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.
- CVE-2018-5268MEDIUMCVSS 5.5✓ Fixed in 3.4.1.152018-01-08
vulnerable: 3.1.0 ... 3.4.0.14 (15 versions)
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.
- CVE-2018-5269MEDIUMCVSS 5.5✓ Fixed in 3.4.1.152018-01-08
vulnerable: 3.1.0 ... 3.4.0.14 (15 versions)
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.
- CVE-2019-14491HIGHCVSS 8.2EG 8.2✓ Fixed in 4.1.1.262019-08-01
vulnerable: 4.0.0.21, 4.0.1.23, 4.0.1.24, 4.1.0.25
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<cv::HaarEvaluator> in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.
- CVE-2019-14492HIGHCVSS 7.5EG 7.5✓ Fixed in 4.1.1.262019-08-01
vulnerable: 4.0.0.21, 4.0.1.23, 4.0.1.24, 4.1.0.25
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.
- CVE-2019-14493HIGHCVSS 7.5EG 7.5✓ Fixed in 4.1.1.262019-08-01
vulnerable: 3.1.0 ... 4.1.0.25 (45 versions)
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.
- CVE-2019-15939MEDIUMCVSS 5.9EG 5.9✓ Fixed in 4.1.1.262019-09-05
vulnerable: 3.1.0 ... 4.1.0.25 (45 versions)
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.
- CVE-2019-16249MEDIUMCVSS 5.3EG 5.3✓ Fixed in 4.1.2.302019-09-11
vulnerable: 3.1.0 ... 4.1.1.26 (46 versions)
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.
- CVE-2019-19624MEDIUMCVSS 6.5EG 6.5✓ Fixed in 4.1.0.252019-12-06
vulnerable: 3.1.0 ... 4.0.1.24 (44 versions)
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 whe…
- CVE-2019-5063HIGHCVSS 8.8EG 8.82020-01-03
vulnerable: 3.1.0 ... 4.1.0.25 (45 versions)
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 e…
- CVE-2019-5064HIGHCVSS 8.8EG 8.8✓ Fixed in 4.2.0.322020-01-03
vulnerable: 3.1.0 ... 4.1.2.30 (47 versions)
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…
- CVE-2019-9423HIGHCVSS 7.8EG 7.82019-09-27
vulnerable: 3.1.0 ... 4.1.1.26 (46 versions)
In opencv calls that use libpng, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges required. User interaction is not required for…
Check whether opencv-python is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for opencv-python CVEs against the assets you own.
Start Free Scan →