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.
References (2)
Core 2
Core References
Issue Tracking x_refsource_misc
https://github.com/opencv/opencv/issues/10998
Third Party Advisory x_refsource_misc
https://github.com/xiaoqx/pocs/tree/master/opencv/dos-by-assert
Scores
CVSS v3
7.5
EPSS
0.0041
EPSS Percentile
61.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-617
Status
published
Products (1)
opencv/opencv
3.4.1
Published
Mar 05, 2018
Tracked Since
Feb 18, 2026