CVE details
CVE-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 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.
- Score
- 5.5 medium
- Published
- 2017-08-21
- Links
- NVD · cve.org · Report wrong data
Matched ports (1)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| graphics/openjpeg15 | openjpeg15 | 1.5.2_5 | unaddressed | sunpoet@FreeBSD.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>openjpeg15</name>
<range><lt>2.3.0</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</body>
</description>
<references>
<cvename>CVE-2017-12982</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2017-12982</url>
</references>
<dates>
<discovery>2017-08-21</discovery>
<entry>2026-10-26</entry>
</dates>
</vuln>