CVE-2018-5268

Publication date 8 January 2018

Last updated 25 August 2025


Ubuntu priority

Cvss 3 Severity Score

5.5 · Medium

Score breakdown

Description

In OpenCV 3.3.1, a heap-based buffer overflow happens in cv::Jpeg2KDecoder::readComponent8u in modules/imgcodecs/src/grfmt_jpeg2000.cpp when parsing a crafted image file.

From the Ubuntu Security Team

It was discovered that OpenCV incorrectly handled certain image files. An attacker could possibly use this issue to cause a denial of service, execute arbitrary code or other unspecified impact.

Status

Package Ubuntu Release Status
opencv 18.04 LTS bionic
Fixed 3.2.0+dfsg-4ubuntu0.1
17.10 artful Ignored end of life
17.04 zesty Ignored end of life
16.04 LTS xenial
Fixed 2.4.9.1+dfsg-1.5ubuntu1.1
14.04 LTS trusty
Fixed 2.4.8+dfsg1-2ubuntu1.1

Severity score breakdown

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