CVE-2017-14151

Source
https://cve.org/CVERecord?id=CVE-2017-14151
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14151.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-14151
Downstream
Related
Published
2017-09-05T16:29:00.213Z
Modified
2026-07-08T11:47:36.167909Z
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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "8.0"
                },
                {
                    "last_affected": "8.0"
                },
                {
                    "introduced": "9.0"
                },
                {
                    "last_affected": "9.0"
                }
            ],
            "vendor_product": "debian:debian_linux",
            "source": "CPE_STRING"
        }
    ]
}
References

Affected packages

Git / github.com/uclouvain/openjpeg

Affected ranges

Type
GIT
Repo
https://github.com/uclouvain/openjpeg
Events
Database specific
{
    "cpe": "cpe:2.3:a:uclouvain:openjpeg:2.2.0:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "2.2.0"
        },
        {
            "last_affected": "2.2.0"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

2.*
2.2.0
v2.*
v2.2.0

Database specific

vanir_signatures_modified
"2026-07-08T11:47:36Z"
vanir_signatures
[
    {
        "target": {
            "function": "opj_tcd_code_block_enc_allocate_data",
            "file": "src/lib/openjp2/tcd.c"
        },
        "id": "CVE-2017-14151-c31994f7",
        "digest": {
            "function_hash": "21756756842348694274007457799770541153",
            "length": 481.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/uclouvain/openjpeg/commit/afb308b9ccbe129608c9205cf3bb39bbefad90b9"
    },
    {
        "target": {
            "file": "src/lib/openjp2/tcd.c"
        },
        "id": "CVE-2017-14151-f4311815",
        "digest": {
            "line_hashes": [
                "72913445967035955960360531008016096520",
                "25868645229335602212299577138526423728",
                "299939946168191236122398180799515628661",
                "121719422806416951280291234778422709510"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/uclouvain/openjpeg/commit/afb308b9ccbe129608c9205cf3bb39bbefad90b9"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14151.json"