Read the docs
TI-2018-05558 Aliases CVE-2018-7712GHSA-vh8h-jg54-v92w

The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in OpenCV 3.4.1…

Priority HIGH 72CWE-617Published · Updated

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.1 · CISA ADP. 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 (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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.02235 82nd percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:opencv:opencv:3.4.1:*:*:*:*:*:*:*3.4.1VulnerableOpenCV
  • cpe:2.3:a:opencv:opencv:3.4.1:*:*:*:*:*:*:* Versions 3.4.1 Vulnerable ·OpenCV

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

  1. 2026-10-02 Threatist record created from CVE-2018-7712
  2. 2026-10-03 Alias added: GHSA-vh8h-jg54-v92w

References

  • TI-2023-02446 OpenCV wechat_qrcode Module decoded_bit_stream_parser.cpp decodeByteSegment null pointer dereference 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
  • TI-2017-09527 In opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function ReadNumber did not checkout the… CVSS 3.1HIGH 8.8
See all 34 →

Sources