Skip to content
OpenAdvisories
High · 7.5 CVE-2018-7712 EUVD-2018-19427GHSA-vh8h-jg54-v92w

The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in OpenCV 3.4.1 allows remote attackers to cause a denial of serv…

Published Mar 5, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS opencv No fix yet —
Ubuntu Pro 16.04 LTS opencv No fix yet —
Ubuntu Pro 14.04 LTS opencv No fix yet —

References