opencv: assertion failure in validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp
Published Mar 5, 2018
7.5
HIGHCVSS 3.0
EPSS 2.23%
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 (pixels <= (1<<30)) 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 products
No data.
No data.
Red Hat Enterprise Linux 6
opencv
Not affected
Red Hat Enterprise Linux 7
opencv
Not affected
Red Hat Enterprise Linux 8
opencv
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | opencv | Not affected | n/a |
| Red Hat Enterprise Linux 7 | opencv | Not affected | n/a |
| Red Hat Enterprise Linux 8 | opencv | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.23% (0.02235) | 82.17th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.31% (0.02313) | 81.11th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.26% (0.00264) | 66.49th | v3 (v2023.03.01) |
| May 21, 2024 | 0.26% (0.00264) | 66.03th | v3 (v2023.03.01) |
| Jan 13, 2024 | 0.26% (0.00264) | 64.03th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.24% (0.00245) | 61.31th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.17% (0.00173) | 52.56th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.05% (0.01055) | 52.13th | v2 (v2022.01.01) |
| Sep 17, 2022 | 1.05% (0.01055) | 50.47th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.05% (0.01055) | 48.43th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.05% (0.01055) | 27.52th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.98% (0.00976) | 26.54th | v1 |
| Jan 6, 2022 | 0.98% (0.00976) | 25.91th | v1 |
| Sep 1, 2021 | 0.98% (0.00976) | 61.78th | v1 |
| Apr 14, 2021 | 0.98% (0.00976) | 0.00th | v1 |
References (6)
- https://access.redhat.com/security/cve/CVE-2018-7714 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1553470 Issue Tracking
- https://github.com/opencv/opencv/issues/10998 x_refsource_MISC
- https://github.com/xiaoqx/pocs/tree/master/opencv/dos-by-assert x_refsource_MISCThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-7714
- https://www.cve.org/CVERecord?id=CVE-2018-7714
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-7714 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1553470 | Issue Tracking | |
| https://github.com/opencv/opencv/issues/10998 | x_refsource_MISC | |
| https://github.com/xiaoqx/pocs/tree/master/opencv/dos-by-assert | x_refsource_MISCThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-7714 | ||
| https://www.cve.org/CVERecord?id=CVE-2018-7714 |
Change history (0)
No recorded changes yet.