CVE-2018-7713: Opencv

High severity, CVSS 7.5. EPSS: 2.3% chance of exploitation in the next 30 days.

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.width <= (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.

Affected products

  • Opencv Opencv: version 3.4.1 only

Published 2018-03-05. Last modified 2026-06-17.