CVE-2018-7712
published high CVSS 3.1 · 7.5opencv: assertion failure in validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| opencv | opencv | 3.4.1 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
2- n/a
- CWE-617 CWE-617 Reachable Assertion
References
2Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- fce1b3f1b84c77a39cae80133ac0d00d6ffa2b04c43f5f38d89e7685905210b6
- Ingested
- 23 Sep 2026, 07:45:05 UTC
- Source record
- Official CVE record