CVEfocus › CVE database › CVE-2018-7713

CVE-2018-7713

CVSS 7.5 HighEPSS 2.3% (higher than 83% of CVEs)Published 2018-03-05Updated 2024-08-05Assigner: mitre

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.

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fix pending
1Will not fix
15Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04opencvFix pendingUBUNTU-CVE-2018-7713
Ubuntu 16.04opencvWill not fix
Upstream marked it as invalid: https://github.com/opencv/opencv/issues/10998#issuecomment-370722738
UBUNTU-CVE-2018-7713
Ubuntu 14.04opencvFix pendingUBUNTU-CVE-2018-7713
Red Hat Enterprise Linux 8opencvNot affected
Red Hat Enterprise Linux 8opencv-contribNot affected
Red Hat Enterprise Linux 8opencv-coreNot affected
Red Hat Enterprise Linux 8opencv-develNot affected
Red Hat Enterprise Linux 8opencv-docNot affected
Red Hat Enterprise Linux 8python3-opencvNot affected
Red Hat Enterprise Linux 7opencvNot affected
Red Hat Enterprise Linux 7opencv-coreNot affected
Red Hat Enterprise Linux 7opencv-develNot affected
Red Hat Enterprise Linux 7opencv-devel-docsNot affected
Red Hat Enterprise Linux 7opencv-pythonNot affected
Red Hat Enterprise Linux 6opencvNot affected
Red Hat Enterprise Linux 6opencv-develNot affected
Red Hat Enterprise Linux 6opencv-devel-docsNot affected
Red Hat Enterprise Linux 6opencv-pythonNot affected

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.