Live threats
VulnFox

All CVEs / Opencv

CVE-2018-7713Opencv

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
—
Auth required
No
Published
Mar 5, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-617
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Opencv.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
opencvopencv3.4.1

Official sources

References

Links published by the sources. Open them with care.