{"id":"UBUNTU-CVE-2017-14164","details":"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.","modified":"2025-09-08T16:44:26Z","published":"2017-09-06T18:29:00Z","upstream":["CVE-2017-14164"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-14164"},{"type":"REPORT","url":"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/"},{"type":"REPORT","url":"https://github.com/uclouvain/openjpeg/commit/dcac91b8c72f743bda7dbfa9032356bc8110098a"},{"type":"REPORT","url":"https://github.com/uclouvain/openjpeg/issues/991"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-14164"}],"affected":[{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2@2.1.2-1.1+deb9u2build0.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.2-1.1+deb9u2build0.1"}]}],"versions":["2.1.0-2.1","2.1.0-2.1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.1.2-1.1+deb9u2build0.1","binary_name":"libopenjp2-7"},{"binary_version":"2.1.2-1.1+deb9u2build0.1","binary_name":"libopenjp2-7-dev"},{"binary_version":"2.1.2-1.1+deb9u2build0.1","binary_name":"libopenjp2-tools"},{"binary_version":"2.1.2-1.1+deb9u2build0.1","binary_name":"libopenjp3d-tools"},{"binary_version":"2.1.2-1.1+deb9u2build0.1","binary_name":"libopenjp3d7"},{"binary_version":"2.1.2-1.1+deb9u2build0.1","binary_name":"libopenjpip-dec-server"},{"binary_version":"2.1.2-1.1+deb9u2build0.1","binary_name":"libopenjpip-server"},{"binary_version":"2.1.2-1.1+deb9u2build0.1","binary_name":"libopenjpip-viewer"},{"binary_version":"2.1.2-1.1+deb9u2build0.1","binary_name":"libopenjpip7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-14164.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}