CVE-2017-14151
published 2017-09-05CVE-2017-14151: 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…
PriorityP347high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
5.16%
91.5th percentile
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.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | openjpeg2 | < openjpeg2 2.3.0-1 (bookworm) | openjpeg2 2.3.0-1 (bookworm) |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.3.0-1 | 2.3.0-1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.3.0-1 | 2.3.0-1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.3.0-1 | 2.3.0-1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.3.0-1 | 2.3.0-1 |
| uclouvain | openjpeg | — | — |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8HIGH
vendor_redhat8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
openjpeg: Heap-based buffer overflow in opj_mqc_flush in mqc.c
vendor_redhat·2017-08-20·CVSS 8.8
CVE-2017-14151 [HIGH] CWE-122 openjpeg: Heap-based buffer overflow in opj_mqc_flush in mqc.c
openjpeg: Heap-based buffer overflow in opj_mqc_flush in mqc.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.
Package: openjpeg (Red Hat Enterprise Linux 6) - Will not fix
Package: openjpeg (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2017-14151: openjpeg2 - An off-by-one error was discovered in opj_tcd_code_block_enc_allocate_data in li...
vendor_debian·2017·CVSS 8.8
CVE-2017-14151 [HIGH] CVE-2017-14151: openjpeg2 - An off-by-one error was discovered in opj_tcd_code_block_enc_allocate_data in li...
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.
Scope: local
bookworm: resolved (fixed in 2.3.0-1)
bullseye: resolved (fixed in 2.3.0-1)
forky: resolved (fixed in 2.3.0-1)
sid: resolved (fixed in 2.3.0-1)
trixie: resolved (fixed in 2.3.0-1)
GHSA
GHSA-w8c7-459j-36p9: An off-by-one error was discovered in opj_tcd_code_block_enc_allocate_data in lib/openjp2/tcd
ghsa_unreviewed·2022-05-13
CVE-2017-14151 [HIGH] CWE-119 GHSA-w8c7-459j-36p9: An off-by-one error was discovered in opj_tcd_code_block_enc_allocate_data in lib/openjp2/tcd
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.
OSV
CVE-2017-14151: An off-by-one error was discovered in opj_tcd_code_block_enc_allocate_data in lib/openjp2/tcd
osv·2017-09-05·CVSS 8.8
CVE-2017-14151 [HIGH] CVE-2017-14151: An off-by-one error was discovered in opj_tcd_code_block_enc_allocate_data in lib/openjp2/tcd
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-14151 CVE-2017-14152 openjpeg2: various flaws [fedora-all]
bugzilla·2017-08-31·CVSS 8.8
CVE-2017-14151 [HIGH] CVE-2017-14151 CVE-2017-14152 openjpeg2: various flaws [fedora-all]
CVE-2017-14151 CVE-2017-14152 openjpeg2: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora
Bugzilla
CVE-2017-14151 openjpeg: Heap-based buffer overflow in opj_mqc_flush in mqc.c
bugzilla·2017-08-31·CVSS 8.8
CVE-2017-14151 [HIGH] CVE-2017-14151 openjpeg: Heap-based buffer overflow in opj_mqc_flush in mqc.c
CVE-2017-14151 openjpeg: Heap-based buffer overflow in opj_mqc_flush in mqc.c
Heap-based buffer overflow vulnerability in the opj_mqc_flush function in mqc.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (application crash) via a crafted bmp file.
Upstream bug:
https://github.com/uclouvain/openjpeg/issues/982
Upstream patch:
https://github.com/uclouvain/openjpeg/commit/afb308b9ccbe129608c9205cf3bb39bbefad90b9
References:
https://bugs.mageia.org/show_bug.cgi?id=21572
https://blogs.gentoo.org/ago/2017/08/16/openjpeg-heap-based-buffer-overflow-in-opj_mqc_flush-mqc-c/
Discussion:
Created mingw-openjpeg tracking bugs for this issue:
Affects: fedora-all [bug 1487392]
Created mingw-openjpeg2 tracking bugs for this issue:
Affects: fedora-all [bug 148739
Bugzilla
CVE-2017-14151 CVE-2017-14152 openjpeg: various flaws [fedora-all]
bugzilla·2017-08-31·CVSS 8.8
CVE-2017-14151 [HIGH] CVE-2017-14151 CVE-2017-14152 openjpeg: various flaws [fedora-all]
CVE-2017-14151 CVE-2017-14152 openjpeg: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora.
Bugzilla
CVE-2017-14151 CVE-2017-14152 openjpeg2: various flaws [epel-all]
bugzilla·2017-08-31·CVSS 8.8
CVE-2017-14151 [HIGH] CVE-2017-14151 CVE-2017-14152 openjpeg2: various flaws [epel-all]
CVE-2017-14151 CVE-2017-14152 openjpeg2: various flaws [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora EPE
Bugzilla
CVE-2017-14151 CVE-2017-14152 mingw-openjpeg2: various flaws [fedora-all]
bugzilla·2017-08-31·CVSS 8.8
CVE-2017-14151 [HIGH] CVE-2017-14151 CVE-2017-14152 mingw-openjpeg2: various flaws [fedora-all]
CVE-2017-14151 CVE-2017-14152 mingw-openjpeg2: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of
Bugzilla
CVE-2017-14151 CVE-2017-14152 mingw-openjpeg: various flaws [fedora-all]
bugzilla·2017-08-31·CVSS 8.8
CVE-2017-14151 [HIGH] CVE-2017-14151 CVE-2017-14152 mingw-openjpeg: various flaws [fedora-all]
CVE-2017-14151 CVE-2017-14152 mingw-openjpeg: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of F
http://www.debian.org/security/2017/dsa-4013http://www.securityfocus.com/bid/100633https://blogs.gentoo.org/ago/2017/08/16/openjpeg-heap-based-buffer-overflow-in-opj_mqc_flush-mqc-c/https://github.com/uclouvain/openjpeg/commit/afb308b9ccbe129608c9205cf3bb39bbefad90b9https://github.com/uclouvain/openjpeg/issues/982http://www.debian.org/security/2017/dsa-4013http://www.securityfocus.com/bid/100633https://blogs.gentoo.org/ago/2017/08/16/openjpeg-heap-based-buffer-overflow-in-opj_mqc_flush-mqc-c/https://github.com/uclouvain/openjpeg/commit/afb308b9ccbe129608c9205cf3bb39bbefad90b9https://github.com/uclouvain/openjpeg/issues/982
2017-09-05
Published