CVE-2016-4797

Source
https://nvd.nist.gov/vuln/detail/CVE-2016-4797
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-4797.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2016-4797
Downstream
Related
Published
2017-02-03T16:59:00Z
Modified
2025-10-15T04:34:30Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

Divide-by-zero vulnerability in the opjtcdinit_tile function in tcd.c in OpenJPEG before 2.1.1 allows remote attackers to cause a denial of service (application crash) via a crafted jp2 file. NOTE: this issue exists because of an incorrect fix for CVE-2014-7947.

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

Database specific

vanir_signatures

[
    {
        "id": "CVE-2016-4797-0cac461e",
        "signature_type": "Function",
        "source": "https://github.com/uclouvain/openjpeg/commit/8f9cc62b3f9a1da9712329ddcedb9750d585505c",
        "target": {
            "file": "src/lib/openjp2/tcd.c",
            "function": "opj_tcd_init_tile"
        },
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "length": 9361.0,
            "function_hash": "257004248534814206722681566285479977596"
        }
    },
    {
        "id": "CVE-2016-4797-d9f76175",
        "signature_type": "Line",
        "source": "https://github.com/uclouvain/openjpeg/commit/8f9cc62b3f9a1da9712329ddcedb9750d585505c",
        "target": {
            "file": "src/lib/openjp2/tcd.c"
        },
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "225049661102870250041549526641074616634",
                "73247418388560494446265847644653004742",
                "334601661058292120774571645982894165467",
                "175452125379047758074089300299006649918"
            ],
            "threshold": 0.9
        }
    }
]