CVE-2017-14151
An off-by-one error was discovered in opj_tcd_code_block_enc_allocate_data in lib/openjp2/tcd.c...
An off-by-one error was discovered in opj_tcd_code_block_enc_allocate_data in lib/openjp2/tcd.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service (heap-based buffer overflow affecting opj_mqc_flush in lib/openjp2/mqc.c and opj_t1_encode_cblk in lib/openjp2/t1.c) or possibly remote code execution.
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
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
An off-by-one error was discovered in opj_tcd_code_block_enc_allocate_data in lib/openjp2/tcd.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service (heap-based buffer overflow affecting opj_mqc_flush in lib/openjp2/mqc.c and opj_t1_encode_cblk in lib/openjp2/t1.c) or possibly remote code execution.
- Record
CVE-2017-14151- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
An off-by-one error was discovered in opj_tcd_code_block_enc_allocate_data in lib/openjp2/tcd.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service (heap-based buffer overflow affecting opj_mqc_flush in lib/openjp2/mqc.c and opj_t1_encode_cblk in lib/openjp2/t1.c) or possibly remote code execution.
- Record
CVE-2017-14151- Updated
- 2026-11-02
EUVDEUVD-2017-5662 No score
An off-by-one error was discovered in opj_tcd_code_block_enc_allocate_data in lib/openjp2/tcd.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service (heap-based buffer overflow affecting opj_mqc_flush in lib/openjp2/mqc.c and opj_t1_encode_cblk in lib/openjp2/t1.c) or possibly remote code execution.
- Record
EUVD-2017-5662- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-w8c7-459j-36p9
8.8
An off-by-one error was discovered in opj_tcd_code_block_enc_allocate_data in lib/openjp2/tcd.c...
An off-by-one error was discovered in opj_tcd_code_block_enc_allocate_data in lib/openjp2/tcd.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service (heap-based buffer overflow affecting opj_mqc_flush in lib/openjp2/mqc.c and opj_t1_encode_cblk in lib/openjp2/t1.c) or possibly remote code execution.
- Record
GHSA-w8c7-459j-36p9- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-14151
8.8
An off-by-one error was discovered in opj_tcd_code_block_enc_allocate_data in lib/openjp2/tcd.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service (heap-based buffer overflow affecting opj_mqc_flush in lib/openjp2/mqc.c and opj_t1_encode_cblk in lib/openjp2/t1.c) or possibly remote code execution.
- Record
ALPINE-CVE-2017-14151- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2017-14151
8.8
CVE-2017-14151 does not affect BellSoft software
- Record
BELL-CVE-2017-14151- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSV
8.8
An off-by-one error was discovered in opj_tcd_code_block_enc_allocate_data in lib/openjp2/tcd.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service (heap-based buffer overflow affecting opj_mqc_flush in lib/openjp2/mqc.c and opj_t1_encode_cblk in lib/openjp2/t1.c) or possibly remote code execution.
- Record
CVE-2017-14151- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-14151
8.8
An off-by-one error was discovered in opj_tcd_code_block_enc_allocate_data in lib/openjp2/tcd.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service (heap-based buffer overflow affecting opj_mqc_flush in lib/openjp2/mqc.c and opj_t1_encode_cblk in lib/openjp2/t1.c) or possibly remote code execution.
- Record
DEBIAN-CVE-2017-14151- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-14151
8.8
An off-by-one error was discovered in opj_tcd_code_block_enc_allocate_data in lib/openjp2/tcd.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service (heap-based buffer overflow affecting opj_mqc_flush in lib/openjp2/mqc.c and opj_t1_encode_cblk in lib/openjp2/t1.c) or possibly remote code execution.
- Record
UBUNTU-CVE-2017-14151- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/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
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
openjpegAlpine:v3.10 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.11 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.12 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.13 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.14 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.15 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.16 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.17 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.18 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.19 |
before 2.2.0-r2 | 2.2.0-r2 |
Show 17 moreShow less
| Package | Affected | Fixed |
|---|---|---|
openjpegAlpine:v3.20 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.21 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.22 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.23 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.24 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.3 |
before 2.2.0-r0 | 2.2.0-r0 |
openjpegAlpine:v3.4 |
before 2.2.0-r0 | 2.2.0-r0 |
openjpegAlpine:v3.5 |
before 2.2.0-r0 | 2.2.0-r0 |
openjpegAlpine:v3.6 |
before 2.2.0-r0 | 2.2.0-r0 |
openjpegAlpine:v3.7 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.8 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.9 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpeg2Debian:12 |
before 2.3.0-1 | 2.3.0-1 |
openjpeg2Debian:13 |
before 2.3.0-1 | 2.3.0-1 |
openjpeg2Debian:14 |
before 2.3.0-1 | 2.3.0-1 |
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 |
openjpeg2Ubuntu:18.04:LTS |
before 2.3.0-1, plus listed versions 2.2.0-1 |
2.3.0-1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| 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-2017-14151 is a high vulnerability (CVSS 8.8) in Uclouvain Openjpeg, published September 5, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.16%, the 92nd percentile. Fixed in openjpeg 2.2.0-r2.
References
github.com/uclouvain/openjpeg/issues/982
debian.org/security/2017/dsa-4013
securityfocus.com/bid/100633
github.com/uclouvain/openjpeg/commit/afb308b9ccbe129608c9205cf3bb39bbefad90b9
blogs.gentoo.org/ago/2017/08/16/openjpeg-heap-based-buffer-overflow-in-opj_mqc_flush-mqc-c
nvd.nist.gov/vuln/detail/CVE-2017-14151
Show 29 moreShow less
github.com/advisories/GHSA-w8c7-459j-36p9
security.alpinelinux.org/vuln/CVE-2017-14151
docs.bell-sw.com/security/cves/CVE-2017-14151
security-tracker.debian.org/tracker/CVE-2017-14151
ubuntu.com/security/CVE-2017-14151
cve.org/CVERecord?id=CVE-2017-14151
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