CVE-2017-12982
Reported by mitre · Published August 21, 2017
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openjpeg2 | Ubuntu:Pro:16.04:LTS | 2.1.2-1.1+deb9u6ubuntu0.1~esm1 |
| openjpeg | uclouvain | 2.3.0 |
| openjpeg2 | Ubuntu:18.04:LTS | 2.3.0-1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| alpine | openjpeg | 0, 0 |
Timeline
- Aug 21, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Distribution Patch
- Mar 5, 2026 Security Advisory (3 in total, the first dated here)
- Oct 3, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-12982
vulnetix vdb fixes CVE-2017-12982
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-12982/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- GLSA-201710-26 vendor-advisoryx_refsource_GENTOO
- x_refsource_MISC
- x_refsource_MISC