CVE-2017-12982
published 2017-08-21CVE-2017-12982: 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…
PriorityP422medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
2.86%
85.3th percentile
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
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | openjpeg2 | < openjpeg2 2.3.0-1 (bookworm) | openjpeg2 2.3.0-1 (bookworm) |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.3.0-1 | 2.3.0-1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.3.0-1 | 2.3.0-1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.3.0-1 | 2.3.0-1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.3.0-1 | 2.3.0-1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.1.2-1.1+deb9u6ubuntu0.1~esm1 | 2.1.2-1.1+deb9u6ubuntu0.1~esm1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.3.0-2ubuntu0.1~esm1 | 2.3.0-2ubuntu0.1~esm1 |
| uclouvain | openjpeg | < 2.3.0 | 2.3.0 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_ubuntu6.5MEDIUM
vendor_debian5.5LOW
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-4v94-xg8j-pp22: The bmp_read_info_header function in bin/jp2/convertbmp
ghsa_unreviewed·2022-05-13
CVE-2017-12982 [MEDIUM] CWE-119 GHSA-4v94-xg8j-pp22: The bmp_read_info_header function in bin/jp2/convertbmp
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.
OSV
openjpeg2 vulnerabilities
osv·2021-03-17·CVSS 6.5
CVE-2016-10506 [MEDIUM] openjpeg2 vulnerabilities
openjpeg2 vulnerabilities
It was discovered that OpenJPEG incorrectly handled certain image files. A
remote attacker could possibly use this issue to cause a denial of service.
CVE-2016-10506 and CVE-2017-12982 affected only Ubuntu 16.04 ESM.
CVE-2018-16375, CVE-2018-20845 and CVE-2019-12973 affected only
Ubuntu 18.04 ESM.
OSV
CVE-2017-12982: The bmp_read_info_header function in bin/jp2/convertbmp
osv·2017-08-21·CVSS 5.5
CVE-2017-12982 [MEDIUM] CVE-2017-12982: The bmp_read_info_header function in bin/jp2/convertbmp
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.
Ubuntu
OpenJPEG vulnerabilities
vendor_ubuntu·2021-03-17·CVSS 6.5
CVE-2018-5727 [MEDIUM] OpenJPEG vulnerabilities
Title: OpenJPEG vulnerabilities
Summary: OpenJPEG could be made to crash if it opened a specially crafted file.
It was discovered that OpenJPEG incorrectly handled certain image files. A
remote attacker could possibly use this issue to cause a denial of service.
CVE-2016-10506 and CVE-2017-12982 affected only Ubuntu 16.04 ESM.
CVE-2018-16375, CVE-2018-20845 and CVE-2019-12973 affected only
Ubuntu 18.04 ESM.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
openjpeg: Memory allocation failure in the opj_image_create function
vendor_redhat·2017-08-14·CVSS 5.5
CVE-2017-12982 [MEDIUM] openjpeg: Memory allocation failure in the opj_image_create function
openjpeg: Memory allocation failure in the opj_image_create function
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.
Package: openjpeg (Red Hat Enterprise Linux 6) - Will not fix
Package: openjpeg (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2017-12982: openjpeg2 - The bmp_read_info_header function in bin/jp2/convertbmp.c in OpenJPEG 2.2.0 does...
vendor_debian·2017·CVSS 5.5
CVE-2017-12982 [MEDIUM] CVE-2017-12982: openjpeg2 - The bmp_read_info_header function in bin/jp2/convertbmp.c in OpenJPEG 2.2.0 does...
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.
Scope: local
bookworm: resolved (fixed in 2.3.0-1)
bullseye: resolved (fixed in 2.3.0-1)
forky: resolved (fixed in 2.3.0-1)
sid: resolved (fixed in 2.3.0-1)
trixie: resolved (fixed in 2.3.0-1)
No detection rules found.
No public exploits indexed.
https://blogs.gentoo.org/ago/2017/08/14/openjpeg-memory-allocation-failure-in-opj_aligned_alloc_n-opj_malloc-c/https://github.com/uclouvain/openjpeg/commit/baf0c1ad4572daa89caa3b12985bdd93530f0dd7https://github.com/uclouvain/openjpeg/issues/983https://security.gentoo.org/glsa/201710-26https://blogs.gentoo.org/ago/2017/08/14/openjpeg-memory-allocation-failure-in-opj_aligned_alloc_n-opj_malloc-c/https://github.com/uclouvain/openjpeg/commit/baf0c1ad4572daa89caa3b12985bdd93530f0dd7https://github.com/uclouvain/openjpeg/issues/983https://security.gentoo.org/glsa/201710-26
2017-08-21
Published