CVE-2017-12982
Last modified
CVE-2017-12982 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 2.86% chance of exploitation in the next 30 days.
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:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Uclouvain | Openjpeg | < 2.3.0 |
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/baf0c1ad4572daa89caa3b12985bdd93530f0dd7Issue Tracking, Patch, Third Party Advisory
- https://github.com/uclouvain/openjpeg/issues/983Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201710-26Third 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/baf0c1ad4572daa89caa3b12985bdd93530f0dd7Issue Tracking, Patch, Third Party Advisory
- https://github.com/uclouvain/openjpeg/issues/983Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201710-26Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-12982?
How severe is CVE-2017-12982?
How do I fix CVE-2017-12982?
Are you affected by CVE-2017-12982?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
