CVE-2017-14151
Last modified
CVE-2017-14151 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. EPSS estimates a 5.16% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Uclouvain | Openjpeg | 2.2.0 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
References
- http://www.debian.org/security/2017/dsa-4013Third Party Advisory
- http://www.securityfocus.com/bid/100633Third Party Advisory, VDB Entry
- https://blogs.gentoo.org/ago/2017/08/16/openjpeg-heap-based-buffer-overflow-in-opj_mqc_flush-mqc-c/Patch, Third Party Advisory, VDB Entry
- https://github.com/uclouvain/openjpeg/commit/afb308b9ccbe129608c9205cf3bb39bbefad90b9Issue Tracking, Patch, Third Party Advisory
- https://github.com/uclouvain/openjpeg/issues/982Issue Tracking, Patch, Third Party Advisory
- http://www.debian.org/security/2017/dsa-4013Third Party Advisory
- http://www.securityfocus.com/bid/100633Third Party Advisory, VDB Entry
- https://blogs.gentoo.org/ago/2017/08/16/openjpeg-heap-based-buffer-overflow-in-opj_mqc_flush-mqc-c/Patch, Third Party Advisory, VDB Entry
- https://github.com/uclouvain/openjpeg/commit/afb308b9ccbe129608c9205cf3bb39bbefad90b9Issue Tracking, Patch, Third Party Advisory
- https://github.com/uclouvain/openjpeg/issues/982Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-14151?
How severe is CVE-2017-14151?
How do I fix CVE-2017-14151?
Are you affected by CVE-2017-14151?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
