CVE-2018-5785
6.5
MEDIUM
CVSS 3.1
EPSS 0.78%
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.
How to fix CVE-2018-5785
To remediate CVE-2018-5785, upgrade the affected package to a fixed version below.
- Alpine/openjpeg—upgrade to 2.3.0-r3 or later
- —upgrade to 2.3.0-2 or later
Is CVE-2018-5785 being exploited?
Low — EPSS is 0.8%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2.3.0-r3
- from 0, < 2.3.0-2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |