{"id":"UBUNTU-CVE-2017-14152","details":"A mishandled zero case was discovered in opj_j2k_set_cinema_parameters 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 and opj_j2k_write_sot in lib/openjp2/j2k.c) or possibly remote code execution.","modified":"2026-04-22T12:05:20.008341Z","published":"2017-09-05T16:29:00Z","upstream":["CVE-2017-14152"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-14152"},{"type":"REPORT","url":"https://blogs.gentoo.org/ago/2017/08/16/openjpeg-heap-based-buffer-overflow-in-opj_write_bytes_le-cio-c/"},{"type":"REPORT","url":"https://github.com/uclouvain/openjpeg/commit/4241ae6fbbf1de9658764a80944dc8108f2b4154"},{"type":"REPORT","url":"https://github.com/uclouvain/openjpeg/issues/985"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-14152"}],"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-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-14152.json"}}],"schema_version":"1.7.5","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":"medium"}]}