CVE-2016-5157

Source
https://nvd.nist.gov/vuln/detail/CVE-2016-5157
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-5157.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2016-5157
Downstream
Related
Published
2016-09-11T10:59:13Z
Modified
2025-10-13T04:36:06Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Heap-based buffer overflow in the opjdwtinterleave_v function in dwt.c in OpenJPEG, as used in PDFium in Google Chrome before 53.0.2785.89 on Windows and OS X and before 53.0.2785.92 on Linux, allows remote attackers to execute arbitrary code via crafted coordinate values in JPEG 2000 data.

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": [
        {
            "digest": {
                "line_hashes": [
                    "276724014578074634273775962448736193537",
                    "166068383440004646407768019736768417242",
                    "315387392196939230406305860034055642031",
                    "140822074934480029344632455361319542812",
                    "206215261171716965538206663547136303240",
                    "207920034020602875151821625173620222322",
                    "112707378956024004694613174468034117521"
                ],
                "threshold": 0.9
            },
            "id": "CVE-2016-5157-09200673",
            "signature_version": "v1",
            "deprecated": false,
            "signature_type": "Line",
            "target": {
                "file": "src/lib/openjp2/tcd.c"
            },
            "source": "https://github.com/uclouvain/openjpeg/commit/e078172b1c3f98d2219c37076b238fb759c751ea"
        },
        {
            "digest": {
                "length": 1556.0,
                "function_hash": "142147519116981527159461479809514836522"
            },
            "id": "CVE-2016-5157-41c3c44e",
            "signature_version": "v1",
            "deprecated": false,
            "signature_type": "Function",
            "target": {
                "function": "main",
                "file": "tests/compare_dump_files.c"
            },
            "source": "https://github.com/uclouvain/openjpeg/commit/e078172b1c3f98d2219c37076b238fb759c751ea"
        },
        {
            "digest": {
                "length": 9796.0,
                "function_hash": "75013586111695730176633193598590274453"
            },
            "id": "CVE-2016-5157-4a9ef596",
            "signature_version": "v1",
            "deprecated": false,
            "signature_type": "Function",
            "target": {
                "function": "opj_tcd_init_tile",
                "file": "src/lib/openjp2/tcd.c"
            },
            "source": "https://github.com/uclouvain/openjpeg/commit/e078172b1c3f98d2219c37076b238fb759c751ea"
        },
        {
            "digest": {
                "line_hashes": [
                    "2590993907274255889834666590770095576",
                    "182202613112989334956703903084291334696",
                    "328580875509912772164284116826287927666",
                    "181381530163467876461874731371365544870",
                    "288311546062569806811008752920810987485",
                    "273817608176990925987014888204848909699",
                    "73266955951068314247921306075527226112",
                    "248914966577463477236703256571078035887",
                    "169603000558501573011231408806456490189",
                    "87065811644811952131170974641258562146",
                    "267563243047537990873072274626471257729",
                    "336283484677638099133261170653540979873",
                    "160259166157298641622518380502383700986"
                ],
                "threshold": 0.9
            },
            "id": "CVE-2016-5157-cf0237c9",
            "signature_version": "v1",
            "deprecated": false,
            "signature_type": "Line",
            "target": {
                "file": "tests/compare_dump_files.c"
            },
            "source": "https://github.com/uclouvain/openjpeg/commit/e078172b1c3f98d2219c37076b238fb759c751ea"
        }
    ]
}