What’s Vulnerable › Vulnerabilities
CVE-2018-5785
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-01-19 · updated 2026-06-17
- Weakness: CWE-190
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.
Affected products
- Canonical Ubuntu Linux: 18.04
- Debian Linux: 9.0
- uclouvain openjpeg: 2.3.0
References
- https://github.com/uclouvain/openjpeg/issues/1057
- https://usn.ubuntu.com/4109-1/
- https://www.debian.org/security/2019/dsa-4405
- https://github.com/uclouvain/openjpeg/issues/1057
- https://usn.ubuntu.com/4109-1/
- https://www.debian.org/security/2019/dsa-4405
Get alerted when CVE-2018-5785 or the next vulnerability affects your stack