Integer overflow in the opjpicreate_decode function in pi.c in OpenJPEG allows remote attackers to execute arbitrary code via a crafted JP2 file, which triggers an out-of-bounds read or write.
{ "vanir_signatures": [ { "digest": { "line_hashes": [ "185758999126045357971661671097814027204", "86990504606690239380690591281970397774", "317109803081451321303173666652321153890", "146470900076975004561247892323613665606" ], "threshold": 0.9 }, "id": "CVE-2016-7163-05a5f81d", "signature_version": "v1", "deprecated": false, "signature_type": "Line", "target": { "file": "src/lib/openjp2/pi.c" }, "source": "https://github.com/uclouvain/openjpeg/commit/c16bc057ba3f125051c9966cf1f5b68a05681de4" }, { "digest": { "length": 2876.0, "function_hash": "327494365687452293443704431018112264625" }, "id": "CVE-2016-7163-d9f02d1b", "signature_version": "v1", "deprecated": false, "signature_type": "Function", "target": { "function": "opj_pi_create_decode", "file": "src/lib/openjp2/pi.c" }, "source": "https://github.com/uclouvain/openjpeg/commit/c16bc057ba3f125051c9966cf1f5b68a05681de4" }, { "digest": { "length": 2957.0, "function_hash": "202036459876181118633764252559168912195" }, "id": "CVE-2016-7163-e0dd0bb1", "signature_version": "v1", "deprecated": false, "signature_type": "Function", "target": { "function": "opj_pi_create_decode", "file": "src/lib/openjp2/pi.c" }, "source": "https://github.com/uclouvain/openjpeg/commit/ef01f18dfc6780b776d0674ed3e7415c6ef54d24" }, { "digest": { "line_hashes": [ "101491955642050062039341120958308977673", "292105675131205126059570189938538731622", "174113429180073947026689323121376750221", "64243987556959019689011967934429915812" ], "threshold": 0.9 }, "id": "CVE-2016-7163-f3f83cb3", "signature_version": "v1", "deprecated": false, "signature_type": "Line", "target": { "file": "src/lib/openjp2/pi.c" }, "source": "https://github.com/uclouvain/openjpeg/commit/ef01f18dfc6780b776d0674ed3e7415c6ef54d24" } ] }