CVE-2015-8871
Use-after-free vulnerability in the opj_j2k_write_mco function in j2k.c in OpenJPEG before 2.1.1...
Use-after-free vulnerability in the opj_j2k_write_mco function in j2k.c in OpenJPEG before 2.1.1 allows remote attackers to have unspecified impact via unknown vectors.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
Use-after-free vulnerability in the opj_j2k_write_mco function in j2k.c in OpenJPEG before 2.1.1 allows remote attackers to have unspecified impact via unknown vectors.
- Record
CVE-2015-8871- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-416
- Updated
- 2026-11-02
CVE List No score
Use-after-free vulnerability in the opj_j2k_write_mco function in j2k.c in OpenJPEG before 2.1.1 allows remote attackers to have unspecified impact via unknown vectors.
- Record
CVE-2015-8871- Updated
- 2026-11-02
EUVDEUVD-2015-8727 No score
Use-after-free vulnerability in the opj_j2k_write_mco function in j2k.c in OpenJPEG before 2.1.1 allows remote attackers to have unspecified impact via unknown vectors.
- Record
EUVD-2015-8727- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-34fc-57pc-g3m4
9.8
Use-after-free vulnerability in the opj_j2k_write_mco function in j2k.c in OpenJPEG before 2.1.1...
Use-after-free vulnerability in the opj_j2k_write_mco function in j2k.c in OpenJPEG before 2.1.1 allows remote attackers to have unspecified impact via unknown vectors.
- Record
GHSA-34fc-57pc-g3m4- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-416
- Updated
- 2026-11-02
OSV
9.8
Use-after-free vulnerability in the opj_j2k_write_mco function in j2k.c in OpenJPEG before 2.1.1 allows remote attackers to have unspecified impact via unknown vectors.
- Record
CVE-2015-8871- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2015-8871
9.8
Use-after-free vulnerability in the opj_j2k_write_mco function in j2k.c in OpenJPEG before 2.1.1 allows remote attackers to have unspecified impact via unknown vectors.
- Record
DEBIAN-CVE-2015-8871- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2015-8871
9.8
Use-after-free vulnerability in the opj_j2k_write_mco function in j2k.c in OpenJPEG before 2.1.1 allows remote attackers to have unspecified impact via unknown vectors.
- Record
UBUNTU-CVE-2015-8871- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2017:2567-1 No score
Security update for openjpeg2
This update for openjpeg2 fixes the following issues:
- CVE-2016-9114: NULL Pointer Access in function imagetopnm of convert.c:1943(jp2) could lead to crash [bsc#1007740]
- CVE-2016-9115: Heap Buffer Overflow in function imagetotga of convert.c(jp2) [bsc#1007741]
- CVE-2016-9580, CVE-2016-9581: Possible Heap buffer overflow via integer overflow and infite loop [bsc#1014975]
- CVE-2016-9117: NULL Pointer Access in function imagetopnm of convert.c(jp2):1289 [bsc#1007743]
- CVE-2016-9118: Heap Buffer Overflow in function pnmtoimage of convert.c [bsc#1007744]
- CVE-2016-9112: FPE(Floating Point Exception) in lib/openjp2/pi.c:523 [bsc#1007747]
- CVE-2016-9116: NULL Pointer Access in function imagetopnm of convert.c:2226(jp2) [bsc#1007742]
- CVE-2016-9113: NULL point dereference in function imagetobmp of convertbmp.c could lead to crash [bsc#1007739]
- CVE-2016-9572 CVE-2016-9573: Insuficient check in imagetopnm() could lead to heap buffer overflow [bsc#1014543]
- CVE-2016-8332: Malicious file in OpenJPEG JPEG2000 format could lead to code execution [bsc#1002414]
- CVE-2016-7445: Null pointer dereference in convert.c could lead to crash [bsc#999817]
- CVE 2016-7163: Integer Overflow could lead to remote code execution [bsc#997857]
- CVE 2015-8871: Use-after-free in opj_j2k_write_mco function could lead to denial of service [bsc#979907]
This update was imported from the SUSE:SLE-12-SP2:Update update project.
- Record
openSUSE-SU-2017:2567-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:2144-1 No score
Security update for openjpeg2
This update for openjpeg2 fixes the following issues:
-
CVE 2016-7163: Integer Overflow could lead to remote code execution (bsc#997857).
-
CVE 2015-8871: Use-after-free in opj_j2k_write_mco function could lead to denial of service (bsc#979907).
- Record
SUSE-SU-2017:2144-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
openjpeg2Debian:12 |
before 2.1.1-1 | 2.1.1-1 |
openjpeg2Debian:13 |
before 2.1.1-1 | 2.1.1-1 |
openjpeg2Debian:14 |
before 2.1.1-1 | 2.1.1-1 |
openjpeg2Debian:8 From an advisory covering 4 CVEs |
before 2.1.0-2+deb8u1, plus listed versions 2.1.0-2 |
2.1.0-2+deb8u1 |
openjpeg2SUSE:Linux Enterprise Desktop 12 SP2 From an advisory covering 2 CVEs |
before 2.1.0-4.3.2 | 2.1.0-4.3.2 |
openjpeg2SUSE:Linux Enterprise Desktop 12 SP3 From an advisory covering 2 CVEs |
before 2.1.0-4.3.2 | 2.1.0-4.3.2 |
openjpeg2SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 From an advisory covering 2 CVEs |
before 2.1.0-4.3.2 | 2.1.0-4.3.2 |
openjpeg2SUSE:Linux Enterprise Server 12 SP2 From an advisory covering 2 CVEs |
before 2.1.0-4.3.2 | 2.1.0-4.3.2 |
openjpeg2SUSE:Linux Enterprise Server for SAP Applications 12 SP2 From an advisory covering 2 CVEs |
before 2.1.0-4.3.2 | 2.1.0-4.3.2 |
openjpeg2SUSE:Linux Enterprise Server 12 SP3 From an advisory covering 2 CVEs |
before 2.1.0-4.3.2 | 2.1.0-4.3.2 |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
openjpeg2SUSE:Linux Enterprise Server for SAP Applications 12 SP3 From an advisory covering 2 CVEs |
before 2.1.0-4.3.2 | 2.1.0-4.3.2 |
openjpeg2Ubuntu:16.04:LTS |
before 2.1.2-1.1+deb9u2build0.1, plus listed versions 2.1.0-2.12.1.0-2.1ubuntu0.1 |
2.1.2-1.1+deb9u2build0.1 |
openjpeg2SUSE:Package Hub 12 From an advisory covering 15 CVEs |
before 2.1.0-6.1 | 2.1.0-6.1 |
openjpeg2SUSE:Package Hub 12 SP1 From an advisory covering 15 CVEs |
before 2.1.0-6.1 | 2.1.0-6.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| 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-2015-8871 is a critical vulnerability (CVSS 9.8) in Uclouvain Openjpeg, published September 11, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.55%, the 89th percentile. Fixed in openjpeg2 2.1.1-1.
References
security.gentoo.org/glsa/201612-26
github.com/uclouvain/openjpeg/issues/563
openwall.com/lists/oss-security/2016/05/13/1
github.com/uclouvain/openjpeg/blob/master/CHANGELOG.md
bugzilla.redhat.com/show_bug.cgi?id=1263359
debian.org/security/2016/dsa-3665
Show 38 moreShow less
github.com/uclouvain/openjpeg/commit/940100c28ae28931722290794889cf84a92c5f6f
securitytracker.com/id/1038623
openwall.com/lists/oss-security/2015/09/15/4
nvd.nist.gov/vuln/detail/CVE-2015-8871
github.com/advisories/GHSA-34fc-57pc-g3m4
security-tracker.debian.org/tracker/CVE-2015-8871
suse.com/support/update/announcement/2017/suse-su-20172144-1
bugzilla.suse.com/979907
bugzilla.suse.com/997857
suse.com/security/cve/CVE-2015-8871
suse.com/security/cve/CVE-2016-7163
ubuntu.com/security/CVE-2015-8871
cve.org/CVERecord?id=CVE-2015-8871
lists.opensuse.org/archives/list/[email protected]/thread/AL7JYPSOTOZ4UZQTE7T4Y3J7RCMV7M6M
bugzilla.suse.com/1002414
bugzilla.suse.com/1007739
bugzilla.suse.com/1007740
bugzilla.suse.com/1007741
bugzilla.suse.com/1007742
bugzilla.suse.com/1007743
bugzilla.suse.com/1007744
bugzilla.suse.com/1007747
bugzilla.suse.com/1014543
bugzilla.suse.com/1014975
bugzilla.suse.com/999817
suse.com/security/cve/CVE-2016-7445
suse.com/security/cve/CVE-2016-8332
suse.com/security/cve/CVE-2016-9112
suse.com/security/cve/CVE-2016-9113
suse.com/security/cve/CVE-2016-9114
suse.com/security/cve/CVE-2016-9115
suse.com/security/cve/CVE-2016-9116
suse.com/security/cve/CVE-2016-9117
suse.com/security/cve/CVE-2016-9118
suse.com/security/cve/CVE-2016-9572
suse.com/security/cve/CVE-2016-9573
suse.com/security/cve/CVE-2016-9580
suse.com/security/cve/CVE-2016-9581