CVE-2018-7712
mediumpriority · track · 31EPSS 0.022 · 83 %ileEUUSEPSS · scored 2026-10-28
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://github.com/opencv/opencv/issues/10998cnnvd
- https://github.com/xiaoqx/pocs/tree/master/opencv/dos-by-assertcnnvd
- https://github.com/opencv/opencv/issues/10998enisa_euvd
- https://github.com/xiaoqx/pocs/tree/master/opencv/dos-by-assertenisa_euvd
- https://github.com/opencv/opencv/issues/10998nvd
- https://github.com/xiaoqx/pocs/tree/master/opencv/dos-by-assertThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan