| Name | CVE-2016-10506 | 
| Description | 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. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|---|---|---|
| openjpeg2 (PTS) | bullseye | 2.4.0-3 | fixed | 
| bullseye (security) | 2.4.0-3+deb11u1 | fixed | |
| bookworm | 2.5.0-2+deb12u2 | fixed | |
| bookworm (security) | 2.5.0-2+deb12u1 | fixed | |
| trixie | 2.5.3-2.1~deb13u1 | fixed | |
| forky, sid | 2.5.3-2.1 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|---|---|---|---|---|---|
| openjpeg2 | source | (unstable) | 2.2.0-1 | unimportant | 
https://github.com/uclouvain/openjpeg/commit/d27ccf01c68a31ad62b33d2dc1ba2bb1eeaafe7b (v2.2.0)
https://github.com/uclouvain/openjpeg/issues/731
https://github.com/uclouvain/openjpeg/issues/732
https://github.com/uclouvain/openjpeg/issues/777
https://github.com/uclouvain/openjpeg/issues/778
https://github.com/uclouvain/openjpeg/issues/779
https://github.com/uclouvain/openjpeg/issues/780