CVE-2018-7712

Publication date 5 March 2018

Last updated 4 August 2025


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
opencv 19.04 disco Ignored
18.10 cosmic Ignored end of life
18.04 LTS bionic Ignored
17.10 artful Ignored end of life
16.04 LTS xenial Ignored
14.04 LTS trusty Ignored

Notes


pfsmorigo

Upstream marked it as invalid: https://github.com/opencv/opencv/issues/10998#issuecomment-370722738

Severity score breakdown

Parameter Value
Base score 7.5 · High
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H