CVE-2017-12982
MEDIUM5.5EPSS 0.26%Published: 8/21/2017Modified: 4/28/2026
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.
Affected packages (2)
- Alpine/openjpegfrom 0, < 2.2.0-r1
- Debian/openjpeg2from 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 |