{"id":"UBUNTU-CVE-2019-6988","details":"An issue was discovered in OpenJPEG 2.3.0. It allows remote attackers to cause a denial of service (attempted excessive memory allocation) in opj_calloc in openjp2/opj_malloc.c, when called from opj_tcd_init_tile in openjp2/tcd.c, as demonstrated by the 64-bit opj_decompress.","modified":"2026-05-20T16:04:00.451484250Z","published":"2019-01-28T16:29:00Z","upstream":["CVE-2019-6988"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-6988"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-6988"},{"type":"REPORT","url":"https://github.com/uclouvain/openjpeg/issues/1178#issuecomment-1789970548"}],"affected":[{"package":{"name":"ghostscript","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/ghostscript?arch=source&distro=esm-infra%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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","9.26~dfsg+0-0ubuntu0.16.04.14","9.26~dfsg+0-0ubuntu0.16.04.14+esm1","9.26~dfsg+0-0ubuntu0.16.04.14+esm2","9.26~dfsg+0-0ubuntu0.16.04.14+esm3","9.26~dfsg+0-0ubuntu0.16.04.14+esm4","9.26~dfsg+0-0ubuntu0.16.04.14+esm5","9.26~dfsg+0-0ubuntu0.16.04.14+esm6","9.26~dfsg+0-0ubuntu0.16.04.14+esm7","9.26~dfsg+0-0ubuntu0.16.04.14+esm8","9.26~dfsg+0-0ubuntu0.16.04.14+esm9","9.26~dfsg+0-0ubuntu0.16.04.14+esm10"],"ecosystem_specific":{"binaries":[{"binary_version":"9.26~dfsg+0-0ubuntu0.16.04.14+esm10","binary_name":"ghostscript"},{"binary_version":"9.26~dfsg+0-0ubuntu0.16.04.14+esm10","binary_name":"ghostscript-x"},{"binary_version":"9.26~dfsg+0-0ubuntu0.16.04.14+esm10","binary_name":"libgs9"},{"binary_version":"9.26~dfsg+0-0ubuntu0.16.04.14+esm10","binary_name":"libgs9-common"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-6988.json"}},{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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","2.1.2-1.1+deb9u6ubuntu0.1~esm1","2.1.2-1.1+deb9u6ubuntu0.1~esm3","2.1.2-1.1+deb9u6ubuntu0.1~esm4","2.1.2-1.1+deb9u6ubuntu0.1~esm6","2.1.2-1.1+deb9u6ubuntu0.1~esm7"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm7","binary_name":"libopenjp2-7"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm7","binary_name":"libopenjp2-tools"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm7","binary_name":"libopenjp3d-tools"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm7","binary_name":"libopenjp3d7"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm7","binary_name":"libopenjpip-dec-server"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm7","binary_name":"libopenjpip-server"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm7","binary_name":"libopenjpip-viewer"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm7","binary_name":"libopenjpip7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-6988.json"}},{"package":{"name":"ghostscript","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/ghostscript?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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","9.26~dfsg+0-0ubuntu0.18.04.14","9.26~dfsg+0-0ubuntu0.18.04.15","9.26~dfsg+0-0ubuntu0.18.04.16","9.26~dfsg+0-0ubuntu0.18.04.17","9.26~dfsg+0-0ubuntu0.18.04.18","9.26~dfsg+0-0ubuntu0.18.04.18+esm1","9.26~dfsg+0-0ubuntu0.18.04.18+esm2","9.26~dfsg+0-0ubuntu0.18.04.18+esm3","9.26~dfsg+0-0ubuntu0.18.04.18+esm4","9.26~dfsg+0-0ubuntu0.18.04.18+esm5"],"ecosystem_specific":{"binaries":[{"binary_version":"9.26~dfsg+0-0ubuntu0.18.04.18+esm5","binary_name":"ghostscript"},{"binary_version":"9.26~dfsg+0-0ubuntu0.18.04.18+esm5","binary_name":"ghostscript-x"},{"binary_version":"9.26~dfsg+0-0ubuntu0.18.04.18+esm5","binary_name":"libgs9"},{"binary_version":"9.26~dfsg+0-0ubuntu0.18.04.18+esm5","binary_name":"libgs9-common"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-6988.json"}},{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0-1","2.3.0-1","2.3.0-2build0.18.04.1","2.3.0-2ubuntu0.1~esm1","2.3.0-2+deb10u2build0.18.04.1","2.3.0-2+deb10u2ubuntu0.1~esm1","2.3.0-2+deb10u2ubuntu0.1~esm2","2.3.0-2+deb10u2ubuntu0.1~esm3","2.3.0-2+deb10u2ubuntu0.1~esm4","2.3.0-2+deb10u2ubuntu0.1~esm5"],"ecosystem_specific":{"binaries":[{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm5","binary_name":"libopenjp2-7"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm5","binary_name":"libopenjp2-tools"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm5","binary_name":"libopenjp3d-tools"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm5","binary_name":"libopenjp3d7"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm5","binary_name":"libopenjpip-dec-server"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm5","binary_name":"libopenjpip-server"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm5","binary_name":"libopenjpip-viewer"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm5","binary_name":"libopenjpip7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-6988.json"}},{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.0-2","2.3.0-2build1","2.3.1-1","2.3.1-1ubuntu3","2.3.1-1ubuntu4","2.3.1-1ubuntu4.20.04.1","2.3.1-1ubuntu4.20.04.2","2.3.1-1ubuntu4.20.04.3","2.3.1-1ubuntu4.20.04.4","2.3.1-1ubuntu4.20.04.4+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.3.1-1ubuntu4.20.04.4+esm1","binary_name":"libopenjp2-7"},{"binary_version":"2.3.1-1ubuntu4.20.04.4+esm1","binary_name":"libopenjp2-tools"},{"binary_version":"2.3.1-1ubuntu4.20.04.4+esm1","binary_name":"libopenjp3d-tools"},{"binary_version":"2.3.1-1ubuntu4.20.04.4+esm1","binary_name":"libopenjp3d7"},{"binary_version":"2.3.1-1ubuntu4.20.04.4+esm1","binary_name":"libopenjpip-dec-server"},{"binary_version":"2.3.1-1ubuntu4.20.04.4+esm1","binary_name":"libopenjpip-server"},{"binary_version":"2.3.1-1ubuntu4.20.04.4+esm1","binary_name":"libopenjpip-viewer"},{"binary_version":"2.3.1-1ubuntu4.20.04.4+esm1","binary_name":"libopenjpip7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-6988.json"}},{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.1-1ubuntu5","2.3.1-1ubuntu6","2.4.0-3","2.4.0-5","2.4.0-6","2.4.0-6ubuntu0.1","2.4.0-6ubuntu0.2","2.4.0-6ubuntu0.3","2.4.0-6ubuntu0.4","2.4.0-6ubuntu0.5"],"ecosystem_specific":{"binaries":[{"binary_version":"2.4.0-6ubuntu0.5","binary_name":"libopenjp2-7"},{"binary_version":"2.4.0-6ubuntu0.5","binary_name":"libopenjp2-tools"},{"binary_version":"2.4.0-6ubuntu0.5","binary_name":"libopenjp3d-tools"},{"binary_version":"2.4.0-6ubuntu0.5","binary_name":"libopenjp3d7"},{"binary_version":"2.4.0-6ubuntu0.5","binary_name":"libopenjpip-dec-server"},{"binary_version":"2.4.0-6ubuntu0.5","binary_name":"libopenjpip-server"},{"binary_version":"2.4.0-6ubuntu0.5","binary_name":"libopenjpip-viewer"},{"binary_version":"2.4.0-6ubuntu0.5","binary_name":"libopenjpip7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-6988.json"}},{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.0-2","2.5.0-2build2","2.5.0-2build3","2.5.0-2ubuntu0.1","2.5.0-2ubuntu0.2","2.5.0-2ubuntu0.3","2.5.0-2ubuntu0.4","2.5.0-2ubuntu0.5"],"ecosystem_specific":{"binaries":[{"binary_version":"2.5.0-2ubuntu0.5","binary_name":"libopenjp2-7"},{"binary_version":"2.5.0-2ubuntu0.5","binary_name":"libopenjp2-tools"},{"binary_version":"2.5.0-2ubuntu0.5","binary_name":"libopenjpip-dec-server"},{"binary_version":"2.5.0-2ubuntu0.5","binary_name":"libopenjpip-server"},{"binary_version":"2.5.0-2ubuntu0.5","binary_name":"libopenjpip-viewer"},{"binary_version":"2.5.0-2ubuntu0.5","binary_name":"libopenjpip7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-6988.json"}},{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/openjpeg2?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.3-2","2.5.3-2.1","2.5.3-2.1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.5.3-2.1ubuntu0.1","binary_name":"libopenjp2-7"},{"binary_version":"2.5.3-2.1ubuntu0.1","binary_name":"libopenjp2-tools"},{"binary_version":"2.5.3-2.1ubuntu0.1","binary_name":"libopenjpip-dec-server"},{"binary_version":"2.5.3-2.1ubuntu0.1","binary_name":"libopenjpip-viewer"},{"binary_version":"2.5.3-2.1ubuntu0.1","binary_name":"libopenjpip7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-6988.json"}},{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.3-2.1","2.5.4-1","2.5.4-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.5.4-1ubuntu0.1","binary_name":"libopenjp2-7"},{"binary_version":"2.5.4-1ubuntu0.1","binary_name":"libopenjp2-tools"},{"binary_version":"2.5.4-1ubuntu0.1","binary_name":"libopenjpip-dec-server"},{"binary_version":"2.5.4-1ubuntu0.1","binary_name":"libopenjpip-viewer"},{"binary_version":"2.5.4-1ubuntu0.1","binary_name":"libopenjpip7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-6988.json"}}],"schema_version":"1.7.5","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":"low"}]}