Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Uclouvain | Openjpeg | < 2.3.0 |
Related Weaknesses (CWE)
References
- https://blogs.gentoo.org/ago/2017/08/14/openjpeg-memory-allocation-failure-in-opPatchThird Party AdvisoryVDB Entry
- https://github.com/uclouvain/openjpeg/commit/baf0c1ad4572daa89caa3b12985bdd93530Issue TrackingPatchThird Party Advisory
- https://github.com/uclouvain/openjpeg/issues/983Issue TrackingPatchThird Party Advisory
- https://security.gentoo.org/glsa/201710-26Third Party Advisory
- https://blogs.gentoo.org/ago/2017/08/14/openjpeg-memory-allocation-failure-in-opPatchThird Party AdvisoryVDB Entry
- https://github.com/uclouvain/openjpeg/commit/baf0c1ad4572daa89caa3b12985bdd93530Issue TrackingPatchThird Party Advisory
- https://github.com/uclouvain/openjpeg/issues/983Issue TrackingPatchThird Party Advisory
- https://security.gentoo.org/glsa/201710-26Third Party Advisory
FAQ
What is CVE-2017-12982?
CVE-2017-12982 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 allocatio...
How severe is CVE-2017-12982?
CVE-2017-12982 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2017-12982?
Check the references section above for vendor advisories and patch information. Affected products include: Uclouvain Openjpeg.