CVEvulnerability
CVE-2017-12982
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2017-08-21
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-119
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 configurations
• uclouvain openjpeg (< 2.3.0)
Related
Weakness · CWE (1)
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
References
- https://blogs.gentoo.org/ago/2017/08/14/openjpeg-memory-allocation-failure-in-opj_aligned_alloc_n-opj_malloc-c/ Patch, Third Party Advisory, VDB Entry
- https://github.com/uclouvain/openjpeg/commit/baf0c1ad4572daa89caa3b12985bdd93530f0dd7 Issue Tracking, Patch, Third Party Advisory
- https://github.com/uclouvain/openjpeg/issues/983 Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201710-26 Third Party Advisory
- https://blogs.gentoo.org/ago/2017/08/14/openjpeg-memory-allocation-failure-in-opj_aligned_alloc_n-opj_malloc-c/ Patch, Third Party Advisory, VDB Entry
- https://github.com/uclouvain/openjpeg/commit/baf0c1ad4572daa89caa3b12985bdd93530f0dd7 Issue Tracking, Patch, Third Party Advisory
- https://github.com/uclouvain/openjpeg/issues/983 Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201710-26 Third Party Advisory