The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in OpenCV 3.4.1…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA. Impact type from CWE-617.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
Not affected: 3 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2018-7714
- 2026-10-03 Alias added: GHSA-2862-4mgm-j6fv
References
More Opencv vulnerabilities
- TI-2023-02446 OpenCV wechat_qrcode Module decoded_bit_stream_parser.cpp decodeByteSegment null pointer dereference CVSS 3.1HIGH 7.5
- TI-2018-05558 The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in OpenCV 3.4.1… CVSS 3.1HIGH 7.5
- TI-2019-03524 Buffer overflow in OpenCV CVSS 3.1HIGH 8.8
- TI-2019-03525 Buffer overflow in OpenCV CVSS 3.1HIGH 8.8
- TI-2017-14661 In opencv/modules/imgcodecs/src/utils.cpp, functions FillUniColor and FillUniGray do not… CVSS 3.1HIGH 8.8
- TI-2017-09525 In modules/imgcodecs/src/grfmt_pxm.cpp, the length of buffer AutoBuffer _src is small… CVSS 3.1HIGH 8.8
Sources
- CVE-2018-7714 · CVE Program
- CVE-2018-7714 · NVD
- FIRST EPSS
- GHSA-2862-4mgm-j6fv · GitHub Advisory Database · CC BY 4.0
- CVE-2018-7714 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences