{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2017-12982","published":"2017-08-21T07:29:00.373000Z","last_modified":"2026-06-17T01:04:15.547000Z","status":"Modified","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-119"],"cpes":[{"criteria":"cpe:2.3:a:uclouvain:openjpeg:*:*:*:*:*:*:*:*","part":"a","vendor":"uclouvain","product":"openjpeg","version_end_excluding":"2.3.0"}],"cpes_truncated":false,"vendors":["uclouvain"],"products":["uclouvain/openjpeg"],"epss":{"score":0.02772,"percentile":0.87084,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2017-12982/","html_en":"/en/cve/CVE-2017-12982/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-12982","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-12982"},"untrusted":{"vendor_name":"Uclouvain","product_name":"Openjpeg","desc_en":"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.","affected":[],"references":[{"url":"https://blogs.gentoo.org/ago/2017/08/14/openjpeg-memory-allocation-failure-in-opj_aligned_alloc_n-opj_malloc-c/","tags":["Patch","Third Party Advisory","VDB Entry"]},{"url":"https://github.com/uclouvain/openjpeg/commit/baf0c1ad4572daa89caa3b12985bdd93530f0dd7","tags":["Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/uclouvain/openjpeg/issues/983","tags":["Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/201710-26","tags":["Third Party Advisory"]}]}}