← Vulnerability feed

Vulnerability record · CVE-2018-7714 · published 5 March 2018

CVE-2018-7714: Opencv vulnerability

Opencv · Opencv

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 parameters.

7.5 CVSS 3.0 High EPSS 2.2% · top 17.9% CWE-617 · CWE-617
7.5CVSS 3.0 base score, v2 5.0
2.2%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References
17 Jun 2026Last modified by NVD

Description

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 parameters.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-7714 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2019-5064Opencv classic buffer overflow vulnerabilityAn exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV, before version 4.2.0. A specially…EPSS 11%8.8CVE-2019-5063Opencv classic buffer overflow vulnerabilityAn exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV 4.1.0. A specially crafted XML fil…EPSS 21%8.8CVE-2017-1000450Opencv integer overflow vulnerabilityIn opencv/modules/imgcodecs/src/utils.cpp, functions FillUniColor and FillUniGray do not check the input length, which can lead to integer overflow. …EPSS 3.3%8.8CVE-2017-12864Opencv integer overflow vulnerabilityIn opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function ReadNumber did not checkout the input length, which lead to integer overflow. If the image is…EPSS 2.7%8.8CVE-2017-12862Opencv out-of-bounds write vulnerabilityIn modules/imgcodecs/src/grfmt_pxm.cpp, the length of buffer AutoBuffer _src is small than expected, which will cause copy buffer overflow later. If …EPSS 3.1%8.8CVE-2017-12863Opencv integer overflow vulnerabilityIn opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function PxMDecoder::readData has an integer overflow when calculate src_pitch. If the image is from r…EPSS 2.7%8.8CVE-2017-12599Opencv out-of-bounds read vulnerabilityOpenCV (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 ima…EPSS 2.0%8.8CVE-2017-12604Opencv out-of-bounds write vulnerabilityOpenCV (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 i…EPSS 2.0%

Source: NIST National Vulnerability Database (record CVE-2018-7714), CISA KEV, FIRST EPSS (scores of 2026-09-30). This page is refreshed as NVD updates the record.