CVE-2017-14164
The vulnerability causes an out-of-bounds write, which may lead to remote denial of service (heap-based buffer overflow affecting opj_write_bytes_LE in lib/openjp2/cio.c) or possibly remote code execution.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (5.44%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
A size-validation issue was discovered in opj_j2k_write_sot in lib/openjp2/j2k.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_write_bytes_LE in lib/openjp2/cio.c) or possibly remote code execution. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-14152.
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 5.44% probability · 92th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-119, CWE-787
- Affected
- uclouvain/openjpeg
- Source
- cve@mitre.org
References
- http://www.securityfocus.com/bid/100677Third Party Advisory, VDB Entry
- https://blogs.gentoo.org/ago/2017/09/06/heap-based-buffer-overflow-in-opj_write_bytes_le-cio-c-incomplete-fix-for-cve-2017-14152/Patch, Third Party Advisory, VDB Entry
- https://github.com/uclouvain/openjpeg/commit/dcac91b8c72f743bda7dbfa9032356bc8110098aExploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/uclouvain/openjpeg/issues/991Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201710-26Third Party Advisory
- http://www.securityfocus.com/bid/100677Third Party Advisory, VDB Entry
- https://blogs.gentoo.org/ago/2017/09/06/heap-based-buffer-overflow-in-opj_write_bytes_le-cio-c-incomplete-fix-for-cve-2017-14152/Patch, Third Party Advisory, VDB Entry
- https://github.com/uclouvain/openjpeg/commit/dcac91b8c72f743bda7dbfa9032356bc8110098aExploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/uclouvain/openjpeg/issues/991Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201710-26Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.