CVE-2017-14039

Source
https://cve.org/CVERecord?id=CVE-2017-14039
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14039.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-14039
Downstream
ALPINE (1)
BELL (1)
DEBIAN (1)
MGASA (1)
openSUSE (3)
SUSE (1)
UBUNTU (1)
Related
Published
2017-08-30T22:29:00Z
Modified
2026-08-07T14:59:12Z
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

A heap-based buffer overflow was discovered in the opj_t2_encode_packet function in lib/openjp2/t2.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly unspecified other impact.

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"
        }
    ]
}
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
Show details
{
    "cpe":  "cpe:2.3:a:uclouvain:openjpeg:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "2.3.0"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

v2.*
v2.2.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14039.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "91843015131909262611516801983236892286",
                "287089807267592804258651948075147523393",
                "271147091074695616198156650530548938695",
                "232139246865052873213394828111752795814",
                "132407218946716406511236008697983674787",
                "140818366234325725951162001091792728676",
                "257713435077287072716520241305791031045",
                "307940706585755257162283875149548706908"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2017-14039-2c102b92",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/uclouvain/openjpeg/commit/c535531f03369623b9b833ef41952c62257b507e",
        "target":  {
            "file":  "src/lib/openjp2/t2.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "305364326982495910255902172214619275892",
            "length":  5107
        },
        "id":  "CVE-2017-14039-7beeb664",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/uclouvain/openjpeg/commit/c535531f03369623b9b833ef41952c62257b507e",
        "target":  {
            "file":  "src/lib/openjp2/t2.c",
            "function":  "opj_t2_encode_packet"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "333197779534767222267329773720581898577",
            "length":  879
        },
        "id":  "CVE-2017-14039-934511cd",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/uclouvain/openjpeg/commit/c535531f03369623b9b833ef41952c62257b507e",
        "target":  {
            "file":  "src/lib/openjp2/j2k.c",
            "function":  "opj_j2k_write_sot"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "10836218539523676017936851795172491646",
                "186323259111068633802763598633648888639",
                "223393692161991537137424614845306178212",
                "299371021208939660984199255457571383018",
                "59723713253829720829761025772323854186",
                "184991792299470983867997235842132132042",
                "67164973024348438351225583009452067737"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2017-14039-9bf28b2f",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/uclouvain/openjpeg/commit/c535531f03369623b9b833ef41952c62257b507e",
        "target":  {
            "file":  "src/lib/openjp2/j2k.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "41830172812418987381565082670664732618",
            "length":  981
        },
        "id":  "CVE-2017-14039-e5841632",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/uclouvain/openjpeg/commit/c535531f03369623b9b833ef41952c62257b507e",
        "target":  {
            "file":  "src/lib/openjp2/j2k.c",
            "function":  "opj_j2k_write_sod"
        }
    }
]
vanir_signatures_modified
"2026-08-07T14:59:12Z"