CVE-2017-12982

Source
https://cve.org/CVERecord?id=CVE-2017-12982
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-12982.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2017-12982
Downstream
Related
Published
2017-08-21T07:29:00.373Z
Modified
2026-06-18T04:03:41.975999719Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

The bmpreadinfoheader 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 opjimagecreate function in lib/openjp2/image.c, related to the opjalignedallocn function in opj_malloc.c.

References

Affected packages

Git / github.com/uclouvain/openjpeg

Affected ranges

Type
GIT
Repo
https://github.com/uclouvain/openjpeg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.3.0"
        }
    ],
    "cpe": "cpe:2.3:a:uclouvain:openjpeg:*:*:*:*:*:*:*:*"
}

Affected versions

v2.*
v2.2.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-12982.json"