Vulnerability in Opencv
CVE-2018-7713
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.023, 83.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Opencv — versions 3.4.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (andir/nixos-issue-db-example, xiaoqx/pocs). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/xiaoqx/pocs/tree/master/opencv/dos-by-assert (Third Party Advisory)
- github.com/opencv/opencv/issues/10998