What’s Vulnerable › Vulnerabilities
CVE-2018-7714
- Severity: high (CVSS 7.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-03-05 · updated 2026-06-17
- Weakness: CWE-617
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.
Affected products
- OpenCV 3.0.0: 3.4.1
References
- https://github.com/opencv/opencv/issues/10998
- https://github.com/xiaoqx/pocs/tree/master/opencv/dos-by-assert
- https://github.com/opencv/opencv/issues/10998
- https://github.com/xiaoqx/pocs/tree/master/opencv/dos-by-assert
Get alerted when CVE-2018-7714 or the next vulnerability affects your stack