Vulnerability record · CVE-2017-14151 · published 5 September 2017
CVE-2017-14151: Uclouvain openjpeg memory buffer overflow vulnerability
UUclouvain · Openjpeg
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.
Description
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://www.debian.org/security/2017/dsa-4013 | Third Party Advisory |
| http://www.securityfocus.com/bid/100633 | Third Party AdvisoryVDB Entry |
| https://blogs.gentoo.org/ago/2017/08/16/openjpeg-heap-based-buffer-overflow-in-opj_mqc_flush-mqc-c/ | PatchThird Party AdvisoryVDB Entry |
| https://github.com/uclouvain/openjpeg/commit/afb308b9ccbe129608c9205cf3bb39bbefad90b9 | Issue TrackingPatchThird Party Advisory |
| https://github.com/uclouvain/openjpeg/issues/982 | Issue TrackingPatchThird Party Advisory |
| http://www.debian.org/security/2017/dsa-4013 | Third Party Advisory |
| http://www.securityfocus.com/bid/100633 | Third Party AdvisoryVDB Entry |
| https://blogs.gentoo.org/ago/2017/08/16/openjpeg-heap-based-buffer-overflow-in-opj_mqc_flush-mqc-c/ | PatchThird Party AdvisoryVDB Entry |
| https://github.com/uclouvain/openjpeg/commit/afb308b9ccbe129608c9205cf3bb39bbefad90b9 | Issue TrackingPatchThird Party Advisory |
| https://github.com/uclouvain/openjpeg/issues/982 | Issue TrackingPatchThird Party Advisory |
Track CVE-2017-14151 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2017-14151), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.