{"id":"UBUNTU-CVE-2016-8332","details":"A buffer overflow in OpenJPEG 2.1.1 causes arbitrary code execution when parsing a crafted image. An exploitable code execution vulnerability exists in the jpeg2000 image file format parser as implemented in the OpenJpeg library. A specially crafted jpeg2000 file can cause an out of bound heap write resulting in heap corruption leading to arbitrary code execution. For a successful attack, the target user needs to open a malicious jpeg2000 file. The jpeg2000 image file format is mostly used for embedding images inside PDF documents and the OpenJpeg library is used by a number of popular PDF renderers making PDF documents a likely attack vector.","modified":"2026-04-22T11:00:48.413318Z","published":"2016-10-28T14:59:00Z","upstream":["CVE-2016-8332"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-8332"},{"type":"REPORT","url":"http://www.talosintelligence.com/reports/TALOS-2016-0193/"},{"type":"REPORT","url":"https://github.com/uclouvain/openjpeg/pull/820"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-8332"}],"affected":[{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2@2.1.0-2.1ubuntu0.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-2.1ubuntu0.1"}]}],"versions":["2.1.0-2.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libopenjp2-7","binary_version":"2.1.0-2.1ubuntu0.1"},{"binary_name":"libopenjp2-tools","binary_version":"2.1.0-2.1ubuntu0.1"},{"binary_name":"libopenjp3d-tools","binary_version":"2.1.0-2.1ubuntu0.1"},{"binary_name":"libopenjp3d7","binary_version":"2.1.0-2.1ubuntu0.1"},{"binary_version":"2.1.0-2.1ubuntu0.1","binary_name":"libopenjpip-dec-server"},{"binary_name":"libopenjpip-server","binary_version":"2.1.0-2.1ubuntu0.1"},{"binary_name":"libopenjpip-viewer","binary_version":"2.1.0-2.1ubuntu0.1"},{"binary_name":"libopenjpip7","binary_version":"2.1.0-2.1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-8332.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}