Division-by-zero vulnerabilities in the functions opj_pi_next_cprl, opj_pi_next_pcrl, and opj_pi_next_rpcl in pi.c in OpenJPEG before 2.2.0 allow remote attackers to cause a denial of service (application crash) via crafted j2k files.
{
"cpe": "cpe:2.3:a:uclouvain:openjpeg:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "2.1.2"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10506.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "167164687698101658463742221507089281916",
"length": 3179
},
"id": "CVE-2016-10506-18976f34",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/uclouvain/openjpeg/commit/d27ccf01c68a31ad62b33d2dc1ba2bb1eeaafe7b",
"target": {
"file": "src/lib/openjp2/pi.c",
"function": "opj_pi_next_cprl"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"51750788369557480713506462597020242584",
"230186866651863468500491536757644773115",
"95246622218983275867584400251886879705",
"147556222807824833849631254568777656820",
"51750788369557480713506462597020242584",
"230186866651863468500491536757644773115",
"95246622218983275867584400251886879705",
"147556222807824833849631254568777656820",
"51750788369557480713506462597020242584",
"230186866651863468500491536757644773115",
"95246622218983275867584400251886879705",
"147556222807824833849631254568777656820"
],
"threshold": 0.9
},
"id": "CVE-2016-10506-a92a5a3f",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/uclouvain/openjpeg/commit/d27ccf01c68a31ad62b33d2dc1ba2bb1eeaafe7b",
"target": {
"file": "src/lib/openjp2/pi.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "77641386530552347311649790027471995486",
"length": 3236
},
"id": "CVE-2016-10506-c86ec459",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/uclouvain/openjpeg/commit/d27ccf01c68a31ad62b33d2dc1ba2bb1eeaafe7b",
"target": {
"file": "src/lib/openjp2/pi.c",
"function": "opj_pi_next_rpcl"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "256868168234277005893783454191035574985",
"length": 3255
},
"id": "CVE-2016-10506-d210f695",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/uclouvain/openjpeg/commit/d27ccf01c68a31ad62b33d2dc1ba2bb1eeaafe7b",
"target": {
"file": "src/lib/openjp2/pi.c",
"function": "opj_pi_next_pcrl"
}
}
]
"2026-08-07T14:48:12Z"