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.width <= (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.
References
Link | Resource |
---|---|
https://github.com/opencv/opencv/issues/10998 | |
https://github.com/xiaoqx/pocs/tree/master/opencv/dos-by-assert | Third Party Advisory |
https://github.com/opencv/opencv/issues/10998 | |
https://github.com/xiaoqx/pocs/tree/master/opencv/dos-by-assert | Third Party Advisory |
Configurations
History
21 Nov 2024, 04:12
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/opencv/opencv/issues/10998 - | |
References | () https://github.com/xiaoqx/pocs/tree/master/opencv/dos-by-assert - Third Party Advisory |
07 Nov 2023, 03:01
Type | Values Removed | Values Added |
---|---|---|
Summary | 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.width <= (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. |
Information
Published : 2018-03-05 23:29
Updated : 2024-11-21 04:12
NVD link : CVE-2018-7713
Mitre link : CVE-2018-7713
CVE.ORG link : CVE-2018-7713
JSON object : View
Products Affected
opencv
- opencv
CWE
CWE-617
Reachable Assertion