Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2017-12982 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blogs.gentoo.org/ago/2017/08/14/openjpeg-memory-allocation-failure-in-opj_aligned_alloc_n-opj_malloc-c/ | CVE | PatchThird Party AdvisoryVDB Entry |
| https://github.com/uclouvain/openjpeg/commit/baf0c1ad4572daa89caa3b12985bdd93530f0dd7 | CVE | Issue TrackingPatchThird Party Advisory |
| https://github.com/uclouvain/openjpeg/issues/983 | CVE | Issue TrackingPatchThird Party Advisory |
| https://security.gentoo.org/glsa/201710-26 | CVE | Third Party Advisory |
| https://blogs.gentoo.org/ago/2017/08/14/openjpeg-memory-allocation-failure-in-opj_aligned_alloc_n-opj_malloc-c/ | [email protected] | PatchThird Party AdvisoryVDB Entry |
| https://github.com/uclouvain/openjpeg/commit/baf0c1ad4572daa89caa3b12985bdd93530f0dd7 | [email protected] | Issue TrackingPatchThird Party Advisory |
| https://github.com/uclouvain/openjpeg/issues/983 | [email protected] | Issue TrackingPatchThird Party Advisory |
| https://security.gentoo.org/glsa/201710-26 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| uclouvain openjpeg | < 2.3.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| May 13, 2026 | CVE Status Change | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Feb 2, 2021 | Modified Analysis | [email protected] |
| Jan 26, 2021 | CPE Deprecation Remap | [email protected] |
| Oct 24, 2017 | CVE Modified | [email protected] |
| Aug 29, 2017 | Initial Analysis | [email protected] |