CVE-2016-10506
Division-by-zero vulnerabilities in the functions opj_pi_next_cprl, opj_pi_next_pcrl, and...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
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.
- Record
CVE-2016-10506- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-369
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2016-10506- Updated
- 2026-11-02
EUVDEUVD-2016-1688 No score
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.
- Record
EUVD-2016-1688- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-7pwx-r922-2j5r
6.5
Division-by-zero vulnerabilities in the functions opj_pi_next_cprl, opj_pi_next_pcrl, and...
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.
- Record
GHSA-7pwx-r922-2j5r- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-369
- Updated
- 2026-11-02
OSV
6.5
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.
- Record
CVE-2016-10506- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-10506
6.5
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.
- Record
DEBIAN-CVE-2016-10506- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2016-10506
6.5
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.
- Record
UBUNTU-CVE-2016-10506- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11120-1 No score
libopenjp2-7-2.4.0-1.4 on GA media
These are all security issues fixed in the libopenjp2-7-2.4.0-1.4 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11120-1- Updated
- 2026-11-02
OSVUSN-4782-1 No score
openjpeg2 vulnerabilities
It was discovered that OpenJPEG incorrectly handled certain image files. A remote attacker could possibly use this issue to cause a denial of service. CVE-2016-10506 and CVE-2017-12982 affected only Ubuntu 16.04 ESM. CVE-2018-16375, CVE-2018-20845 and CVE-2019-12973 affected only Ubuntu 18.04 ESM.
- Record
USN-4782-1- Updated
- 2026-11-02
OSVUSN-5664-1 No score
openjpeg vulnerabilities
It was discovered that OpenJPEG did not properly handle PNM headers, resulting in a null pointer dereference. A remote attacker could possibly use this issue to cause a denial of service (DoS). (CVE-2016-7445)
It was discovered that OpenJPEG incorrectly handled certain image files resulting in division by zero. A remote attacker could possibly use this issue to cause a denial of service (DoS). (CVE-2016-9112 and CVE-2016-10506)
It was discovered that OpenJPEG incorrectly handled converting certain image files resulting in a stack buffer overflow. A remote attacker could possibly use this issue to cause a denial of service (DoS). (CVE-2017-17479)
It was discovered that OpenJPEG incorrectly handled converting PNM image files resulting in a null pointer dereference. A remote attacker could possibly use this issue to cause a denial of service (DoS). (CVE-2018-18088)
It was discovered that OpenJPEG incorrectly handled converting DWT images files resulting in a buffer overflow. A remote attacker could possibly use this issue to cause a denial of service (DoS). (CVE-2020-27824)
- Record
USN-5664-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
openjpeg2Debian:12 |
before 2.2.0-1 | 2.2.0-1 |
openjpeg2Debian:13 |
before 2.2.0-1 | 2.2.0-1 |
openjpeg2Debian:14 |
before 2.2.0-1 | 2.2.0-1 |
openjpegUbuntu:14.04:LTS |
All versions, plus listed versions 1.3+dfsg-4.6ubuntu21.3+dfsg-4.7ubuntu1 |
None known |
openjpeg2Ubuntu:16.04:LTS |
before 2.1.2-1.1+deb9u5build0.16.04.1, plus listed versions 2.1.0-2.12.1.0-2.1ubuntu0.12.1.2-1.1+deb9u2build0.12.1.2-1.1+deb9u3build0.16.04.1 |
2.1.2-1.1+deb9u5build0.16.04.1 |
openjpegUbuntu:Pro:16.04:LTS |
before 1:1.5.2-3.1ubuntu0.1~esm2, plus listed versions 1:1.5.2-3.1 |
1:1.5.2-3.1ubuntu0.1~esm2 |
openjpeg2Ubuntu:Pro:16.04:LTS |
before 2.1.2-1.1+deb9u6ubuntu0.1~esm1, plus listed versions 2.1.0-2.12.1.0-2.1ubuntu0.12.1.2-1.1+deb9u2build0.12.1.2-1.1+deb9u3build0.16.04.12.1.2-1.1+deb9u3ubuntu0.1~esm12.1.2-1.1+deb9u5build0.16.04.12.1.2-1.1+deb9u5ubuntu0.1~esm12.1.2-1.1+deb9u6build0.16.04.1 |
2.1.2-1.1+deb9u6ubuntu0.1~esm1 |
openjpeg2Ubuntu:Pro:18.04:LTS |
before 2.3.0-2ubuntu0.1~esm1, plus listed versions 2.2.0-12.3.0-12.3.0-2build0.18.04.1 |
2.3.0-2ubuntu0.1~esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2016-10506 is a medium vulnerability (CVSS 6.5) in Uclouvain Openjpeg, published August 30, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.32%, the 88th percentile. Fixed in openjpeg2 2.2.0-1.
References
securityfocus.com/bid/100573
github.com/uclouvain/openjpeg/commit/d27ccf01c68a31ad62b33d2dc1ba2bb1eeaafe7b
security.gentoo.org/glsa/201710-26
github.com/uclouvain/openjpeg/issues/779
github.com/uclouvain/openjpeg/issues/732
github.com/uclouvain/openjpeg/issues/780
Show 43 moreShow less
github.com/uclouvain/openjpeg/issues/777
github.com/uclouvain/openjpeg/issues/731
github.com/uclouvain/openjpeg/issues/778
nvd.nist.gov/vuln/detail/CVE-2016-10506
github.com/advisories/GHSA-7pwx-r922-2j5r
security-tracker.debian.org/tracker/CVE-2016-10506
ubuntu.com/security/CVE-2016-10506
ubuntu.com/security/notices/USN-5664-1
ubuntu.com/security/notices/USN-4782-1
cve.org/CVERecord?id=CVE-2016-10506
ubuntu.com/security/CVE-2017-12982
ubuntu.com/security/CVE-2018-5727
ubuntu.com/security/CVE-2018-16375
ubuntu.com/security/CVE-2018-20845
ubuntu.com/security/CVE-2019-12973
ubuntu.com/security/CVE-2016-7445
ubuntu.com/security/CVE-2016-9112
ubuntu.com/security/CVE-2017-17479
ubuntu.com/security/CVE-2018-18088
ubuntu.com/security/CVE-2020-27824
suse.com/security/cve/CVE-2016-10504
suse.com/security/cve/CVE-2016-10505
suse.com/security/cve/CVE-2016-10506
suse.com/security/cve/CVE-2016-5139
suse.com/security/cve/CVE-2016-5152
suse.com/security/cve/CVE-2016-5158
suse.com/security/cve/CVE-2016-8332
suse.com/security/cve/CVE-2017-12982
suse.com/security/cve/CVE-2017-14039
suse.com/security/cve/CVE-2017-14040
suse.com/security/cve/CVE-2017-14041
suse.com/security/cve/CVE-2017-14151
suse.com/security/cve/CVE-2017-14152
suse.com/security/cve/CVE-2018-14423
suse.com/security/cve/CVE-2018-16375
suse.com/security/cve/CVE-2018-18088
suse.com/security/cve/CVE-2018-5727
suse.com/security/cve/CVE-2018-5785
suse.com/security/cve/CVE-2018-6616
suse.com/security/cve/CVE-2018-7648
suse.com/security/cve/CVE-2019-12973
suse.com/security/cve/CVE-2020-6851
suse.com/security/cve/CVE-2020-8112