Vulnerability 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 (size.height <= (1<<20)) 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Opencv | Opencv | 3.4.1 |
Related Weaknesses (CWE)
References
- https://github.com/opencv/opencv/issues/10998
- https://github.com/xiaoqx/pocs/tree/master/opencv/dos-by-assertThird Party Advisory
- https://github.com/opencv/opencv/issues/10998
- https://github.com/xiaoqx/pocs/tree/master/opencv/dos-by-assertThird Party Advisory
FAQ
What is CVE-2018-7712?
CVE-2018-7712 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 ...
How severe is CVE-2018-7712?
CVE-2018-7712 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-7712?
Check the references section above for vendor advisories and patch information. Affected products include: Opencv Opencv.