CVE-2018-5785

MEDIUM

OpenJPEG 2.3.0 - Denial of Service via Integer Overflow in opj_j2k_setup_encoder

Title source: llm
STIX 2.1

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.

References (3)

Core 3
Core References
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/uclouvain/openjpeg/issues/1057
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2019/dsa-4405
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/4109-1/

Scores

CVSS v3 6.5
EPSS 0.0235
EPSS Percentile 81.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Details

CWE
CWE-190
Status published
Products (3)
canonical/ubuntu_linux 18.04
debian/debian_linux 9.0
uclouvain/openjpeg 2.3.0
Published Jan 19, 2018
Tracked Since Feb 18, 2026