{"id":"UBUNTU-CVE-2018-5727","details":"In OpenJPEG 2.3.0, there is an integer overflow vulnerability in the opj_t1_encode_cblks function (openjp2/t1.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.","modified":"2026-02-04T03:31:23.784751Z","published":"2018-01-16T22:29:00Z","related":["USN-4686-1","USN-4782-1"],"upstream":["CVE-2018-5727"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-5727"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4686-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4782-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-5727"}],"affected":[{"package":{"name":"openjpeg","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/openjpeg@1.3+dfsg-4.7ubuntu1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3+dfsg-4.6ubuntu2","1.3+dfsg-4.7ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libopenjpeg-dev","binary_version":"1.3+dfsg-4.7ubuntu1"},{"binary_name":"libopenjpeg2","binary_version":"1.3+dfsg-4.7ubuntu1"},{"binary_name":"openjpeg-tools","binary_version":"1.3+dfsg-4.7ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-5727.json"}},{"package":{"name":"ghostscript","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ghostscript@9.26~dfsg+0-0ubuntu0.16.04.14?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.26~dfsg+0-0ubuntu0.16.04.14"}]}],"versions":["9.16~dfsg~0-0ubuntu3","9.16~dfsg~0-0ubuntu4","9.18~dfsg~0-0ubuntu1","9.18~dfsg~0-0ubuntu2","9.18~dfsg~0-0ubuntu2.2","9.18~dfsg~0-0ubuntu2.3","9.18~dfsg~0-0ubuntu2.4","9.18~dfsg~0-0ubuntu2.6","9.18~dfsg~0-0ubuntu2.7","9.18~dfsg~0-0ubuntu2.8","9.18~dfsg~0-0ubuntu2.9","9.25~dfsg+1-0ubuntu0.16.04.1","9.25~dfsg+1-0ubuntu0.16.04.2","9.25~dfsg+1-0ubuntu0.16.04.3","9.26~dfsg+0-0ubuntu0.16.04.1","9.26~dfsg+0-0ubuntu0.16.04.3","9.26~dfsg+0-0ubuntu0.16.04.4","9.26~dfsg+0-0ubuntu0.16.04.5","9.26~dfsg+0-0ubuntu0.16.04.6","9.26~dfsg+0-0ubuntu0.16.04.7","9.26~dfsg+0-0ubuntu0.16.04.8","9.26~dfsg+0-0ubuntu0.16.04.9","9.26~dfsg+0-0ubuntu0.16.04.10","9.26~dfsg+0-0ubuntu0.16.04.11","9.26~dfsg+0-0ubuntu0.16.04.12","9.26~dfsg+0-0ubuntu0.16.04.13"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"ghostscript","binary_version":"9.26~dfsg+0-0ubuntu0.16.04.14"},{"binary_name":"ghostscript-x","binary_version":"9.26~dfsg+0-0ubuntu0.16.04.14"},{"binary_name":"libgs-dev","binary_version":"9.26~dfsg+0-0ubuntu0.16.04.14"},{"binary_name":"libgs9","binary_version":"9.26~dfsg+0-0ubuntu0.16.04.14"},{"binary_name":"libgs9-common","binary_version":"9.26~dfsg+0-0ubuntu0.16.04.14"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-5727.json"}},{"package":{"name":"openjpeg","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/openjpeg@1:1.5.2-3.1ubuntu0.1~esm2?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.5.2-3.1","1:1.5.2-3.1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libopenjpeg-dev","binary_version":"1:1.5.2-3.1ubuntu0.1~esm2"},{"binary_name":"libopenjpeg-java","binary_version":"1:1.5.2-3.1ubuntu0.1~esm2"},{"binary_name":"libopenjpeg5","binary_version":"1:1.5.2-3.1ubuntu0.1~esm2"},{"binary_name":"openjpeg-tools","binary_version":"1:1.5.2-3.1ubuntu0.1~esm2"},{"binary_name":"openjpip-dec-server","binary_version":"1:1.5.2-3.1ubuntu0.1~esm2"},{"binary_name":"openjpip-server","binary_version":"1:1.5.2-3.1ubuntu0.1~esm2"},{"binary_name":"openjpip-viewer","binary_version":"1:1.5.2-3.1ubuntu0.1~esm2"},{"binary_name":"openjpip-viewer-xerces","binary_version":"1:1.5.2-3.1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-5727.json"}},{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2@2.1.2-1.1+deb9u6ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.2-1.1+deb9u6ubuntu0.1~esm1"}]}],"versions":["2.1.0-2.1","2.1.0-2.1ubuntu0.1","2.1.2-1.1+deb9u2build0.1","2.1.2-1.1+deb9u3build0.16.04.1","2.1.2-1.1+deb9u3ubuntu0.1~esm1","2.1.2-1.1+deb9u5build0.16.04.1","2.1.2-1.1+deb9u5ubuntu0.1~esm1","2.1.2-1.1+deb9u6build0.16.04.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libopenjp2-7","binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm1"},{"binary_name":"libopenjp2-7-dev","binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm1"},{"binary_name":"libopenjp2-tools","binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm1"},{"binary_name":"libopenjp3d-tools","binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm1"},{"binary_name":"libopenjp3d7","binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm1"},{"binary_name":"libopenjpip-dec-server","binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm1"},{"binary_name":"libopenjpip-server","binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm1"},{"binary_name":"libopenjpip-viewer","binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm1"},{"binary_name":"libopenjpip7","binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-5727.json"}},{"package":{"name":"ghostscript","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ghostscript@9.26~dfsg+0-0ubuntu0.18.04.14?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.26~dfsg+0-0ubuntu0.18.04.14"}]}],"versions":["9.21~dfsg+1-0ubuntu3","9.22~dfsg+1-0ubuntu1","9.22~dfsg+1-0ubuntu1.1","9.22~dfsg+1-0ubuntu1.2","9.25~dfsg+1-0ubuntu0.18.04.1","9.25~dfsg+1-0ubuntu0.18.04.2","9.26~dfsg+0-0ubuntu0.18.04.1","9.26~dfsg+0-0ubuntu0.18.04.3","9.26~dfsg+0-0ubuntu0.18.04.4","9.26~dfsg+0-0ubuntu0.18.04.5","9.26~dfsg+0-0ubuntu0.18.04.6","9.26~dfsg+0-0ubuntu0.18.04.7","9.26~dfsg+0-0ubuntu0.18.04.8","9.26~dfsg+0-0ubuntu0.18.04.9","9.26~dfsg+0-0ubuntu0.18.04.10","9.26~dfsg+0-0ubuntu0.18.04.11","9.26~dfsg+0-0ubuntu0.18.04.12","9.26~dfsg+0-0ubuntu0.18.04.13"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"ghostscript","binary_version":"9.26~dfsg+0-0ubuntu0.18.04.14"},{"binary_name":"ghostscript-x","binary_version":"9.26~dfsg+0-0ubuntu0.18.04.14"},{"binary_name":"libgs-dev","binary_version":"9.26~dfsg+0-0ubuntu0.18.04.14"},{"binary_name":"libgs9","binary_version":"9.26~dfsg+0-0ubuntu0.18.04.14"},{"binary_name":"libgs9-common","binary_version":"9.26~dfsg+0-0ubuntu0.18.04.14"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-5727.json"}},{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2@2.3.0-2ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-2ubuntu0.1~esm1"}]}],"versions":["2.2.0-1","2.3.0-1","2.3.0-2build0.18.04.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libopenjp2-7","binary_version":"2.3.0-2ubuntu0.1~esm1"},{"binary_name":"libopenjp2-7-dev","binary_version":"2.3.0-2ubuntu0.1~esm1"},{"binary_name":"libopenjp2-tools","binary_version":"2.3.0-2ubuntu0.1~esm1"},{"binary_name":"libopenjp3d-tools","binary_version":"2.3.0-2ubuntu0.1~esm1"},{"binary_name":"libopenjp3d7","binary_version":"2.3.0-2ubuntu0.1~esm1"},{"binary_name":"libopenjpip-dec-server","binary_version":"2.3.0-2ubuntu0.1~esm1"},{"binary_name":"libopenjpip-server","binary_version":"2.3.0-2ubuntu0.1~esm1"},{"binary_name":"libopenjpip-viewer","binary_version":"2.3.0-2ubuntu0.1~esm1"},{"binary_name":"libopenjpip7","binary_version":"2.3.0-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-5727.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"negligible"}]}