CVE-2018-7712: opencv Reachable Assertion
Vulnerability summary
CVE-2018-7712 is a high (CVSS 7.5) Reachable Assertion vulnerability in opencv. EPSS estimates a 2.25% chance of exploitation in the next 30 days, higher than 83.5% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 05-03-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 3 sources · 3 versions- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
2.25%
Chance of exploitation in the next 30 days
Percentile
84%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 2.23% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Opencv1 product
- opencv3.4.1
Ubuntu1 product
- opencvAll versions (No fix recorded)
2 vendors · 2 products
References
4 links- github.com/opencv/opencv/issues/10998X Refsource MISC