CVE-2018-7712

Source
https://cve.org/CVERecord?id=CVE-2018-7712
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7712.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-7712
Downstream
Published
2018-03-05T23:29:00.207Z
Modified
2026-07-08T18:16:13.784276Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/opencv/opencv

Affected ranges

Type
GIT
Repo
https://github.com/opencv/opencv
Events
Database specific
{
    "source": "CPE_STRING",
    "extracted_events": [
        {
            "introduced": "3.4.1"
        },
        {
            "last_affected": "3.4.1"
        }
    ],
    "cpe": "cpe:2.3:a:opencv:opencv:3.4.1:*:*:*:*:*:*:*"
}

Affected versions

3.*
3.4.1
3.4.1-cvsdk

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7712.json"

Git / github.com/opencv/opencv_contrib

Affected ranges

Type
GIT
Repo
https://github.com/opencv/opencv_contrib
Events
Database specific
{
    "source": "CPE_STRING",
    "extracted_events": [
        {
            "introduced": "3.4.1"
        },
        {
            "last_affected": "3.4.1"
        }
    ],
    "cpe": "cpe:2.3:a:opencv:opencv:3.4.1:*:*:*:*:*:*:*"
}

Affected versions

3.*
3.4.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7712.json"