CVE-2017-12982
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 2.3.0-1 |
| debian | bullseye | fixed | 2.3.0-1 |
| debian | forky | fixed | 2.3.0-1 |
| debian | sid | fixed | 2.3.0-1 |
| debian | trixie | fixed | 2.3.0-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| uclouvain | openjpeg | {"endExcluding":"2.3.0"} | 2.3.0 |
References
- https://blogs.gentoo.org/ago/2017/08/14/openjpeg-memory-allocation-failure-in-opj_aligned_alloc_n-opj_malloc-c/
- https://github.com/uclouvain/openjpeg/commit/baf0c1ad4572daa89caa3b12985bdd93530f0dd7
- https://github.com/uclouvain/openjpeg/issues/983
- https://security.gentoo.org/glsa/201710-26
- https://www.suse.com/security/cve/CVE-2017-12982.html
- https://security-tracker.debian.org/tracker/CVE-2017-12982
CWEs
CWE-119
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.