OpenCV 3.4.1 loadsave.cpp validateInputImageSize code

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.

A vulnerability was found in OpenCV 3.4.1 (Image Processing Software). It has been rated as problematic. This issue affects the function validateInputImageSize of the file modules/imgcodecs/src/loadsave.cpp. The manipulation with an unknown input leads to a code vulnerability. Using CWE to declare the problem leads to CWE-17. Impacted is availability. The summary by CVE is:

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.

The bug was discovered 03/05/2018. The weakness was released 03/05/2018 (Website). The advisory is shared at The identification of this vulnerability is CVE-2018-7712 since 03/05/2018. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available.

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

Entries connected to this vulnerability are available at 114102 and 114103.






CPE 2.3info

CPE 2.2info


VulDB Meta Base Score: 6.4
VulDB Meta Temp Score: 6.4

VulDB Base Score: 5.3
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.5
NVD Vector: 🔍



VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍


Class: Code
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍


Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍


03/05/2018 🔍
03/05/2018 +0 days 🔍
03/05/2018 +0 days 🔍
03/05/2018 +0 days 🔍
03/06/2018 +1 days 🔍
02/17/2023 +1809 days 🔍


Advisory: 10998
Status: Not defined

CVE: CVE-2018-7712 (🔍)
See also: 🔍


Created: 03/06/2018 07:51 AM
Updated: 02/17/2023 07:21 AM
Changes: 03/06/2018 07:51 AM (57), 01/10/2020 04:12 PM (1), 02/17/2023 07:21 AM (3)
Complete: 🔍


No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!