CVE-2017-12982
5.5
MEDIUM
CVSS 3.1
EPSS 0.26%
Description
The bmp_read_info_header function in bin/jp2/convertbmp.c in OpenJPEG 2.2.0 does not reject headers with a zero biBitCount, which allows remote attackers to cause a denial of service (memory allocation failure) in the opj_image_create function in lib/openjp2/image.c, related to the opj_aligned_alloc_n function in opj_malloc.c.
How to fix CVE-2017-12982
To remediate CVE-2017-12982, upgrade the affected package to a fixed version below.
- —upgrade to 2.2.0-r1 or later
- —upgrade to 2.3.0-1 or later
Is CVE-2017-12982 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2.2.0-r1
- from 0, < 2.3.0-1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |