Vulnerability Details : CVE-2018-7714
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.
Vulnerability category: Denial of service
Products affected by CVE-2018-7714
- cpe:2.3:a:opencv:opencv:3.4.1:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-7714
0.26%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 64 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-7714
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2018-7714
-
The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-7714
-
https://github.com/opencv/opencv/issues/10998
assertion failure cause a denial of service · Issue #10998 · opencv/opencv · GitHub
-
https://github.com/xiaoqx/pocs/tree/master/opencv/dos-by-assert
pocs/opencv/dos-by-assert at master · xiaoqx/pocs · GitHubThird Party Advisory
Jump to