Name | CVE-2018-5785 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more) |
NVD severity | medium (attack range: remote) |
Debian Bugs | 888533 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
openjpeg2 (PTS) | jessie | 2.1.0-2+deb8u3 | fixed |
jessie (security) | 2.1.0-2+deb8u6 | fixed | |
stretch (security), stretch | 2.1.2-1.1+deb9u2 | vulnerable | |
buster, sid | 2.3.0-1.1 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
openjpeg2 | source | (unstable) | (unfixed) | low | 888533 | |
openjpeg2 | source | jessie | (not affected) |
[jessie] - openjpeg2 <not-affected> (Vulnerable code introduced later)
https://github.com/uclouvain/openjpeg/issues/1057
https://github.com/uclouvain/openjpeg/commit/ca16fe55014c57090dd97369256c7657aeb25975
vulnerable code introduced in
https://github.com/uclouvain/openjpeg/commit/33a0e66eb129c4e91b555a6b8dd9eab512fbfeb8