CVE-2017-14151

Source
https://nvd.nist.gov/vuln/detail/CVE-2017-14151
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-14151.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2017-14151
Downstream
Related
Published
2017-09-05T16:29:00Z
Modified
2025-10-15T08:46:20.844764Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

An off-by-one error was discovered in opjtcdcodeblockencallocatedata in lib/openjp2/tcd.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service (heap-based buffer overflow affecting opjmqcflush in lib/openjp2/mqc.c and opjt1encode_cblk in lib/openjp2/t1.c) or possibly remote code execution.

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

Affected versions

v2.*

v2.2.0

Database specific

vanir_signatures

[
    {
        "id": "CVE-2017-14151-c31994f7",
        "signature_version": "v1",
        "digest": {
            "length": 481.0,
            "function_hash": "21756756842348694274007457799770541153"
        },
        "target": {
            "file": "src/lib/openjp2/tcd.c",
            "function": "opj_tcd_code_block_enc_allocate_data"
        },
        "source": "https://github.com/uclouvain/openjpeg/commit/afb308b9ccbe129608c9205cf3bb39bbefad90b9",
        "signature_type": "Function",
        "deprecated": false
    },
    {
        "id": "CVE-2017-14151-f4311815",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "72913445967035955960360531008016096520",
                "25868645229335602212299577138526423728",
                "299939946168191236122398180799515628661",
                "121719422806416951280291234778422709510"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "src/lib/openjp2/tcd.c"
        },
        "source": "https://github.com/uclouvain/openjpeg/commit/afb308b9ccbe129608c9205cf3bb39bbefad90b9",
        "signature_type": "Line",
        "deprecated": false
    }
]