CVE-2017-12982

Summary

CVECVE-2017-12982
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2017-08-21 07:29:00 UTC
Updated2021-02-02 19:56:00 UTC
DescriptionThe 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.

Risk And Classification

Problem Types: CWE-119

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Uclouvain Openjpeg All All All All
Application Uclouvain Openjpeg All All All All

References

ReferenceSourceLinkTags
memory allocation failure in opj_aligned_alloc_n (opj_malloc.c) · Issue #983 · uclouvain/openjpeg · GitHub MISC github.com Issue Tracking, Patch, Third Party Advisory
OpenJPEG: Multiple vulnerabilities (GLSA 201710-26) — Gentoo security GENTOO security.gentoo.org Third Party Advisory
bmp_read_info_header(): reject bmp files with biBitCount == 0 (#983) · uclouvain/openjpeg@baf0c1a · GitHub MISC github.com Issue Tracking, Patch, Third Party Advisory
openjpeg: memory allocation failure in opj_aligned_alloc_n (opj_malloc.c) | agostino's blog MISC blogs.gentoo.org Patch, Third Party Advisory, VDB Entry
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 500465 Alpine Linux Security Update for openjpeg
  • 504222 Alpine Linux Security Update for openjpeg
  • 710394 Gentoo Linux OpenJPEG Multiple Vulnerabilities (GLSA 201710-26)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report