# CVE-2018-7712

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2018-03-05 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2018-7712
- Record: https://cvemate.com/vulnerability/CVE-2018-7712 · JSON: https://cvemate.com/vulnerability/CVE-2018-7712/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 2.253%, percentile 83.522%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu opencv (Ubuntu): All versions (No fix recorded)
- opencv opencv: 3.4.1

## References

- <https://github.com/xiaoqx/pocs/tree/master/opencv/dos-by-assert>
- <https://github.com/opencv/opencv/issues/10998>
- <https://ubuntu.com/security/CVE-2018-7712>
- <https://www.cve.org/CVERecord?id=CVE-2018-7712>

---

Data as of 2026-12-05T07:29:25.917Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
