CVE-2018-5785

Publication date 19 January 2018

Last updated 25 August 2025


Ubuntu priority

Cvss 3 Severity Score

6.5 · Medium

Score breakdown

Description

In OpenJPEG 2.3.0, there is an integer overflow caused by an out-of-bounds left shift in the opj_j2k_setup_encoder function (openjp2/j2k.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.

Read the notes from the security team

Status

Package Ubuntu Release Status
openjpeg 19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
17.10 artful Not in release
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected
openjpeg2 19.04 disco
Not affected
18.10 cosmic Ignored end of life
18.04 LTS bionic
Fixed 2.3.0-2build0.18.04.1
17.10 artful Ignored end of life
16.04 LTS xenial
Fixed 2.1.2-1.1+deb9u3build0.16.04.1
14.04 LTS trusty Not in release

Notes


ccdm94

this vulnerability was introduced by the changes of commit 33a0e66eb12.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
openjpeg
openjpeg2

Severity score breakdown

CVSS version: CVSS v3.0

Base score 6.5 · Medium

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-4109-1
    • OpenJPEG vulnerabilities
    • 21 August 2019

Other references


Access our resources on patching vulnerabilities