CVE-2017-14151

Source
https://cve.org/CVERecord?id=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
2026-08-03T14:23:46Z
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 opj_tcd_code_block_enc_allocate_data 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 opj_mqc_flush in lib/openjp2/mqc.c and opj_t1_encode_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"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "debian:debian_linux"
        },
        {
            "cpes":  [
                "cpe:2.3:a:uclouvain:openjpeg:2.2.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "2.2.0"
                },
                {
                    "last_affected":  "2.2.0"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "uclouvain:openjpeg"
        }
    ]
}
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
Show details
{
    "source":  "REFERENCES"
}

Affected versions

v2.*
v2.2.0

Database specific

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