CVEvulnerability
CVE-2018-7713
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2018-03-05
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- 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 (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.
Affected configurations
• opencv opencv 3.4.1
Related
Weakness · CWE (1)
- CWE-617 Reachable Assertion weakness
References
- https://github.com/opencv/opencv/issues/10998 github.com
- https://github.com/xiaoqx/pocs/tree/master/opencv/dos-by-assert Third Party Advisory
- https://github.com/opencv/opencv/issues/10998 github.com
- https://github.com/xiaoqx/pocs/tree/master/opencv/dos-by-assert Third Party Advisory